• Hello,

    So I have WordPress installed in a subfolder /wp/, because we had Joomla in the root folder as the main website. I deleted Joomla, and decided to have WordPress as the main site while leaving WordPress in it’s subfolder. ( I think that’s a more clean set up anyways).
    I followed this instructions.

    It was working fine, and today all pages decided to give me a 404 error. The only thing that changed today was that I installed Moodle. But that was installed in a completely different folder. However, it is a subdomain. But I’m not sure if that’s the issue.

    I also tried updating permalinks.

    htaccess in the root folder is like this:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>

    And htaccess in the subfolder didn’t have that.

    Any help is appreciated.

    • This topic was modified 5 years, 7 months ago by gaboneta.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress in Subfolder’ is closed to new replies.