WordPress.org

Forums

URL index.php How to Remove??? (13 posts)

  1. Shikez
    Member
    Posted 1 year ago #

    I tried to get my permalinks right, but I can't seem to fix it.

    I want to change my links from http://example.com/index.php/example

    to

    http://example.com/example

    already checked the .htaccess and the mod rewrite is the same as in the codex: http://codex.wordpress.org/htaccess#Basic_WP

    Already tried to remove it by making a custom permalink: http://example.com/%postname%/ and save it. It shows that the link is changed but when I hit "View page" it gives me a 404 error.

  2. The Grey Parrots
    Member
    Posted 1 year ago #

    Kindly enable mod_rewrite for your server.

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    Have you reviewed Using_Permalinks?

  4. Shikez
    Member
    Posted 1 year ago #

    @The_Grey_Parrots How do you mean kindly enable?

    @esmi I'll do it right now

  5. Shikez
    Member
    Posted 1 year ago #

    btw i dont have an .htaccess file i had to reach it through my network.php

  6. nguoinhotuoi
    Member
    Posted 1 year ago #

    If the root folder of your blog don't have .htaccess file. Creat it, then add the code in the above link to it, set permalink.
    It will work.

  7. Shikez
    Member
    Posted 1 year ago #

    Which above link?

  8. The Grey Parrots
    Member
    Posted 1 year ago #

    Ask your hosting to allow mod_rewrite.

  9. nguoinhotuoi
    Member
    Posted 1 year ago #

    Which above link?

    Sorry, my mistake. You mentioned on the first post: http://codex.wordpress.org/htaccess#Basic_WP

  10. Shikez
    Member
    Posted 1 year ago #

    Still doesnt work.

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    Are you using a Windows or a Linux server?

  12. Shikez
    Member
    Posted 1 year ago #

    windows

  13. catacaustic
    very awesome
    Posted 1 year ago #

    Most Windows servers don't support .htaccess files or mod_rewrite, so the "standard" way to do permalinks doesn't work.

    You can get around it by following these steps:

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

    Hopefully that will let you get it set up the way that you want to.

    If all else fails you could always consider moving the iste to a *nix hosting server that does support .htacess and mod_rewrite. But that would be a last resort.

Topic Closed

This topic has been closed to new replies.

About this Topic