Welcome to WebmasterWorld Guest from 54.196.84.221

Forum Moderators: incrediBILL

Message Too Old, No Replies

Wonder Thing Happening

I getting one thing with each & every URL

     
5:23 am on Jun 13, 2012 (gmt 0)

Junior Member from IN 

joined:Feb 24, 2011
posts: 83
votes: 0


Hi Guys,
I getting one thing with each & every URL ie whenever I'm putting example.com can after the any Domain name for eg webmasterworld.com/?example.com then I'm getting the landing page of the website with same content & matter. can anyone tell me what is this?

[edited by: incrediBILL at 8:36 am (utc) on Jun 13, 2012]
[edit reason] fixed URLS, use Example.com [/edit]

5:33 am on June 13, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Where are you putting this? Why would you add a domain name on the end of another one?
5:59 am on June 13, 2012 (gmt 0)

Junior Member from IN 

joined:Feb 24, 2011
posts: 83
votes: 0


Because One of my client website got indexed in Google with including this URL & we don't have any matter or web page with this name.
7:08 am on June 13, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13059
votes: 301


Go to the Parameters section of Google Webmaster Tools and tell them to ignore the parameter "example.com".

By default, pages in .html simply ignore query strings. That includes cases where the directory slash / conceals a file called index.html. So that's why the page is coming up as normal.

There is a place in the Apache docs that explains this. I read it within the last two weeks but promptly forgot how it works. Something about PathInfo...

[edited by: incrediBILL at 8:37 am (utc) on Jun 13, 2012]
[edit reason] cleanup in aisle 5 [/edit]

7:15 am on June 13, 2012 (gmt 0)

Junior Member from IN 

joined:Feb 24, 2011
posts: 83
votes: 0


thanks lucy24
8:40 am on June 13, 2012 (gmt 0)

Administrator from US 

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 25, 2005
posts:14646
votes: 93


Google thinks any parameters after a page name makes it a new page so it's making a mess out of your site when things like this get indexed unless it's intentional.

Place a meta canonical in the page which just has the page and no parameters.