The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
problem with archive address "/" insted of "?"
hello....
all of my forum archive address were like this : http://p30city.net/archive/index.php?t-21.html but 3-4 days ago when i upgrade my forum the old addresses are not avilable and new addresses are like this : http://p30city.net/archive/index.php/t-21.html and it is very bad for SEO and search engins like google none of our addresses for archive are avilable.... i have sent a ticket and they told me the new form of address is correct so i want to use rewrite_mod and .htaccess file to redirect the old addresses could you please help me ? really most of forums i know in iran have the "?" form for their archive ..... thank you |
#2
|
||||
|
||||
I was just clicking around on my forum and all my urls in the archive have the / in them, not a ? . Did you use a modification or did you modify your code to use a ?
|
#3
|
|||
|
|||
thank you....
NO I DONT use anything .... i havent made any changes in my mod and plugin just upgrading my board from 368 to 3612 ... and this change have been made automaticly... ============================= please see google cache for see old addreses : Code:
http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=archive%2Findex.php&btnG=%D8%AC%D8%B3%D8%AA%D8%AC%D9%88&sitesearch=http%3A%2F%2Fp30city.net it is one of good and big persian forum .... they are like us ..... |
#4
|
|||
|
|||
i found where this difference comes ....
global.php at archive ..... in the correct version (3612) from line 126-129 : we have : Code:
if (is_array($vbulletin->iforumcache["$parentid"])) { foreach($vbulletin->iforumcache["$parentid"] AS $x) { Code:
if (is_array($vbulletin->iforumcache["$parentid"])) { $output = "\n$indent<ul>\n"; foreach($vbulletin->iforumcache["$parentid"] AS $x) { i dont know PHP so maybe it is not frome these lines but i can see it is from this file... i have replaced this 2 files then i could access ( ? ) form of addresses .... but really if slash form (/) is better i want to have it defult and redirect the old addreses with .htaccess file but i dont know how ! i have attached both global.php and you can test them... thank you.. |
#5
|
||||
|
||||
Have you tried googling "htaccess redirect" ? You should find how to write a redirect that way.
|
#6
|
|||
|
|||
thank you...
i know a few about htaccess commands and read all article about it... but really i couldnt resolv it ... never minde..... i use the old global.php till i can redirect the old addreses.. thank you for your helping but i will check this again.... and if i finde a way i will tell you |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|