AEM apache redirect rule
Hi,
We have a requirement to redirect detail/article pages from one location to another location for the scenario of old article bookmarks.
Old article path : /content/project/us/en/category1/articleslist/article1.html
new article path : /content/project/us/en/category2/folder1/articleslist/article1.html
The below redirect rule works in local aem dispatcher on windows machine (apache 2.2 windows 64 bit). However, the same rule does not work in aem as a cloud service dev environment.
RewriteRule ^/content/project/us/en/category1/articleslist/(.*)$ /content/project/us/en/category2/folder1/articleslist/$1 [PT,L]
One difference i could observe is that in my local aem instance, I don't have shortened url paths rules to facilitate article paths http://domain/us-en/category1/articleslist/article1
should the above rewrite rule be written with * and to remove /content/project/us/en in order to work on higher environments on aemaacs ? Any pointers on this would be of great help.
Thanks,
S