MyBB Community Forums

Full Version: Changing URLs, but not hosts . . .
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(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 como
http://old-domain.com/anything/
to
http://www.your-new-domain.com/anything/
.

From
http://old-domain.com/anything/any-url.html
to
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 Big Grin

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
No need to cross post, keep discussion on this to your thread.

http://community.mybboard.net/thread-58159.html
Pages: 1 2