Forum Moderators: phranque

Message Too Old, No Replies

Redirect all files

         

walapu

4:10 am on Jul 8, 2008 (gmt 0)

10+ Year Member



This is what I need to do.

Have all files in

http://www.example.com/forum/

redirected to
http://www.forums.example.com/

Please help

[edited by: jdMorgan at 4:16 am (utc) on July 8, 2008]
[edit reason] Example.com. Please see Terms of Service. [/edit]

walapu

6:55 am on Jul 8, 2008 (gmt 0)

10+ Year Member



Sorry for the double post but when I use this redirect 301 /forum/ [forums.example.com...] it only redirects the folder what do I do?

g1smd

12:29 pm on Jul 8, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Use a RewriteRule perhaps...

RewriteRule ^forum/(.*) http://www.forums.example.com/$1 [R=301,L]