Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Webmaster Tools - HTML suggestions - Duplicate title tags

         

CrazyBigGaz

2:35 pm on Apr 26, 2011 (gmt 0)

10+ Year Member



Hi,

Just looking in my Google webmaster account for one of my domains and in HTML suggestions, it has 2 Duplicate title tags

When I check it says
/
/index.php

What would you suggest I do, to fix this, or is it not fixable?

enigma1

2:38 pm on Apr 26, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes it is fixable. Find which script creates the index.php link instead of the plain forward slash and replace it.

CrazyBigGaz

3:13 pm on Apr 26, 2011 (gmt 0)

10+ Year Member



I have done that there was 2 possible links to index.php that Google could of got hold of.

Also the site did use:
index.php?page=PAGE_NAME
I have 301 a few days ago correct page now

I am not sure if that could be a problem or not.

CrazyBigGaz

3:15 pm on Apr 26, 2011 (gmt 0)

10+ Year Member



But now Google know index.php exist, won't it keep checking it?

Should I use the below in my header for that page?

<link rel="canonical" href="http://www.mydomin.co/" />

deadsea

3:19 pm on Apr 26, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It sounds like you are doing the right things to fix the problem. It may take Google a couple weeks to recrawl your site and update the data in the webmaster tools.

enigma1

3:24 pm on Apr 26, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



instead of:
/index.php?page=PAGE_NAME
use:
/?page=PAGE_NAME

Should be easy to setup the link generation basically if the index.php is present you replace it with an empty string. And then for the request if you see index.php in it you issue a 301 redirect to the home page.

Otherwise whatever code generates the links may keep injecting the index.php string with the urls and I have no idea how many problems you're going to face.