: When using Mod_rewrite does google bot see the original url or the rewritten url? If i use the bellow code in my .htacess file would google bot (or any other search spiders) see the example.tumblr.com
If i use the bellow code in my .htacess file would google bot (or any other search spiders) see the example.tumblr.com url or would they see the same url as the user ie. example.co.uk/blog ?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.co.uk/blog$
RewriteCond %{REQUEST_URI} !/standard
RewriteRule ^(.*)$ example.tumblr.com [R]
</IfModule>
More posts by @Welton855
2 Comments
Sorted by latest first Latest Oldest Best
In the case of any redirect, Google (and your users' browsers) will be presented with both URL's.
In the case you presented, however, the users' browsers will display the first URL while the contents of the second URL are requested as you are issuing a 302 Temporary redirect (which implies that the URL the user requested is only being redirected temporarily).
Users are not able to determine the actual URL if you are using mod_rewrite to translate URL's being passed to Apache or as a proxy, however, the example provided is not such a case.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.