WordPress.org

Ready to get started?Download WordPress

Forums

index.php in site urls (9 posts)

  1. HDP
    Member
    Posted 4 years ago #

    i'm trying to figure out where the index.php is coming from in my links. i have about 5 wordpress sites currently up and the links all go xyz.com/page or xyz.com/2010/category, but i have one site that is going xyz.com/index.php/page or xyz.com/index.php/2010/category. i contacted godaddy and they had no clue. the only thing different about this site than the others, is the hosting is on godaddy's grid hosting, where the others are not, would that have something to do with it?

  2. Check your permalinks in Dashboard/Settings/Permalinks

    Using Permalinks « WordPress Codex

  3. HDP
    Member
    Posted 4 years ago #

    thanks . . . checked permalinks, even in permalinks, it shows all the option include xyz.com/index.php - there is no option without :(

  4. Can you choose the custom structure and put this in:

    /%year%/%monthnum%/%postname%/

  5. HDP
    Member
    Posted 4 years ago #

    i tried that as well, it seems that if "index.php" is not present, it's an error message, now if i do custom with "index.php" it works. something tells me i might be a problem from godaddy's end but of course wordpress is not their product. i even removed wordpress and reinstalled it and it still gives the same result. thanks for responding though.

  6. What else is in .htaccess other than WP's mod rewrite block? Check your wp-config file for an instance where the URL is set, like define('WP_SITEURL', ...

  7. Chris_K
    Member
    Posted 4 years ago #

    Are you on a Windows or Linux server? If at GoDaddy, make sure you're on Linux. Without it, you won't get beyond "almost pretty" permalinks (the ones with the index.php in them). See more at the Using_Permalinks page in the Docs section.

  8. HDP
    Member
    Posted 4 years ago #

    thanks again for responding . . . @songdogtech - i couldn''t find a mod rewrite block in my wp-config

    @chris yea, it's on GoDaddy's Windows "GRID BETA" hosting, it's new hosting plan they are rolling out. so i should change? i know it's something "minor" but that index.php is irritating.

  9. Chris_K
    Member
    Posted 4 years ago #

    If "Grid Beta" is not running a current version of IIS, that's the best you'll ever get, I'm afraid. Newer versions of IIS are capable of getting you pretty permalinks but it takes some configuration that you may or may not be able to do.

    With Linux host it'll "just work"...

Topic Closed

This topic has been closed to new replies.

About this Topic