![]() |
URL will change, can I prevent broken links?
Hi all, I'll be moving my vb database to another server this weekend, and also onto a new domain name. Is there any way I can update the database so that all links referencing current domain name can be replaced with the new one? Cheers.
|
There are a few spots you'll need to change via the vBulletin Options -> Settings
You can use the replacement variable manager to handle changing http://domain1.com into http://domain2.com Don't forget to get a htaccess for 301 redirects |
Ok, thanks for that. Do I change these options before I move my database or does it not make any difference?
Quote:
|
Code:
RewriteCond %{HTTP_HOST} ^olddomain\.com$ [NC] |
Thank you!
I also discovered this bit of info in the "moving servers" documentation for vb. Quote:
--------------- Added [DATE]1235224176[/DATE] at [TIME]1235224176[/TIME] --------------- Ok, I found where in vb options it can be reset, but I guess I would like to know whether I need to do this before the move or not? --------------- Added [DATE]1235224555[/DATE] at [TIME]1235224555[/TIME] --------------- Blah, just ignore me. I don't have any custom settings in the cookie path options and so this doesn't apply. Lol. |
Do it before the move, otherwise you will not be able to login after the move.
|
All times are GMT. The time now is 02:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|