Archived

This topic is now archived and is closed to further replies.

  • 0

How to remove index.php in the permalinks ?


Question

Posted · Report post

I use Pagelines developper edition. Wordpress is installed on the root directory of my server. I configure my permalink like http://mpmea-congo.com/index.php/sample-post/ (see attached file) this but all my link are formed like the following http://mpmea-congo.com/index.php/demarches-administratives/ having index.php in the permalink. I'd like to knnow how to remove it ?

Thanks

post-41565-0-01815200-1348141096_thumb.j

Share this post


Link to post
Share on other sites

9 answers to this question

Posted · Report post

This is a server config issue.

What server software is it?

Share this post


Link to post
Share on other sites

Posted · Report post

You think my problem is about web server configuration ? What i have to tell him: just my permalink are not good ? Or something else ?

Thanks

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

When you remove /index.php from your permalink structure, all your posts/pages will have index.php removed also. This will mean that if you navigate to any of your posts/pages and the link contains index.php/ then its obviously going to lead to a 404 error, as there is no such post or page.

Try this please.

  • Remove index.php/ from your permalinks, so you simply have /%postname%/, save your settings.
  • Then go to Wordpress admin dashboard > Posts or Pages and then click on the view Post/Page link and see if this leads to a 404 error. If it does, then its most certainly a server configuration error.

If you do indeed continue to receive this error, then please contact your web host provider, as this is not related to PageLines.

Share this post


Link to post
Share on other sites

Posted · Report post

@Danny I just make your test and always have 404 error from pages or posts display. I contact my host provider.

Share this post


Link to post
Share on other sites

Posted · Report post

OK, thanks for trying and yes contacting your host provider is the best option, as this is an issue only they can resolve.

Share this post


Link to post
Share on other sites

Posted · Report post

I don't know really. I don't have admin tool to monitor server. I just hava a ftp connexion link to upload my file. I ask to my hoster.

Share this post


Link to post
Share on other sites

Posted · Report post

What happens when you go to Dashboard > Settings > Permalinks and changing /index.php/%postname%/ to /%postname%/ and then saving?

Share this post


Link to post
Share on other sites

Posted · Report post

@

Advocate

When i change the /index.php/%postname%/ to /%postname%/ , the web site send a 404 error.

@Simon Prosser The server is IIS the windows one not apache. But i don't have configuration tools to it

Share this post


Link to post
Share on other sites

Posted · Report post

Then you need to talk to your host.

Share this post


Link to post
Share on other sites