WordPress Installation in Subfolder only works half

Question

Hello I need to pick your brains here. So one of my projects went live a long time ago. The customer then asked me to build a second project which was supposed to be go live on a different domain. Not they aske dme to upload the project into a subfolder of their root. Everything is fine, I can access the admin and stuff, but the moment I open a blog post for example or navigate to one of the pages on their subfolder it automatically redirects me to the main domain.

I have checked the .htaccess which looks fine to me

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /nameofnewsite/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /nameofnewsite/index.php [L]
</IfModule>
# END WordPress
0
, mad2kx 3 years 2020-08-25T09:10:42-05:00 0 Answers 49 views 0

Leave an answer

Browse
Browse