403 Forbidden Error on Wordpress Site

efeezy

New member
Oct 5, 2007
5,250
136
0
50
Here's the background. I take care of a friends Wordpress site for him, which is hosted on another guys server. Well the other guy accidentally deleted the wp database for my friends site which we all know is a bad thing and is going to make my life miserable. However even after creating a new database the site is getting a 403 Forbidden error for any URL you try to access on it.

I've checked .htaccess and stripped it clean and that didn't help. I don't see any CHMOD access issues. I have access to the main CPanel for the host domain but I don't have WHM access to the server. I haven't tried backing everything up, wiping the WP install and starting over clean, but I'm out of ideas on how to fix this thing. Any suggestions for other things to check. I appreciate it. I'm happy to give out a URL if it helps.
 


You might try disabling all plugins. Go into the CPANEL and rename the plugins directory to plugins-off or similar.

Also try accessing the site with http://sitename/wp-login.php and see if you get the same results. The login url skips some logic that the user facing pages use.

It's also possible that your friend changed the domain from a hosted domain to a forwarded domain or similar. Check the various "domain" settings in the CPANEL.
 
You might try disabling all plugins. Go into the CPANEL and rename the plugins directory to plugins-off or similar.

Also try accessing the site with http://sitename/wp-login.php and see if you get the same results. The login url skips some logic that the user facing pages use.

It's also possible that your friend changed the domain from a hosted domain to a forwarded domain or similar. Check the various "domain" settings in the CPANEL.

Thanks. Let me take a look at those and see if anything looks strange.
 
You might try disabling all plugins. Go into the CPANEL and rename the plugins directory to plugins-off or similar.

Due that first. You would be surpised that some plugin has an issue with cpane;.
 
Yeah disable plugins, maybe a caching plugin is killing it. Also stripping .htaccess clean probably isn't good if the blog had "SEO friendly" URL rewrites enabled.
 
Ok tried renaming the plugin folder and it didn't do anything.


Yeah disable plugins, maybe a caching plugin is killing it. Also stripping .htaccess clean probably isn't good if the blog had "SEO friendly" URL rewrites enabled.

I stripped htaccess clean just to test, then just left the WP stuff in it. Neither helped. I just backed up the entire directory, deleted everything, did a clean WP install and I'm still getting the 403. I'm now wondering if it's on the domain registrar side. Maybe some DNS settings got changed.

It's just a strange coincidence that this is happening after the guy deletes the Wordpress database. You would think just a clean WP install would fix any of these issues. There's something else going on here. The url is http://www.greencash4cars.com.
 
Looks like I got it figured out. Not sure what was causing the 403 still, but there was an old Fantastico version of WP still in the .fantasticodata file, so it wouldn't accept a new WP install. Got rid of that and was able to install WP new. Doesn't do anything for the fact that the original database was deleted and I'm still fucked building everything from scratch, but at least I can access the site now.
 
Only took you half a day. Congrats. I hate little issues like this, slows down my flow.

No shit. I seriously didn't need this project today, especially since I'm not expecting to make a dime from it.