Problem with permalinks
-
I have my permalink structure set to /archivo/%postname% and everything seems to work fine, except for the calendar. Calendar links are now /%pos so there is something wrong in there.
this is what I’m using in my .htaccess file:
<ifmodule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^archivo/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
RewriteRule ^archivo/?(.*) /index.php?category_name=$1 [QSA]
RewriteRule ^author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
RewriteRule ^author/?(.*) /index.php?author_name=$1 [QSA]
RewriteRule ^([_0-9a-z-]+)([0-9]+)?/?$ /index.php?name=$1&page=$2 [QSA]
RewriteRule ^([_0-9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?name=$1&feed=$2 [QSA]
RewriteRule ^([_0-9a-z-]+)/trackback/?$ /wp-trackback.php?name=$1 [QSA]
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1 [QSA]
RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1&withcomments=1 [QSA]
</ifmodule>
Also I’ve noticed that if I set the permalink structure to /%year%/%month%/%day%/%postname% everything goes fine, including the calendar. Does this mean that I need to include date in my permalink structure for the calendar to work?¿ Is there anything I can do to tell the calendar to keep using normal links (index.php?d=xxxxxx) ?¿
Thank you !!
The topic ‘Problem with permalinks’ is closed to new replies.