WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Permalink and archive problems (4 posts)

  1. spstieng
    Member
    Posted 3 years ago #

    * I'm using the following permalink /%category%/%postname%/
    * I have activated archive widget
    * I have archive.php
    * I have a page called archive, which uses archive.php as template

    Going to my archive page, the link looks like this:
    http://mysite.com/archive

    In my sidebar, I use the Archive widget.
    The links in the archive list are all

    http://mysite.com/2009/11
    http://mysite.com/2009/10
    http://mysite.com/2009/09

    Clicking these links only opens the frontpage without formatting.

    Shouldn't it be like this?
    http://mysite.com/archive/2009/11
    http://mysite.com/archive/2009/11

    But clicking these doesn't help either.

    Any help appreciated.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of specific help. In the meantime, try resetting your custom permalinks back to the default setting and deleting/renaming your WordPress .htaccess file. If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

  3. spstieng
    Member
    Posted 3 years ago #

    The code is still on localhost.

    I found the solution.

    Looking at some previous archive templates I've created, I manage to use the right code. So all works fine now :)

  4. theindustry
    Member
    Posted 3 years ago #

    Hi Spstieng,

    Would you please share your solution?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags