View Full Version : Solved Google showing 3 version of same url in webmaster tools

23-03-11, 19:20
Just to be sure, as Ive hinted at this issue in different posts but here is an example of an issue i see in webmaster tools. With 60,000 pages having identical title tags (many from post1 / post2 type issue but i see a lot of this as well

http://www.allfreechips.com/Image/3-23-2011 2-15-06 PM.jpg

28-03-11, 22:16
please paste your links between code tag because I would like to try it.

I checked this one:

and I have - Page not found.

28-03-11, 22:25
let me try again, its not easy to copy and paste like that from webmaster tools.

28-03-11, 22:30
here is a message as well

When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.


here is a duplicate from webmaster



30-03-11, 01:42
any thoughts on the different variations?

30-03-11, 09:14
I am looking which one redirection is made here by vBSEO.

30-03-11, 22:31
Ok I have some idea.
Please write here your vBET version on your forum. If you don't have the newest one - you can upgrade vBET to the latest version - 3.4.0.
In vBET 3.4.0 we made a 301 redirections from old 302 (not permanent).
If you use this old version of VBET and If somebody will use a bad url he will be redirected to the good one by 302 redirection and google will index it! (so this is not good).

So you can upgrade vBET to 3.4.0 version or use this solution to make 301 redirect in this place:

1. open and edit file (and make a COPY!):
forum root/includes/vbenterprisetranslator_functions_hooks.php
2. in this file find:

function vbet_global_start(&$template_hook) {
3. in this function find:

4. and replace with:

5. go to the end of this file and find:

6. put before ?> this code:

function vbet_vb_exec_header_redirect($url)
global $vbulletin;

$url = create_full_url($url);
$url = str_replace('&', '&', $url); // prevent possible oddity

if (strpos($url, "\r\n") !== false)
trigger_error("Header may not contain more than a single header, new line detected.", E_USER_ERROR);

header("Location: $url", 0, 301);

if ($vbulletin->options['addheaders'] AND (SAPI_NAME == 'cgi' OR SAPI_NAME == 'cgi-fcgi'))
header('Status: 301 Moved Permanently');

define('NOPMPOPUP', 1);
if (defined('NOSHUTDOWNFUNC'))
7. save and test it!

31-03-11, 01:56
I will update the code but I already updated the Vbulletin redirect to a perm 301 a while back

31-03-11, 18:30
ok I am waiting for your confirmation.

09-04-11, 10:23
no answer- solved, if not - please wite here and i will open this thread again

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages thanks to vBET Translator 4.9.2beta