Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Simple redirect - from one existing page to root


InnerFlash - 3:08 pm on Jun 29, 2007 (gmt 0)


Isn't..

RewriteRule ^index?c0=142&cat_id=142&level=1$ /page.html [L,R=301]

...supposed to work?

I really don't get it. I'm doing my best to try to understand how to do it, but the urgency of having this job done is much greater than what my learning curve allows. The shop is going live TONIGHT, 29th June and this deadline can't be pushed further.

Please, if there's someone out there who knows the correct redirect syntax to a specific non-existing dynamic URL (my old dynamic URLs will become obsolete tonight) to specific existing static URLs, please do post... the non-existing dynamic URL request will be only external.

I need an URL like this:

http://www.example.com/index?c0=142&cat_id=142&level=1

to become like this:

http://www.example.com/page1.html

I have several URLs that need the same redirection, but they are all very similar to the URL above, only with different category numbers. So one solution will cover all the others.

This I'll have to do with (or without) "mod_rewrite", but not with "mod_alias" as i don't have it installed on my server.

The purpose here is to redirect old categories from the old shop to new categories with the same name in the new shop.

Really appreciate any input!
Cheers


Thread source:: http://www.webmasterworld.com/apache/3375528.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com