WordPress Subfolder Issues
-
Hi, I just uploaded the wordpress files to mydomain.com/staging subfolder. And I added a .htaccess file in the /staging subfolder that contains the following:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>But when I go to mydomain.com/staging, I get the directory listing. And when I actually go to wp-login.php, it is not styled. Looking at the <link> tags it looks like the styles are trying to pull from mydomain.com instead of mydomain.com/staging.
How do I fix this, so when I go to mydomain.com/staging I get a normal wordpress site?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘WordPress Subfolder Issues’ is closed to new replies.