2009-10-16, 10:35 PM
(2009-07-06, 02:45 PM)Rafael Wrote: [ -> ]Sure,
First of all this is a Simple Redirect, this example will take your users to youroldurl.com to yournewurl.com and each url of your forum to the index url of your new url:
redirectMatch 301 ^(.*)$ http://www.your-new-url.com
Second:
This redirect is better, you can change only your domain, but the url will take to the old schema with new domain like this:
Esto redirigirĂa algo comotohttp://old-domain.com/anything/
.http://www.your-new-domain.com/anything/
Fromtohttp://old-domain.com/anything/any-url.html
http://your-new-domain.com/anything/any-url.html
This is the .htaccess.
redirectMatch 301 ^(.*)$ http://www.your-new-domain.com$1
Here are the examples, must edit it with your urls and rename it.
Regards.
I am a novice at this even though I have 3 forums
tell me what i have to replace in the Htacess file so it will keep users on 1 domain without redirecting them to 2nd domain ?
Thanks