foreverz Posted June 16, 2011 Share Posted June 16, 2011 Hello, If my .htaccess looks like this RewriteRule ^bg/guest-tracking$ /guest-tracking.php?isolang=bg [QSA,L] RewriteRule ^bg/search$ /search.php?isolang=bg [QSA,L] RewriteRule ^bg/zabravena-parola$ /password.php?isolang=bg [QSA,L] How exactly must be my robots.txt? Disallow: /guest-tracking.php Disallow: /search.php? Disallow: /password.php ThanksP.S. Sorry for my englishP.S.2 Google indexed xxx.com/bg/guest-tracking & etc. Link to comment Share on other sites More sharing options...
Mark Hesketh Posted June 17, 2011 Share Posted June 17, 2011 Hi Foreverz,I'm assuming /bg/ is based on a language pack? Do you have multiple languages on your store or just one? Disallow: /bg/ This would prevent indexing of any files within the /bg/ directory and sub directories.If you just have the one language however, you can disable/delete the unused language packs, and recreate your robots.txt and .htaccess files using the Back Office generators, and they will create your URLs without the /bg/ sub directory. Link to comment Share on other sites More sharing options...
foreverz Posted June 17, 2011 Author Share Posted June 17, 2011 Hi Mark,Thank you response! Yes /bg/ is a language pack I deleted the unused language packs, recreate my robots.txt and .htaccess files using the Back Office generators. Everything working fine. One question about renamed friendly url like this RewriteRule ^zabravena-parola$ /password.php [QSA,L] How exactly must be my robots.txt? Disallow: /password.php[QSA,L] Thanks Link to comment Share on other sites More sharing options...
Recommended Posts