PDA

View Full Version : Mini Mods - JD - Archive 301 redirect to original thread


Jorandh
02-22-2015, 10:00 PM
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
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
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
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
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:

<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

Dakoom
07-13-2015, 07:48 PM
This mod seems to have a virus :(
And when i installed it, appeared db error.

Jorandh
07-15-2015, 01:21 PM
This mod seems to have a virus :(
And when i installed it, appeared db error.

Did a virus scan on the download: nothing. Tried reinstalling on a fresh vBulletin install and works, got to be something else wrong with your board mate.

lapiervb
01-08-2016, 12:12 PM
Is there any more reviews to share on this mod?

droopy64
06-10-2016, 12:26 PM
Good question, anyone is using this mode and how stable it works?

boxingscene
06-20-2016, 05:13 PM
Good question, anyone is using this mode and how stable it works?

I tried using this on 3.8 and it didn't work.

MarkFL
06-20-2016, 05:32 PM
I tried using this on 3.8 and it didn't work.

While some products will simultaneously work in both vB 3.8.x and vB 4.x.x, those are probably the minority from what I have seen. :)

boxingscene
06-20-2016, 08:00 PM
While some products will simultaneously work in both vB 3.8.x and vB 4.x.x, those are probably the minority from what I have seen. :)

Is there anything similar to this for 3.8?

I probably have nearly 200K archive pages indexed in Google alone. I've seen a few htaccss examples for redirects, but a lot of them seemed to have issues

JohnSilver
08-12-2017, 01:20 AM
Hope you could code this for 3.8 :)

In 3.8 it's showing white page upon clicking on the archive link.