.htaccess "HTTP Error 403 – Forbidden"
-
Hi everyone,
Im having some problems moving my wordpress site to the production server. I have it running well in the my computer, and to pass it to the production server, I have sent all files from my local wordpress installation, lets say it is in a directory called wp1 ( accessible in https://localhost/wp1 ).
After sending all files to the production server, restoring a backup of the database to the production server, editing the wp-config.php with the server definitions, Im always getting the same “403 forbidden”.
In the new server, the wordpress installation is in the directory called wp2, so to access it I should have to type the address https://www.realserver.com/wp2/ and for that I have this htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp2
#RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp2/index.php [L]
</IfModule># END WordPress
—-
Anyone know what could be the problem?
Thank you in advance,
Nuno
- The topic ‘.htaccess "HTTP Error 403 – Forbidden"’ is closed to new replies.