vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Redirect Archive Link Automatically to the Actual Thread (https://vborg.vbsupport.ru/showthread.php?t=79949)

Byron 04-15-2005 04:03 AM

Redirect Archive Link Automatically to the Actual Thread
 
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:
HTML Code:

<a href="$vboptions[bburl]/archive/index.php">$vbphrase[archive]</a>
and replace with
HTML Code:

<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 :)

Ig@r 05-16-2005 02:15 PM

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.


All times are GMT. The time now is 08:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01051 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete