Last Updated: 12 Nov 2023
|
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
marketing-tech:seo:using-htaccess-redirects-for-a-map-page [Apr 23, 2009 07:18 AM] dordal created |
marketing-tech:seo:using-htaccess-redirects-for-a-map-page [Oct 29, 2023 03:27 PM] 47.128.17.220 removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | = Using .htaccess redirects for a ' | ||
+ | Many large companies have divisions all over the world, and thus the first time you come to their site, you get a world map asking you to ' | ||
+ | |||
+ | How do you overcome this? Use an '' | ||
+ | RewriteCond %{HTTP_USER_AGENT} (.*)(googlebot|msnbot|slurp|teoma|spider|crawler)(.*) [NC] | ||
+ | RewriteCond %{REQUEST_URI} ^/$ | ||
+ | RewriteRule ^(.*)$ http:// | ||
+ | </ | ||
+ | |||
+ | A few notes on this technique: technically, | ||
+ | |||
+ | Interestingly, |