Welcome to WebmasterWorld Guest from 50.16.113.179

Forum Moderators: Robert Charlton & aakk9999 & andy langton & goodroi

Message Too Old, No Replies

Webmaster Tools - URL Parameters Questions

     
10:37 am on Oct 26, 2012 (gmt 0)

Preferred Member

10+ Year Member

joined:July 13, 2005
posts: 418
votes: 0


Hi,

Just been looking at the URL Parameters section on Webmaster Tools for one of my sites, and could use some advice.

My site is structured as follows:

http://example.tld/
http://example.tld/names/
http://example.tld/addresses/

I don't use any URL parameters at all, however if added to a URL they may still resolve the page.

Parameters such as:

pagewanted
height
iframe
width

However, WMT has also picked up parameters I have rewritten via htaccess (maybe from a long time ago):

?part1=names
?part2=addresses

I can't see any option to delete these parameters, only specify if they change the content or not.

Any ideas?
.

[edited by: Robert_Charlton at 4:00 pm (utc) on Oct 26, 2012]
[edit reason] used example.tld to disable auto-linking [/edit]

4:40 pm on Oct 26, 2012 (gmt 0)

Junior Member

10+ Year Member

joined:June 24, 2004
posts:147
votes: 1


I wouldn't worry about Google knowing about the URL arguments. But, you might consider adding the canonical URL to the HEAD of each page. That way, whether Google finds it through the regular URLs you use or using the parameters, it will know that both results represent the same page.

[mattcutts.com...]
5:27 pm on Oct 26, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 7, 2003
posts: 750
votes: 0


Add the canonical or have your site do a redirect but don't touch the settings in WMT. Those particular parameters DO change the page content. The kind that Google is interested in knowing about are params like: "session id", and "return to" that you use for tracking visitors, but which don't change the page contents.
9:41 pm on Oct 26, 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:13449
votes: 391


however if added to a URL they may still resolve the page

That is the default behavior for static extensions such as html. If it's a major problem, and you use no parameters at all, you can put the line
AcceptPathInfo Off
in your htaccess. But it's rarely worth the trouble, and you may accidentally switch off hidden functions such as analytics or auto-indexing.
11:42 pm on Oct 26, 2012 (gmt 0)

Moderator This Forum from GB 

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

joined:Jan 27, 2003
posts:3332
votes: 140


Parameter handling via GWT is a "suggestion" to Google as to how to handle parameters. IMO, this is weaker even than the rel canonical attribute, which is itself not reliable.

if you think these parameters are causing a real issue with performance, then force a redirect from them to the rewritten version so they get dropped from Google's map (almost) entirely.

Of course, Google is URL-hungry, so it may be that these represent an insignificant problem that does not need to be fixed. That said, if you're the tidy type, I'd suggest you fix them without using Google's proprietary method - which may not fix them at all :)
3:12 am on Oct 27, 2012 (gmt 0)

Administrator

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

joined:Aug 10, 2004
posts:10684
votes: 33



# if the requested url contains a query string
# 301 redirect to the same path on the canonical hostname without a query string
RewriteCond %{QUERY_STRING} .
RewriteRule ^(.*)$ http://example.com/$1? [R=301,L]


usual disclaimers apply: "professional driver on a closed course"
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members