Forum Moderators: phranque

Message Too Old, No Replies

Redirecting multiple dynamic (php) pages?

         

manolo1

10:49 am on Feb 19, 2004 (gmt 0)



Please bare with me if this has already been asked before but I have been trying to figure out how to use .htaccess to redirect dynamic PHP-pages?

The situation is this. I am running a site on a virtual server running Apache. I have access to modify .htaccess for whatever directory I want but I can't make changes to the Apache configuration (as far as I know).

At the site we have been running an old forum software that by now is heavily indexed in Google. Recently we upgraded to a new forum software and I want to redirect the users who through search engines find indexed topics in the old forum to the new one.

The URL:s in the old forum looks like this:

[example.com...]

... and in the new forum like this:

[example.com...]

How can I redirect people who try to access the first URL (and any URL
like it) to the second URL?

Any help is much appreciated!

[edited by: jdMorgan at 3:28 pm (utc) on Feb. 19, 2004]
[edit reason] Examplified URLs. Please see TOS. [/edit]

jdMorgan

3:32 pm on Feb 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



manolo1,

Welcome to WebmasterWorld [webmasterworld.com]!

This search [google.com] should get you started. If you have trouble with your code, please feel free to post specific questions.

Jim