Welcome to WebmasterWorld Guest from 107.21.175.43

Forum Moderators: incrediBILL

Message Too Old, No Replies

Wonder Thing Happening

I getting one thing with each & every URL

     

abhishekmishra

5:23 am on Jun 13, 2012 (gmt 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]

g1smd

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

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



Where are you putting this? Why would you add a domain name on the end of another one?

abhishekmishra

5:59 am on Jun 13, 2012 (gmt 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.

lucy24

7:08 am on Jun 13, 2012 (gmt 0)

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



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]

abhishekmishra

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



thanks lucy24

incrediBILL

8:40 am on Jun 13, 2012 (gmt 0)

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month