vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - JD - Archive 301 redirect to original thread (https://vborg.vbsupport.ru/showthread.php?t=317477)

Jorandh 02-22-2015 10:00 PM

JD - Archive 301 redirect to original thread
 
1 Attachment(s)
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 ;)

dorans 02-23-2015 04:27 PM

1 Attachment(s)
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 ....

Jorandh 02-24-2015 06:52 AM

Quote:

Originally Posted by dorans (Post 2538414)
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.

dorans 02-24-2015 07:43 AM

I'll send in the day ...

creativepart 03-18-2015 05:39 PM

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.

Jorandh 03-19-2015 12:34 PM

Quote:

Originally Posted by creativepart (Post 2540828)
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.

dorans 03-21-2015 08:59 AM

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.

Delfi_r 03-31-2015 07:53 PM

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?

Jorandh 04-02-2015 07:48 AM

Quote:

Originally Posted by Delfi_r (Post 2542062)
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> 


Delfi_r 04-03-2015 11:40 AM

Thanks!!!!!!

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


All times are GMT. The time now is 07:25 PM.

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.01061 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete