View Full Version : Redirect Archive Link Automatically to the Actual Thread
Byron
04-15-2005, 04:03 AM
I have seen some websites using this method.
When I found their archive link in search engines and clicked it, the page shown is the actual thread.
How do we feed the archive to search engines spiders properly but show the actual threads to real visitors?
Byron
04-17-2005, 04:19 PM
bump
sabret00the
04-17-2005, 05:03 PM
it's a template mod
in your footer find:
<a href="$vboptions[bburl]/archive/index.php">$vbphrase[archive]</a>
and replace with
<a href="$vboptions[bburl]/archive/index.php<if condition="THIS_SCRIPT == showthread">?t-$threadid</if>">$vbphrase[archive]</a>
Byron
04-17-2005, 05:14 PM
I found some archive links in Google.
When I click on one of their archive links, the page shown is the actual thread instead of the archived thread.
Will this mod do this?
sabret00the
04-17-2005, 05:17 PM
that's just a mod_rewrite, theirs a hack for it around here somewhere, though rumour is theirs another one destined to appear soon which is just a template mod.
Byron
04-17-2005, 05:24 PM
Anyone knows what is the mod_rewrite for this?
sabret00the
04-17-2005, 05:39 PM
do a search for the hack :ermm:
to the best of my knowledge after a research, the version fo the hack i knew was only posted here http://www.daniweb.com/
heh i'm nice http://www.daniweb.com/techtalkforums/thread12725.html :)
sabret00the, looks like it is complitely different hack. You has been asked for redirect users from arhive to the actual thread.
Xenatino
05-16-2005, 02:47 PM
You need to check the User agent string to see if it consists of any words relating to a search bot.
Those with one or more of the specified words is kept on the archive (SE friendly page), all others a redirected.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.