Dear Alvaro Lopez Ortega Actually, I used cherokee's (1.0.1) wizard to create my wordpress site; therefore, I am absolutely sure that there is a rule reading "Regular Expression /blog/(.+)". I thought that I have found the problem
If I access https://www.dbtsai.com/blog/?p=3, the rule has redirected to https://www.dbtsai.com/blog/index.php?p=3; however, it will redirect to https://www.dbtsai.com/blog/index.php??p=3 with double "?". In the case of accessing https://www.dbtsai.com/blog/2008-11-25-matrix-exponential/, the rule works correctly. (ps, I set my Permalink into custom structure, /%postname%/ ) I believe that this can be fixed by adding another rule which will omit duplicated ? before this rule. Unfortunately, I am not familiar with regular expression, any idea? Thank you. Best Wishes, Dong-Bang Tsai 蔡東邦 ----------------------------------- Web : http://www.dbtsai.com On Sun, Jun 20, 2010 at 2:46 PM, Alvaro Lopez Ortega <[email protected]> wrote: > On 19/06/2010, at 20:47, 蔡東邦 (Tsai, Dong-Bang) wrote: > >> It should be worked in both of https://www.dbtsai.com/blog/?p=1271 >> and https://www.dbtsai.com/blog/2010-post-name in the case of >> apache2's rewrite rules. > > Allow me to begin by clarifying the the web server does nothing to do > whatsoever. It is the configuration what you ought to worry about, actually. > >> Is there any rule I should add to solve this problem? > > Cherokee's Wordpress wizard adds a rule to take care of those redirections. > You must have a rule reading "Regular Expression /blog/(.+)" - that's it. > > I'm tempted to thing that you did not activate Friendly URLS in your > Wordpress set-up panel. Could you please confirm it's actually activated and > the morphology it right: <year>-<month>-<title>? (or whatever it is). > > -- > Octality > http://www.octality.com/ > > _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
