Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We've been having some problems with Google Webmasters Tools lately. Google's returning 404 on some of our articles. Can you anyone please explain why Google Webmasters Tools returns this error and how to fix it?

share|improve this question

There are likely two problems on your site.

  1. You are incorrectly linking to facebook from your article.
    • Your link is facebook.com/thetunistimes
    • But should be http://facebook.com/thetunistimes (include the http://)
  2. PHP is putting session ids on your links (which is very bad for SEO). Here are some instructions from removing them: http://www.simplemachines.org/community/index.php?topic=447402.0

Put below two lines in your .htaccess file

php_value session.use_only_cookies 1
php_value session.use_trans_sid

And then put a rule in to strip session ids off of URLs with 301 redirects.

share|improve this answer

Your Answer


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.