WordPress.org

Ready to get started?Download WordPress

Forums

Why every page is under index.php? Can I change that? (7 posts)

  1. Cartographer
    Member
    Posted 1 year ago #

    Hi everybody,

    I would like to ask you why every page of my wordpress installation is under index.php.

    For example the url of the contact page is: http://www.mysite/index.php/contact/

    Can I change this to http://www.mysite/contact for every page?

    Thank you for your time.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    What urls are entered in Settings -> General? What type of server are you using? windows or *nix?

  3. Cartographer
    Member
    Posted 1 year ago #

    Hi Esmi,

    Thank you for the answer.

    In Settings-->General both WordPress and Site Url are just the domain e.g. http://www.mysite.com

    I use windows server.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Are you using custom permalinks?

  5. Cartographer
    Member
    Posted 1 year ago #

    I have selected the post name.

    As I see the post name is http://mysite.com/index.php/sample-post/

    Everywhere there is the index.php

    Furthermore the custom (even though it is not selected) is like this: http://mysite.com/index.php/sample-post/

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I have selected the post name.

    Then the cause will be a combination of the fact that you are using custom permalinks but you are using a Windows server (which doesn't handle rewriting well).

    See http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

  7. Cartographer
    Member
    Posted 1 year ago #

    This is an issue for me as some plugins tend to ignore the index.php...

    I will try to think a solution

    Thank you Esmi

Topic Closed

This topic has been closed to new replies.

About this Topic