Mod_rewrite and 403 errors solution for Hostway

Posted by Quentin Rademaker on Sun, Mar 15, 2009

Share This - Wordpress

After switching my WordPress powered site from Strato (which is the slowest servers you can get in the netherlands) to my current host Hostway, I started off with a very big problem with mod_rewrite rules on this site. I wanted all the urls to be displayed SEO friendly. Well after searching all over the web I came accross the solution.

I wanted all my urls to contain the tittle of the article like http://www.quentinrademaker.com/2009/03/new-gaming-mouse-from-sharkoon/ instead of http://www.quentinrademaker.com/?p=684 which is not very attractive SEO solution. A simple mod_rewrite rule like the following would fail with a 403 Access forbidden error:

RewriteRule . /index.php [L]

I was puzzled for a while seeing I didn’t have any problems over at Strato (apart from being slow as hell). I must admit that eversince I swithced I have never ever had any problems, everything else works like clockwork at Hostway. Sadly they don’t have any support on sunday’s so I had to find a solution myself. I don’t like waiting to get help from someone else, that is if I can find the solution myself ;-)

After a few cokes and a pack of smokes I finally found the answer. A simple search with Google got me reading a discussion at WordPress that provided the solution. Putting the following at the top of the .htaccess file works for me:

Options +ExecCGI +FollowSymLinks -Indexes -MultiViews

Now all links are working as they should gving it it’s SEO friendly look. I hope this info will help others as well, this solution does not only apply to Hostway clients. If you come across the same issue over at your hosting provider feel free to try this solution. If it works for you please let me know by leaving a reply. It might help others with the same issue as well ;-)

How would you rate this solution?
VN:F [1.8.1_1037]
Rating: 9.3/10 (3 votes cast)

Mod_rewrite and 403 errors solution for Hostway9.3103



Did You Like This Article? Help Spread It

del.icio.us RSS Feed technorati StumbleUpon Facebook Mixx Digg


Why not subscribe to the RSS feed or
to daily or weekly email updates, right now!

Got something to say about this article? Feel free to leave a comment or two. Why not? It's free ;-)



This is a Gravatar enabled website. A nice little picture will show next to your comment rather than the default grey symbol if you get your own globally recognized avatar. Please register at Gravatar. If you don't feel like it then that's not a problem. I will publish all comments automatically when I know you - after your first post - and I appreciate your feedback.