Mobile app version of vmapp.org
Login or Join
Vandalay111

: '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

@Vandalay111

Posted in: #Hreflang

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?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

2 Comments

Sorted by latest first Latest Oldest Best

 

@RJPawlick198

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.

10% popularity Vote Up Vote Down


 

@Samaraweera270

/ 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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme