Vilas Posted July 30, 2015 Share Posted July 30, 2015 Hello Friends, I wanted to know anyone have any idea about blocking certain pages using robot.txt? I wanted to block all pages to be crawl by all search engines. Pages I wanted to block manufacturer ( all brands ) suppliers ( all suppliers ) Will be great if anyone help in this regards. Thanks & Regards Link to comment Share on other sites More sharing options...
Vilas Posted July 30, 2015 Author Share Posted July 30, 2015 will be great if you tell us what changes to be done to block manufacture pages? Link to comment Share on other sites More sharing options...
Zohaib-fk Posted August 3, 2015 Share Posted August 3, 2015 Hi, Could you check with Disallow: url of pages or folder to be block access. Another solution is inform search engine bot not to index or crawl web pages with following code <meta name="robots" content="noindex, nofollow"> <meta name="googlebot" content="noindex, nofollow"> Link to comment Share on other sites More sharing options...
Vilas Posted August 3, 2015 Author Share Posted August 3, 2015 Hi, That will block complete website indexing. We only wanted to block certain pages those are realted to manufacture. i.e. domain name /manufacturer & domain name /id_manufacturer name Thanks Link to comment Share on other sites More sharing options...
selectshop.at Posted August 3, 2015 Share Posted August 3, 2015 (edited) After blocking the pages don't forget to exclude them form the sitemap. On Google Sitemap module you can exclude them. The best possibility to block suppliers and manufacturer, is to don't use the module. Disable them, than the yould not be crawled. Edited August 3, 2015 by selectshop.at (see edit history) Link to comment Share on other sites More sharing options...
Zohaib-fk Posted August 4, 2015 Share Posted August 4, 2015 (edited) You need to put some programming condition like if -else ,so that only manufacturer or supplier pages have meta tags. In other pages those meta tags will not be included therefore they will be index and manufacturer ,supplier pages will have meta tags for disable indexing. Also remove them from sitemap, all webmasters tools. PrestaShop Tutorials Videos [How to do Tasks] https://www.prestashop.com/forums/topic/907438-prestashop-tutorials-videos-how-to-do-tasks/ Edited June 26, 2021 by Zohaib-fk Post Updated (see edit history) 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