Mobile app version of vmapp.org
Login or Join
Phylliss660

: Google webmasters 404 for a URL path starting with /facebook.com/ We've been having some problems with Google Webmasters Tools lately. Google's returning 404 on some of our articles. Can you anyone

@Phylliss660

Posted in: #GoogleSearchConsole

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?

[POSTURLHERE]/facebook.com/thetunistimes?PHPSESSID=te69ddda6ct3g1dfk898fiq9c3
Thanks

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Phylliss660

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

There are likely two problems on your site.


You are incorrectly linking to facebook from your article.

Your link is facebook.com/thetunistimes
But should be facebook.com/thetunistimes (include the )
PHP is putting session ids on your links (which is very bad for SEO). Here are some instructions from removing them: 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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme