httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janus76 <>
Subject [users@httpd] 301 redirects
Date Mon, 13 Jul 2009 15:02:57 GMT

Could anybody help me with this as its driving me round the bend.

I have several old site, which i will be taking done to be replaced but once
single new site.

I need to setup some redirect for the old urls we have in the wild, i.e
brochures etc.

The old urls are in the format of 

i need to do a 301 redirect of each of these urls to something like


I know i can't do a simple redirect in .htaccess as the id number does not
get picked up.
Redirect http://www.olddomain/oldsite1/index.php?id=99

I think i need to use RewriteRule, but i am not too sure how.

The id numbers on the old site have nothing to do with the new site, so
these do not need to be factored into the rewriting.

Maybe i am thinking to hard about this but it is driving me mad.

Any help would be most apreciated.

All the best

View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message