Incorrect Archive and Category links (6 posts)

  1. Anonymous
    Posted 7 years ago #

    Hi everyone, I use WordPress for my website RogerBart-Online.com. I recently moved to a new host and imported all my old posts, pages etc. Everything works fine except for the Archive and Category links.

    On the main page, when you click for example on the May archive, it goes to the correct URL but the posts aren't filtered. I mean, you still see the same content as you saw on the main page (with posts from July, June,...).

    Similar problem for the Categories: when you click for example on the Movies category, it goes to the URL (in this case: http://rogerbart-online.com/?cat=4) but again you still see the main page with posts that aren't even in that Category.

    Does anyone know how I could solve this? Thanks so much!

  2. @mercime
    Volunteer Moderator
    Posted 7 years ago #

    2) Choose the formats you want in the "Common Settings" and "Optional"
    3) Then click on button "Save Changes"
    Before "Save Changes," set attributes of your .htaccess to writable 777
    After changes are saved, reset attributes of your .htaccess back to 644

  3. Anonymous
    Posted 7 years ago #

    Thanks for your reply. I should have mentioned that I had already tried that... But the problem persists.

    I did notice that I don't have a .htaccess file in my root folder. Could that be why it's not working properly?

  4. Anonymous
    Posted 7 years ago #

    Just an update: I created an empty .htaccess file, chmodded 777 and followed that permalink procedure: still the same thing...

  5. @mercime
    Volunteer Moderator
    Posted 7 years ago #

    May I assume that:
    1) after you clicked on "Save Changes" there was no text under it which stated "If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all."
    2) You opened your .htaccess file and checked that the mod rewrite info under your "Save Changes" button is in your .htaccess file

    It might also be that you're using a theme with deprecated template tags which you need to replace
    Check out Category Tags

    Then again back to .htaccess
    Check out Fixing .htaccess Generation Issues

  6. Anonymous
    Posted 7 years ago #

    1) There was no such text (I had chmodded the file 777)
    2) This is in my .htaccess file:

    # BEGIN WordPress

    # END WordPress

    So I guess I'm missing something there. What exactly should be added to it?

    At my previous host, all the links and everything worked fine. I used the same theme back then, so I don't think it has anything to do with that.

    Thanks for your help so far!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.