Results 1 to 2 of 2
Thread: invalid get parameters in url
Jun 3, 2013, 07:50 #1
invalid get parameters in url
I have noticed in Google analytics, page content url's with invalid GET parameters appearing. For example i see hits on a url of www.mysite.com/about/?parameter=example=param even though i dont not have any links to this url. This url displays as if the url was just set to www.mysite.com/about/. I dont know why or how people are accessing the page with such url's.
In one section of my site i am using a .htaccess mod_rewrite where url's are supposed to be in this format but again i never actually link to any url's with this format, instead i use mod_rewrite to display such url's like www.mysite.com/about/example-param. If i remove this condition from my .htaccess file this issue still arises anyway. Does anyone have any ideas why this might be happening? After testing it seems that any url will work if it ends in a ? no matter what i put after it. I could just check for any parameters in a url on pages where they should not be appearing and redirect to a 404 error but i would prefer to find out what is causing this issue in the first place.
Jun 4, 2013, 09:56 #2
- Join Date
- Sep 2007
- 0 Post(s)
- 0 Thread(s)
Another option is if your site has a very high pagerank and your site return search result without formating it with php htmlentities, a spammer can query for their site url on your search and the result returned will contain their url in the body of your site as a html hyperlink, with this method he will submit your site with query parameter to search engine, and automatically linked to you.
i will advice you change any form on your site that is using method get to post. but if these results are not appearing in your webmaster tool as error, don't bother your self