WordPress.org

Ready to get started?Download WordPress

Forums

Permalinks help (9 posts)

  1. johnrbarringer
    Member
    Posted 4 years ago #

    I am trying to switch my URL structure from using categories to dates but when I switch to "Day and name" from "Custom Structure" articles don't load when clicked on the homepage.

    Any suggestions?

  2. Jonas Grumby
    Member
    Posted 4 years ago #

    You may need to clear your cache. Does it happen if you try a different browser?

  3. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Reset your desired wordpress permalink from wordpress admin area and add this code in htaccess of your blog/site:

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

    Now, check with blog posts and pages.

    Thanks,

    Shane G.

  4. johnrbarringer
    Member
    Posted 4 years ago #

    Thanks guys, I'll give all the above a try!

  5. Jonas Grumby
    Member
    Posted 4 years ago #

    WP should write that to your .htaccess file automatically. If it doesn't, you may have incorrect permissions on the server.

  6. johnrbarringer
    Member
    Posted 4 years ago #

    I tried both of these and it's still not working. :-(

  7. Safirul Alredha
    Member
    Posted 4 years ago #

    mod_rewrite enabled?

  8. johnrbarringer
    Member
    Posted 4 years ago #

    whats mod_rewrite?

  9. Chris_K
    Member
    Posted 4 years ago #

    it is what you need if you're going to get pretty Permalinks working :-)

    Check out the Using_Permalinks page in the docs section of this site. There are a bunch of trouble-shooting tips there to look over.

    Do you manage the server or is it a shared host?

Topic Closed

This topic has been closed to new replies.

About this Topic