rewrite rule for CalendarZoom
Posted: Wed Dec 29, 2004 11:08 pm
We're implementing the beta shared installation 0.70 and thus far it is great.
For a host of reasons, we decided no to import entries for a few of the larger more seasoned blogs. Instead, we are going to maintain the old blog online, and link to the new version blog for '2005'.
The old blog is version 0.30.
A couple of questions:
Can anyone give some rewriterule recommendations for the calendarzoom URI's for January 2005? We've tried a few variations to no avail.
Our setup looks like:
0.30 version root http://domain.com/blog/
0.70 version root http://domain.com/blog1/
The calendar plugin configures URI's like
http://domain.com/blog/index.php?serendipity[calendarZoom=200501&serendipity[category]=3
which we are trying to rewrite to
http://www.domain.com/blog1/index.php?s ... ategory]=3
We've tried:
RewriteEngine on
RewriteRule ^blog/index\.php\?serendipity\[calendarZoom\]=200501(.*)$ http://www.domain.com/blog1/index.php?s ... ]=200501$2 [R=301,L,QSA]
in .htacess in both the domain.com root (which contains both blog and blog1) and in the blog and blog1 directories.
And of course we are going to go backwards as well, so rewrites from the blog1 directory when asking for December 2004 would be helpful too.
If there are any rewrite guru's out there, we could sure use the help.
thank you all in advance!
For a host of reasons, we decided no to import entries for a few of the larger more seasoned blogs. Instead, we are going to maintain the old blog online, and link to the new version blog for '2005'.
The old blog is version 0.30.
A couple of questions:
Can anyone give some rewriterule recommendations for the calendarzoom URI's for January 2005? We've tried a few variations to no avail.
Our setup looks like:
0.30 version root http://domain.com/blog/
0.70 version root http://domain.com/blog1/
The calendar plugin configures URI's like
http://domain.com/blog/index.php?serendipity[calendarZoom=200501&serendipity[category]=3
which we are trying to rewrite to
http://www.domain.com/blog1/index.php?s ... ategory]=3
We've tried:
RewriteEngine on
RewriteRule ^blog/index\.php\?serendipity\[calendarZoom\]=200501(.*)$ http://www.domain.com/blog1/index.php?s ... ]=200501$2 [R=301,L,QSA]
in .htacess in both the domain.com root (which contains both blog and blog1) and in the blog and blog1 directories.
And of course we are going to go backwards as well, so rewrites from the blog1 directory when asking for December 2004 would be helpful too.
If there are any rewrite guru's out there, we could sure use the help.
thank you all in advance!