The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Redirect VB 4 urls to VB 5
i had my vb4 installation in www.example.com/forums
the new vb5 installation is in www.forums.examle.com now i want to redirect all urls from old installation to the new one. How can i do this? When i visit the old urls, i get: Warning: Division by zero in ..../includes/functions.php on line 2968 Fatal error: Call to undefined method vB_Template_Runtime::vBVar() in /home/public_html/forums/includes/class_core.php(4715) : eval()'d code on line 76 |
#2
|
||||
|
||||
I guess you can redirect by using htaccess file.
Try putting this htaccess code in www.example.com/forums/ folder PHP Code:
|
Благодарность от: | ||
temsamane |
#3
|
|||
|
|||
thank you Seven Skins,
but the url structure of vb5 is forum.example.com / subject title so its not like the vb4 with numbers structure, like url / showthread.php?t=17718 --------------- Added [DATE]1392297974[/DATE] at [TIME]1392297974[/TIME] --------------- i tested it, and its working. Thank you Very Much!! its automatically redirects to the new url structure (from the general vbulletin url structure) |
#4
|
||||
|
||||
Glad it is working.
If some clicks your old url they will be redirected to the new urls .. and slowly in weeks and months .. all the bookmarks and google links will update.. Make sure this htaccess stays there forever. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|