Installing WP in subdirectory – 404 error
-
Hi, I’m trying to upload a local wordpress site to a subdirectory. I’m already running a static site on the root of this server. I uploaded everything to the subdirectory, edited the config file with the new database I created, imported my saved local database tables, and changed the site address and site home in phpMyAdmin.
But now the subdirectory in question throws a 404 error. I can’t access the site or the backend. I’m not sure what the problem is, but it might be the .htaccess, which is in the root at the moment and reads:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /devaleras/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /devaleras/index.php [L]
</IfModule># END WordPress
…where /devaleras/ is the subdirectory in question.
Any idea what might be the problem here? I’d appreciate any help at all on this.
The topic ‘Installing WP in subdirectory – 404 error’ is closed to new replies.