View Full Version : New Domain Name - Problem
trainer
07-24-2013, 02:48 PM
We changed to a new domain name
is there a way to make all the "oldSiteName" automatically replace with "newSiteName" in all the old posts and any future posts
Thanks for the help
fxdigi-cash
07-24-2013, 03:23 PM
We changed to a new domain name
is there a way to make all the "oldSiteName" automatically replace with "newSiteName" in all the old posts and any future posts
Thanks for the help
I believe you need to redirect from old domain to new domain. all you need is .htaccess little coding.
by the way, when you say "replace with new domain name", you mean like this:
old domain:
old-domain.com/vb/topic1
new domain:
new-domain.com/vb/topic1
and you don't mean Google indexing.....or do you???
trainer
07-24-2013, 03:53 PM
sorry mean in old posts
when people post oldSiteName we want it to show up as NewSiteName
Actually did this on my forum today.
Here's the SQL:
Elite-Source being the old name.
GeneralBB being the new name.
UPDATE post SET pagetext = replace(pagetext, 'Elite-Source', 'GeneralBB')
Disco_Dave
07-25-2013, 07:08 AM
We changed to a new domain name
is there a way to make all the "oldSiteName" automatically replace with "newSiteName" in all the old posts and any future posts
Thanks for the help
Everything you need to do can be done in here: Replacement Variable Manager
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.