Archive REWRITE RULE needed [solved]
Posted: Sun Nov 04, 2007 3:37 pm
Hi,
I have setup my permalink structure asE.g.:
From the error log I see that many people try to access
Blog's home page.
Even though Garvin helped me earlier to add a shortcut URL like /post45/, /post95/,
I could not figure out how to rewrite those URLs properly. At this point I am pretty
sure that the PHP code will have to be adated, too.
I'd like to rewrite/redirect above URLs that they produce a '200 OK' Status and
deliver either the detailed or summary version of the monthly archive. The archive
URIs for my Blog setup are:
numerical postid
Any help is
appreciated.
Yours John
I have setup my permalink structure as
Code: Select all
/%year%-%month%/%postid%-%post-title%- http://blog.fcon21.biz/2007-11/
http://blog.fcon21.biz/2007-11/index.php
(Though that might be robots [good ones or bad ones], where would the index.php
part come otherwise. Just one try per IP address.)
Blog's home page.
Even though Garvin helped me earlier to add a shortcut URL like /post45/, /post95/,
I could not figure out how to rewrite those URLs properly. At this point I am pretty
sure that the PHP code will have to be adated, too.
I'd like to rewrite/redirect above URLs that they produce a '200 OK' Status and
deliver either the detailed or summary version of the monthly archive. The archive
URIs for my Blog setup are:
- http://blog.fcon21.biz/archives/2007/10.html
(Detailed view)
http://blog.fcon21.biz/archives/2007/10/summary.html
(Smmary)
numerical postid
Any help is
appreciated.
Yours John