Denys06 Posted June 3, 2014 Share Posted June 3, 2014 Hello, I would like to disable via the robots.txt the product pages of languages de, es, it, ru and zh and only the product pages. Indeed, their content is not translated this causes me a duplicate content. Do you know what line of code to apply to achieve this ? Apply the code Disallow: /*es/ does not suit me, because I would like the rest of my site and category can continued to be indexed. Thank you for your tip! Link to comment Share on other sites More sharing options...
Webricks Posted June 4, 2014 Share Posted June 4, 2014 Hello I think robots.txt does not disallow your language pages. Link to comment Share on other sites More sharing options...
Denys06 Posted June 4, 2014 Author Share Posted June 4, 2014 (edited) Yes with robots.txt i can disallow all my language pages but I want disallow only the product pages of some language. Edited June 4, 2014 by Denys06 (see edit history) Link to comment Share on other sites More sharing options...
Webricks Posted June 4, 2014 Share Posted June 4, 2014 (edited) So you can write the code like:- User-agent: *Disallow: /Here Your Page, You Wan't To Disallow / Edited June 4, 2014 by Webricks (see edit history) Link to comment Share on other sites More sharing options...
Denys06 Posted June 4, 2014 Author Share Posted June 4, 2014 (edited) Thank you for your answer, but I would like disallow all products pages for some languages, it's possible ? Edited June 4, 2014 by Denys06 (see edit history) Link to comment Share on other sites More sharing options...
Webricks Posted June 4, 2014 Share Posted June 4, 2014 Yes it is possible. Link to comment Share on other sites More sharing options...
Denys06 Posted June 4, 2014 Author Share Posted June 4, 2014 (edited) Is it possible without write all the products pages one by one ? as Disallow: /*es/ but only for products pages ?Do you have the code please ? Edited June 4, 2014 by Denys06 (see edit history) Link to comment Share on other sites More sharing options...
Webricks Posted June 4, 2014 Share Posted June 4, 2014 It is not possible, you have to disallow pages one by one, the code:- User-agent: *Disallow: /1st page/Disallow: /2nd page/Disallow: /3rd page/ and so on Link to comment Share on other sites More sharing options...
Denys06 Posted June 4, 2014 Author Share Posted June 4, 2014 Ok ;(thank you for your answers Link to comment Share on other sites More sharing options...
Webricks Posted June 4, 2014 Share Posted June 4, 2014 Welcome Deny :-) All the best Link to comment Share on other sites More sharing options...
Denys06 Posted June 4, 2014 Author Share Posted June 4, 2014 The solution is : Disallow: /*es/*.html Link to comment Share on other sites More sharing options...
Webricks Posted June 5, 2014 Share Posted June 5, 2014 Hello Deny Please send me your url that you have to block by robots.txt Link to comment Share on other sites More sharing options...
Denys06 Posted June 5, 2014 Author Share Posted June 5, 2014 Hello, This is an example of product page than I want to block with Disallow: /*es/*.html : http://www.slotcar-union.com/es/instrumentos/1558-hi-spec-double-decker-pro-track-cleaner-rubber.html Link to comment Share on other sites More sharing options...
Webricks Posted June 5, 2014 Share Posted June 5, 2014 It is not possible , you can block any page expect es or etc. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now