On WordPress’ page about using permalinks, it gives steps to enable “pretty” permalinks. I have non-shell hosting account at 1and1.com, and I had use only .htacceess to make it work. Even though the WordPress’ instruction says you have to set FileInfo directives allowed, but I found that it actually causes Internal Server 500 error.
I had the following piece of code in .htaccess, and now it’s working fine.
# BEGIN WordPress
<IfModule mod_rewrite.c>
Options FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
#1 by Antonio on October 1st, 2009
Quote
Thanks a lot for this code. I was wondering what was wrong with my wordpress installation and you saved my life :-)
It definitely worked for me!
Cheers from Valencia.
#2 by Marc Shaw on October 15th, 2009
Quote
Hey, I read a lot of blogs on a daily basis and for the most part, people lack substance but, I just wanted to make a quick comment to say GREAT blog!…..I”ll be checking in on a regularly now….Keep up the good work! :)
- Marc Shaw
#3 by retgreasp on November 25th, 2009
Quote
Cool post, didn’t thought reading it would be so interesting when I looked at the url.
#4 by Mike C on March 1st, 2010
Quote
Thanks a lot–big help!
#5 by Ryan K on November 7th, 2010
Quote
Oh my God, thank you SO MUCH. I’ve spent the last 3 days searching the internet for a solution to this problem. You rock. :D
#6 by bubori on December 14th, 2010
Quote
“You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.”
Can about it more?
#7 by Leota Portie on August 24th, 2011
Quote
Thanks for making the honest try to provide an explanation for this. I believe very sturdy about it and want to be informed more. If its OK, as you reach extra extensive wisdom, could you mind including extra posts similar to this one with additional info? It would be extremely helpful and helpful for me and my colleagues.
#8 by Miquel Geck on August 24th, 2011
Quote
I submitted you to my directory, hope you dont mind.. Thanks again
Trackback: reccomended Freehost