At my site (PostNuke 0.764) I use the following permalinks format:
Code
http://www.mysite.com/articlexxxx.html
where xxxx = storyID
where xxxx = storyID
Well, I've thought that with Zikula I will use the following permalink format:
Code
http://www.mysite.com/news/storyID/title-of-the-article/
I don't want to loose relevance at search engines, so, before to use Zikula at a production site, I need to know how to redirect the old permalinks to the new ones.
I think I can do it adding a rule at the '.htaccess' file but... all the methods I've tried to apply don't work
These are some of the rules I've added to the '.htaccess' with no success:
Code
Redirect 301 /article([0-9]+)\.html http://localhost/News/([0-9]+)\
RewriteRule ^(.*)article(.*).html /News// [R=301,L]
...and many many more...
RewriteRule ^(.*)article(.*).html /News// [R=301,L]
...and many many more...
I've tried to do the redirection for a single article (ShortURLs no activated) and it has worked ok but I can't reproduce the results for a generic permalink. Here is an example that works:
Code
Redirect 301 /article3242.html http://localhost/index.php?module=News&func=display&sid=3242
PS: I wrote a very similar post sometime ago, but I can't find it. That's why I've written this one now. Sorry for the inconveniences
