The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
301 on everything
Hello!
I'll shut down my forum completely. What is left is only an index page with information. Anyone know how to make 301 in all the old pages with .htaccess? I have a couple thousand indexed pages in google. Info Webbserver: Apache, with mod_rewrite. The forum is located directly on the http://www.domain.com and not http://www.domain.com/forum Thanks |
#2
|
||||
|
||||
Good question and you are also on the right path about 301 redirects since that is the best way to preserve your current Search Engine Ranks. 301 is a permanent redirect, Lets say you want to redirect http://yourdomain.com/forum to now http://yourdomain.com , meaning your old site is in the 'forum' directory and now you want to redirect it to the root or why other domain...So In this case you could simply use the good old .htaccess method.
Due to SEO we did this on one of our vbulletin forums recently and its a relatively simple process really. For example, our forum was located at http://:forums.tomorowsgaming.com, after using the .htaccess redirect, all incoming links are now being automatically redirected to the root folder, http://tomorrowsgaming.com. Here is how you would go abouts doing it.. Using the code below create a new .htaccess file inside your current directory, eg. 'forum' , this should redirect all your incoming links and preserve your seo, Code:
Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L] You are done! See, piece of cake.. After that, you can go check if your 301 redirect is working properly here http://www.ragepank.com/redirect-check/ |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|