Forums

After change to custom permalink, the page won't load (5 posts)

  1. Andy3D
    Member
    Posted 1 year ago #

    I change the permalink form default http://website.com/blog/?p=123 to /%category%/postname%/, then all the links don't work. Even the post still show on the home page. But if you click each post like, the page will not load.

    What did I miss?

    Thanks a lot for the help!

    Andy

  2. Les Bessant
    Moderator
    Posted 1 year ago #

    A link to the site might help, but...

    When you updated your Permalink settings, did you see a message about .htaccess rules? If WordPress can't update the file because the permissions aren't right, it should tell you what you need to insert.

    The most likely cause is that the file hasn't been updated.

  3. Andy3D
    Member
    Posted 1 year ago #

    Les:

    Went to support page http://codex.wordpress.org/Using_Permalinks . Then found there is no .htaccess file. Then I create a file exactly as this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    But it still doesn't work. I didn't see any message after the permalink update other than "Permalink structure updated." message on the top of the page.

    Can you contiune help me?

    Thanks!

    Andy

  4. Les Bessant
    Moderator
    Posted 1 year ago #

    Next thing - check with your host that mod_rewrite is actually enabled. They should be able to tell you.

  5. Andy3D
    Member
    Posted 1 year ago #

    Talked with the host, they said mod_rewrite was enabled. What should I check into next?

    Thanks again!

    Andy

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.