Rewrite index.php in Wordpress

Question!

I started a blog and when I changed my permalink structure to /%postname%/ I get a Page Not Found error. I want my url to look like this:

http://bobbybeckner.com/sharepoint-list-and-linq-using-jquery-and-ihttphandler/

not this:

http://bobbybeckner.com/index.php/sharepoint-list-and-linq-using-jquery-and-ihttphandler/

I read a few posts about changing .htaccess but found no clear solution. Any code examples welcome or recommendations on wordpress plug-ins would be greatly appreciated.

Update I thought it would be important to mention that my host is running IIS7 but does not allow users to touch it. In addition, I'm uncertain of any restrictions on the .htaccess file or any other configuration limitations.



Answers

Generally when you fill out the structure, if the .htaccess file is writable it will apply the rewrite for you, and if it isn't it will show what the contents should be at the very bottom of the page. Did you check the bottom of the page if it is not writable?

You do NOT have to code this yourself.

By : Cyclone


.htaccess files only apply to Apache (well, maybe some other servers use it too, but not IIS). AFAIK URL rewriting for IIS is possible, but not as easy.

ISAPIRewrite appears to be a commercial application that does this, but of course, you'd need to get it installed on your server.

Personally, I wouldn't lose any sleep over having /index.php/ in your urls.

By : nickf


This video can help you solving your question :)
By: admin