403 Forbidden Error issue..WTF

efeezy

New member
Oct 5, 2007
5,250
136
0
50
Ok, now I have no idea how the fuck to fix this.

When my site pulls up in Google or Yahoo, and you click on the link, it pulls up a "Forbidden 303 Error" + a "500 Internal Server Error" at the same time.

However when you just type in the domain name in the url bar, it resolves fine and goes right to the site.

So anyone trying to get to my site from Google search results, isn't going to make it. What the hell is going on and how do I fix this?
 


If I had to guess on such little information (maybe check your error log) I Would say that you got some kind of .htaccess blocking http_refferer from google/yahoo. So check for an .htaccess in your site's root and see if it has any kind of rewrite conditions for coming from a search engine.

If It does not, try observing your webserver's error log to see where it shows a "Forbbiden by Rule" type of error.
 
I forgot to mention that it's doing this for all addon domains on the hosting account as well, not just the primary domain. That's what's making me think there's a bigger issue.

I'll double check htaccess and see if I spot anything on each domain.

edit: I found this in htaccess for each domain

<Files 403.shtml>order allow,denyallow from all</Files>

Not sure how the hell that got in there, but I'm assuming that might be part of the issue.