Forums

[resolved] Permalinks only work with /index.php/ in the URL (3 posts)

  1. dcheshire
    Member
    Posted 4 years ago #

    I've searched the forums for posts related to permalinks and aslo read through http://codex.wordpress.org/Using_Permalinks, but I can't find an answer to this puzzle.

    When I change the permalinks on a new Worpress site (www.thinkpinkskips.co.uk) they only work when /index.php/ is included in the URL. On other sites I have worked on, we have set the permalink structure to just /%postname%/ without any problems.

    When I view the permalinks page in wp-admin I have these standard options:
    http://thinkpinkskips.co.uk/?p=123
    http://thinkpinkskips.co.uk/index.php/2008/05/27/sample-post/
    http://thinkpinkskips.co.uk/index.php/2008/05/sample-post/
    http://thinkpinkskips.co.uk/index.php/archives/123
    and the custom one set to:
    /index.php/%postname%/

    as you can see all except the default one include /index.php/ in the URL.

    Does anyone know why this is, and what I can do to remove it so that I can have Page URLs of http://www.thinkpinkskips.co.uk/pagename

    Thanks

  2. Chris_K
    Member
    Posted 4 years ago #

    That's actually discussed in Using_Permalinks -- look for "almost pretty" section.

    Why does it happen? Your host either isn't offering mod_rewrite or hasn't enabled it via the AllowOverrides directive in the apache configuration. As you might suspect, this is commonly seen on windows hosts.

  3. dcheshire
    Member
    Posted 4 years ago #

    Thanks HandySolo... you're right I missed that section.

    So, onto the Host to ask for Mod_rewrite to be enabled.... otherwise we live with them as they are.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.