403 Errors after moving WP to root folder
-
Hi there,
Like many others, I was developing a WP site in a site’s subfolder and now that I’m ready to go live, I attempted to move WP to the site’s root folder. I followed the steps outlined in the Codex, and initially everything seemed to work well. However, once I enabled permalinks, all of my pages, other than the Homepage, give me a 403 Forbidden error. Again, the homepage loads fine, and if I turn off permalinks, the site works as expected.
I’m running:
– WordPress 3.2.1
– PHP 5.2.14
– permissions are set to 644 for files and 755 for foldersA few things I’ve already tried:
1. Verified wordpress, site address and upload folders are set correctly to the root folder.
2. Make sure the .htaccess file is in the root folder and review the contents. They seem to match up with what I’ve found on the web. Additionally, I’ve tried deleting/creating a new .htaccess with no luck.
3. Check the permissions on the wp-config.php file, the .htaccess file, the wp-content and wp-admin folders. For the folders, I tried changing the permissions to 777.
4. Checked the wp-config.php file to make sure it’s using the root folder as the basepath:
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);5. Also tried adding Options +FollowSymLinks to my .htaccess file.
6. Tried deactivating all plug-ins and resetting to original theme.
7. I even tried to change the GUID field in the posts table for a few of my pages where I saw the subfolder name being used. This didn’t have any effect either.
Again, before moving the site to the root folder, permalinks were working just fine. Now, only the default ‘ugly’ permalinks work.
Anything else I might have missed? I’d really appreciate the help.
Thanks in advance!
- The topic ‘403 Errors after moving WP to root folder’ is closed to new replies.