Jump to content

CMS pages nofollow, no index


Jeet Kune Do

Recommended Posts

Edit robots.txt in the root directory of PrestaShop and add:

Disallow: /cms.php



or if your shop is in a subdirectory called shop:

Disallow: /shop/cms.php



If you don't have a robots.txt file, create a blank one with chmod 666 permissions, then go to Tools > Generators and click "Generate robots.txt file".

Link to comment
Share on other sites

#rocky, you always there where we needed. Thank you!

So If I understand right it should no index no follow every pages I create in CMS like delivery, terms and conditions etc.


What about if I would like to index and follow only one page in CMS like for example an article and disallow others?


I wish edit the title of the threat to [solved]. How can I do that?

Link to comment
Share on other sites

In the robots.txt I have also disabled /modules directory this is fine, but what about if I would like to index for example the module top horizontal menu which contain important links or the sidebox category. Should I delete the directory /module form robots txt and disabled every single module which I don't want to get indexed? Is other ways to do it?


I would like my "top horizontal menu" to get index for some links, but inside it have delivery, payments, terms of conditions that I don't want to get indexed. Ok, no problem I disabled CMS in robots.txt,

but the CMS pages have a article page that I would like to index.


I hope I explained my self.

Link to comment
Share on other sites

  • 1 month later...
Edit robots.txt in the root directory of PrestaShop and add:

Disallow: /cms.php



or if your shop is in a subdirectory called shop:

Disallow: /shop/cms.php



If you don't have a robots.txt file, create a blank one with chmod 666 permissions, then go to Tools > Generators and click "Generate robots.txt file".



Hi, I followed your instructions but Google has still indexed at least one of the cms pages. Would it help if I disallowed the "content" folder which is where the cms pages appear to reside ? Or would this disallow valid content which I want indexed ?
Link to comment
Share on other sites

No, that wouldn't help, since the content directory doesn't actually exist. Some search engines simply ignore the robots.txt. In that case, there isn't much you can do.


Damn it, I don't particularly want my general conditions appearing before all and sundry ! I have another site developed under Zen Cart and I don't have a problem there.
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...
Edit robots.txt in the root directory of PrestaShop and add:

Disallow: /cms.php



or if your shop is in a subdirectory called shop:

Disallow: /shop/cms.php



If you don't have a robots.txt file, create a blank one with chmod 666 permissions, then go to Tools > Generators and click "Generate robots.txt file".



Hi, I followed your instructions but Google has still indexed at least one of the cms pages. Would it help if I disallowed the "content" folder which is where the cms pages appear to reside ? Or would this disallow valid content which I want indexed ?


The problem is that robots.txt is for crawlers and can't be used if the pages are already in Google index.
You should use no index for these pages.

And it actually makes it worse to have them in robots.txt. Because the crawlers will get to robots.txt and see that it shouldn't visit these pages. So remove them from robots.txt and add noindex to them.
Link to comment
Share on other sites

  • 2 years later...

hi ,
how can i add noindex  & nofollow in particular CMS page Like {* /content/9-featured-products-blog *} and particular CATEGORY page Like {* /30-testing*} In PrestaShop V. 1.5.6
Please Help
thank you

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...