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 ^(.*)$ http://example.tumblr.com$1   [R]

2 Answers 2


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.

  • Does google see this as borderline blackhat, or is it ok ? How could i change it to pass it to apache as you mensioned ?
    – sam
    Jun 14, 2012 at 21:38
  • 1
    There is nothing "blackhat" about this method, however, Google recommends that you use a canonical URL in this situation. Rather than proxying requests, you should use Tumblr's custom domain feature to implement a subdomain for your Tumblr blog.
    – danlefree
    Jun 14, 2012 at 22:40
  • i agree the simplest way to do this would be to have tumblr on the subdomain but we want it on the subdirectory so that we get the benefit of the backlinks back to the root domain
    – sam
    Jun 15, 2012 at 10:14

Google sees the same URL your users see. They don't have access to your htaccess file just like everybody else.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.