The reason archives did not work is because /archives/ is taken over by the rewrite rules and wordpress. So creating a folder named archives will never get accessed because the rewrite rules will always call up index.php and pass it parameters (if there are any).
If your content is not hardcoded...there will be another answer
What would that be? I do want to do some WP database queries on a couple of the pages?
Thanks!
<rb>
The reason archives did not work is because /archives/ is taken over by the rewrite rules and wordpress.
Thanks, MtnDew. So, I should able to use a different name and all will be well. Will do a test now.
<rb>
nickknowledge
Member
Posted 9 years ago #
I have an existing site (non-WP, but I'm migrating), with URI's in the form
http://www.mysite.org/geography/mountains/
As a default with WP, even if I create sub-categories with just one post, the links will become:
http://www.mysite.org/category/geography/mountains/
However, adding this to the .htaccess file immediately after the RewriteBase line redirects them nicely:
RewriteRule ^geography/?(.*) /wordpress/index.php?category_name=geography&$1 [QSA]