spstieng
Member
Posted 2 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.
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.
spstieng
Member
Posted 2 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 :)
theindustry
Member
Posted 2 years ago #
Hi Spstieng,
Would you please share your solution?
Thanks