Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

On my site I use CodeIgniter, which does not allow any use of query strings. Any unacceptable characters in a URL result in a 400 error.

In Google Webmaster Tools I'm seeing several crawl errors where the page is shown as example.com/asd?pagewanted=all. Does anyone know where this query string comes from? Is it from another website, search engine or software?

share|improve this question
    
I don't know but a quick Google search shows lots of unrelated URLs showing the same parameter in the URL and the page title.Weird. –  John Conde Mar 9 '11 at 15:14
add comment

2 Answers

up vote 2 down vote accepted

I noticed nytimes uses this url parameter to display the entire article. Maybe other CMSs use this same parameter. It would make sense bloggers and Web editors would use Urls with the pagewanted parameter to link to the full article.

This returns the article in parts: http://www.nytimes.com/2011/03/29/world/africa/30libya.html

This returns the full article: http://www.nytimes.com/2011/03/29/world/africa/30libya.html?pagewanted=all

share|improve this answer
    
I guess that explains the parameter, though it doesn't really explain why someone is linking to my site with that parameter... –  DisgruntledGoat Mar 30 '11 at 10:17
add comment

I am going to guess that its someone looking for a site exploit. pagewanted is a common variable name that is sometimes then put in a sql statement like this: http://www.codingforums.com/archive/index.php/t-97885.html

If this actually works, then they might figure that your site has some security holes.

That would also explain why a search for that would bring up a bunch of hacked websites.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.