• Hi,

    I’ve searched this forum and tried many solutions offered but I still have this tricky problem. Please help.

    On my server I have two WP instances installed in separate directories, each with their own database.

    /var/www/site1
    /var/www/site2

    The homepage of site1 is actually at https://nnn.nnn.nnn.nnn
    but site2 is at https://nnn.nnn.nnn.nnn/site2

    All works OK except if I enable the permalinks to anything other than the default. What happens is a 404 error.

    mod_rewrite is enabled, .htaccess is writable by WP (666), the AllowOverride directive is All. Here’s my .htaccess from the / directory.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    I would like to have site1 posts linked at baseurl/postname, but even if it is baseurl/site1/postname this would be an improvement over the dreaded 404 error.

    Can anyone help please?

Viewing 1 replies (of 1 total)
  • Thread Starter m_r_v

    (@m_r_v)

    I’ve also very thoroughly checked everything twice. But still no joy. Any ideas please?

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks, 404, Multiple installs, One server’ is closed to new replies.