The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
301 redirect in vbulletin v2.2.9
Hi Guys,
I've got to rename the urls on my vb site (e.g. www.site.com/1/index.html will become www.site.com/1/2/index.html). I've got to do this via a 301 header in php to make it look attractive for the search engines. Headers are formed in the global.php file but how can I implement this ? It are just a few urls that have to change (about 80% which will have to be redirected). Grz |
#2
|
|||
|
|||
Somebody ? Am I making myself not clear enough ?
|
#3
|
|||
|
|||
any suggestions please ?
|
#4
|
|||
|
|||
hmm what do you mean ?
|
#5
|
|||
|
|||
OK, I'll try to explain it again.
Now I've got some pages with url's like http://www.site.com/1/bla. I've got to add a new subdirectory and the links will change to http://www.site.com/1/2/bla. I cannot change the urls without notifying the search engines that these pages moved. So, I've got to send a 301 page redirect permanently header when someone goes to http://www.site.com/1/bla (he will be redirected to http://www.site.com/1/2/bla. The code for the headers is located in the global.php file (search for header). There is only one header configured and that's the 200 "everything's ok". I've got to add a 301 header in this section of global.php and it has to work for specific urls. Someone knows how to do this ? I guess this would be a great hack for people who want to move some urls of their site to a new url and keep their good position in the search engines. Getthat |
#6
|
|||
|
|||
Someone ?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|