Wordpress 2.8 Permalinks include /index.php ??

Status
Not open for further replies.

pax

New member
Oct 2, 2006
442
4
0
Hi guys,

I just made a few new blogs with the new version of wordpress, and noticed that the permalinks now have to include index.php

For example

www.site.com/index.php/post-name/

This looks retarded and may be slightly confusing to visitors so I'm wondering if anyone good with .htaccess/mod_rewrite has a work around for me?:question4:

Thanks.
 


Looks like your settings were changed during the move. Go to the permalinks setting page and set it how you had it and update your .htaccess.

That link structure is for websites that don't have access to the .htaccess file.
 
You can fix this simply by going into Settings -> Permalinks and removing index.php from the custom format.

Yeah this didn't seem to work thanks.

Thanks ikonic i've used it before but not on these sites, I'll see if it fixes the problem.

I think its right that the new wordpress has been made to rewrite URLs using PATHINFO rather than mod_rewrite.
 
Yeah this didn't seem to work thanks.

Thanks ikonic i've used it before but not on these sites, I'll see if it fixes the problem.

I think its right that the new wordpress has been made to rewrite URLs using PATHINFO rather than mod_rewrite.

If wordpress is the only script on that domain, remove your current .htaccess, create a blank one, make it writable (chmod 777), then log into wordpress, and re-save the permalink settings, it *should* re-write the htaccess content.

The only other thing I can think of, is that your blog/site url in the general settings may have included the index.php
 
WordPress parses URLs internally. The .htaccess file converts the URL to a query string and passes it to index.php. It's then dissected and the necessary MySQL query built.

Some installs of IIS needed the index.php in the query string in order to work properly because mod_rewrite wasn't supported.

Try adding in values for category and tag bases on Settings -> Permalinks page instead of leaving them blank.
 
Status
Not open for further replies.