Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
JD - Archive 301 redirect to original thread Details »»
JD - Archive 301 redirect to original thread
Version: 1.00, by Jorandh Jorandh is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 02-22-2015 Last Update: Never Installs: 14
Uses Plugins
Translations  
No support by the author.

What is this mod all about?
This mod adds a 301 header to redirect the visitor to the original thread from the archive. All archive.php will be forwarded to the showthread.php when this mod is enabled.


How to install:

- Download the XML file below
- AdminCP-> Product Management-> Add/Import product: Import the XML file.



How to use:
You can enable/disable the plugin within your AdminCP settings, enable it and it should work.


Versions
  • 1.0.0 - First release


Support
Please use this thread to ask questions or to report bugs, we'll support this plugin from here. You want to support us? Buy us a cup of coffee

Download Now

File Type: xml JD - Archive 301 redirect.xml (1.6 KB, 105 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
dorans, RichieBoy67

Comments
  #2  
Old 02-23-2015, 04:27 PM
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Location: Novi Sad, Srbija
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bad english

/archive/index.php/t-10168-p-26.html
Set on the first page and not on the 26th
Do redirection twice:
http: //archive/index.php/t-10168-p-26.html
https: //archive/index.php/t-10168-p-26.html
https: //showthread.php? t = 10168


https: //archive/index.php/f-27-p-8.html (f-forum)
Does not work. Shows like the picture ...

I have DBseo Lite ....
Attached Images
File Type: png Strana 8.png (31.7 KB, 0 views)
Reply With Quote
  #3  
Old 02-24-2015, 06:52 AM
Jorandh's Avatar
Jorandh Jorandh is offline
 
Join Date: Jan 2015
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dorans View Post
Bad english

/archive/index.php/t-10168-p-26.html
Set on the first page and not on the 26th
Do redirection twice:
http: //archive/index.php/t-10168-p-26.html
https: //archive/index.php/t-10168-p-26.html
https: //showthread.php? t = 10168


https: //archive/index.php/f-27-p-8.html (f-forum)
Does not work. Shows like the picture ...

I have DBseo Lite ....
Thanks for your reply, can you sent me a test link? I'll have a look at DBseo to make it compatible.
Reply With Quote
  #4  
Old 02-24-2015, 07:43 AM
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Location: Novi Sad, Srbija
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll send in the day ...
Reply With Quote
  #5  
Old 03-18-2015, 05:39 PM
creativepart creativepart is offline
 
Join Date: Jun 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I installed this as a trial and found that if you turn Archives off in your AdminCP that the redirect doesn't work.

Seems odd. Isn't the reason for this mod so you can turn Archives off and still have existing search engine links point to your forum content?

Also, I found that it doesn't work if the link is to: youdomain.com/forum/archives/index.php with this link you get the standard Archive display.
Reply With Quote
  #6  
Old 03-19-2015, 12:34 PM
Jorandh's Avatar
Jorandh Jorandh is offline
 
Join Date: Jan 2015
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by creativepart View Post
OK, I installed this as a trial and found that if you turn Archives off in your AdminCP that the redirect doesn't work.

Seems odd. Isn't the reason for this mod so you can turn Archives off and still have existing search engine links point to your forum content?

Also, I found that it doesn't work if the link is to: youdomain.com/forum/archives/index.php with this link you get the standard Archive display.
It's as it should be, when you turn off the archive the whole /archive module is gone and thus this mod doesn't get a chance to run.
Reply With Quote
  #7  
Old 03-21-2015, 08:59 AM
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Location: Novi Sad, Srbija
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

robot.txt disable archive for boot
Webmaster tools disable archive link
Footer, remove archive link
Leave involved redirection, for a month or two google will lose links.
Then turn off the archive module.
There is no 404 error.
Reply With Quote
  #8  
Old 03-31-2015, 07:53 PM
Delfi_r Delfi_r is offline
 
Join Date: Jul 2011
Location: Barcelona
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After dorans contribution I understand that:

1- I need to install this mod
2- put a line on robots.txt to exclude the http://domain/archive/index.php
3- this will exclude the archive from the sitemap
4- go to webmaster tools and disable the archive link
5- remove the link in the footer (this is the difficullt part)
6- wait until archive links are out of Google lndex.
7- turn off the archive module.

Thanks for the mod and for the instruction set.

Any clue to remove the archive link from the footer?
Reply With Quote
  #9  
Old 04-02-2015, 07:48 AM
Jorandh's Avatar
Jorandh Jorandh is offline
 
Join Date: Jan 2015
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delfi_r View Post
After dorans contribution I understand that:

1- I need to install this mod
2- put a line on robots.txt to exclude the http://domain/archive/index.php
3- this will exclude the archive from the sitemap
4- go to webmaster tools and disable the archive link
5- remove the link in the footer (this is the difficullt part)
6- wait until archive links are out of Google lndex.
7- turn off the archive module.

Thanks for the mod and for the instruction set.

Any clue to remove the archive link from the footer?
Go to your footer template and remove:

PHP Code:
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if> 
Reply With Quote
  #10  
Old 04-03-2015, 11:40 AM
Delfi_r Delfi_r is offline
 
Join Date: Jul 2011
Location: Barcelona
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!!!!!

As soon as I complete the process I'll go for DBSeo
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05505 seconds
  • Memory Usage 2,333KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete