The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
URL redirect after moving forum
I hope I am phrasing this correctly...
I've moved my forum from the main root folder to the "forum" folder -- from http://jpicforum.info to http://jpicforum.info/forum/ -- and I would like to know how I can permanently redirect all my currently indexed "powered by vbulletin" pages to the new url structure. My main forum index had been http://jpicforum.info/index1.php - but now the forum index is http://jpicforum.info/forum/ -- So for instance I want what was http://jpicforum.info/adult-writes/ to redirect to new http://jpicforum.info/forum/adult-writes/ url What's the easiest way to accomplish this please? Jacquii. btw - I am using vBSEO... |
#2
|
|||
|
|||
Maybe with htaccess... untested but perhaps something like this:
Code:
RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.)?jpicforum\.info RewriteRule (.*) http://jpicforum.info/forum/$1 [R=301,L] |
#3
|
||||
|
||||
Make an index page (just take a .txt file put this code in it and rename it index.html) and put it in the old folder...
HTML Code:
<script type="text/javascript"><!--window.location = "http://jpicforum.info/forum/"//--></script> |
#4
|
|||
|
|||
Yeah htaccess is a better way. you can also sometimes set up htaccess within your Cpanel if you are using that on your hosting package. i believe there is a link in the panel for redirection if I remember properly. The vBSEO guys would also probably have a really good idea of what to do as well.
|
#5
|
||||
|
||||
Thanks for the response guys
You can see all the pages we have indexed in Google - particularly the links that go to the forum. Ideally it would be nice to simply have a script of some sort or url re-direct specifically for the forum posts. I already have a redirect of sorts in place = browse to http://jpicforum.info/blablabla/ -- I use a meta refresh code to auto redirect to my new homepage. HTML Code:
<meta http-equiv="refresh" content="6; URL=http://jpicforum.info/"><a href="http://jpicforum.info/">Click here to redirect to the homepage.</a> IDK - I was just hoping that there would be an easy way to automatically redirect all old urls to the http://jpicforum.info/forum/ new 'forum' folder. |
#6
|
||||
|
||||
Just as an fyi...
Actually it's pretty interesting. I have the vBSEO sitemap addon installed of course... It has been generated twice since I've re-opened my forum and interestingly enough -- it seems as if all my links have been correctly re-indexed with the http://jpicforum.info/forum/ url I truly did not expect that to happen, and to happen so quickly. But apparently it has. Anyway - thanks again for the suggestions ya'll - and happy 2011 to you all Jacquii. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|