468,457 Members | 1,746 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,457 developers. It's quick & easy.

Redirect not working after CMS change

Folks, looking for a little guidance on an .htaccess redirect problem - I'm a bit of a newbie when it comes to the rewriting of urls...

We've changed from one CMS to another on our company Intranet (Joomla to ModX) and there are three specific URLs that I'd like to have automatically redirect.


One of the old addresses was:
http://test.com/index.php?option=com_wrapper&view=wrapper&Itemid=5 4
and the new page is at
http://test.com/email-list.htm

I'm using mod_rewrite on Apache 2, and I've included a line in it:
Redirect 301 /index.php\?option=com_wrapper&view=wrapper&Itemid= 54 /email-list.htm
It just resolves to the main page of the site...
There is another rule that might be causing problems, but I need it for friendly URLs to work:
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Unfortunately, the new CMS also uses the index.php format, but none of the same parameters are passed. Can I just parse those parameters strings and point to the new page for the three I really need? Why do I need these ones? They are marked as favourites and on the desktop of about 800+ PCs...and we don't have the resources to change all of them right away...
Thanks in Advance
Feb 22 '08 #1
0 1543

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Doug | last post: by
2 posts views Thread by Chumley the Walrus | last post: by
5 posts views Thread by PaulThomas | last post: by
3 posts views Thread by Justin | last post: by
6 posts views Thread by Peter Row | last post: by
7 posts views Thread by =?Utf-8?B?YzY3NjIyOA==?= | last post: by
5 posts views Thread by mister-Ed | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by subhajit12345 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.