: 'no return tags' on '/' url hreflang 'no return tags' error, caused because the empty slash '/' url links to a page that links back to '/index.php'. Shouldn't Google Webmaster Tools be smart
hreflang 'no return tags' error, caused because the empty slash '/' url links to a page that links back to '/index.php'. Shouldn't Google Webmaster Tools be smart enough to recognize that this is a valid return tag? Must i do something to correct a Google boof?
More posts by @Vandalay111
2 Comments
Sorted by latest first Latest Oldest Best
Since these are php scripts, i solved the issue by recognizing within the script whether '/' or '/index.php' is being called, and modify the hreflang link accordingly.
/ means your root directory. It is totally normal to return index.php.
To avoid it, you need to use an .htaccess rule rewrite to get / into example.com instead of example.com/index.php.
It's also good to use the rewrite rule to hide the extensions on the URL index instead of index.php.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.