PDA

View Full Version : Chenge Domain


adivor
04-13-2010, 11:38 AM
Hello to all,
i need to move one of my forum from domain vvvv.com to bbbbb.com , with thread, pm, users, ecc...

How is possible this? i have ssh access ;)

Marco van Herwaarden
04-14-2010, 07:08 AM
Nothing special needed. If the new domain is under a new server-account/directory, then copy all over, if needed backup/restore the database. Update the Forum URL, and if needed cookie settings, in your vBulletin Options, finished. See also Moving Servers in the manual.

adivor
04-14-2010, 09:28 AM
Thanks but all intenal link relate to old domain in the post?

Marco van Herwaarden
04-14-2010, 09:59 AM
You could create a .htaccess file to redirect the old to the new domain.

Angel-Wings
04-14-2010, 11:20 AM
Or do:


update posts set pagetext = replace(pagetext,'www.old_domain.com','www.new_dom ain.net');


Basically doing a Search & Replace in the Database.

Doing the same for the other tables with PM's and so on.

Just don't forget a backup before ;)

adivor
04-14-2010, 01:25 PM
Thanks all, i prefer update from old to new domain link from mysql panel :)

I will try ....

THANKS AGAIN!

adivor
04-20-2010, 07:27 AM
I need last help ........ i think :D

I need to redirect all traffic from google to my new domain. The structure is the same and i would link redirect to correct discusisone url, not only domain.

How is possible set in .htaccess this funcion:

redirect url 'http://www.old-domain.com/category1/discussion13.html' to 'http://www.new-domain.com/category1/discussion13.html'

and all other urls

thanks




[SOLVED]


domain name change

For a basic domain name change, where folder names haven't changed, simply copy these following lines into the file, replacing "new.com" with the new domain name. If you have an existing .htaccess file; keep a backup copy of it and then remove all other instructions from the file; except for these:

RewriteEngine On

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