Jump to content

noindex & nofollow tag


Recommended Posts

Hi,

Few pages of my website having below tags: 

<meta name="robots" content="index,follow" />    &    <meta name="robots" content="noindex,nofollow" />

I am new at prestashop platform and I checked header.tpl file (attached) and CMS both but I didn't find the way to change these tags as per my requirement. Can anyone help me on same?

Thanks

Swadesh

header.tpl

Share this post


Link to post
Share on other sites

Hello:

CMS pages has his own config field for this value. Blocklayered module modify this values too. You can play around with this 2 funtions, or please explain in more detail what exactly do you need.

Regards

Share this post


Link to post
Share on other sites

Hi,

Depends on object. Ever Ultimate SEO does.

There's some noindex modules on Prestashop Addons, else you will probably be able to change index/follow using {$page_name} on tpl files (Prestashop 1.6 only) or {$page.page_name} (Prestashop 1.7 only, but should use child theme).

Here's some SO documentation :

https://stackoverflow.com/questions/44456846/get-current-page-name-to-prestashop-1-7-module

And some documentation about smarty on Prestashop :

https://www.team-ever.com/les-variables-smarty-de-prestashop/

Sorry for no translating, hopefully it will helps

Share this post


Link to post
Share on other sites
15 hours ago, Rolige said:

Hello:

CMS pages has his own config field for this value. Blocklayered module modify this values too. You can play around with this 2 funtions, or please explain in more detail what exactly do you need.

Regards

Hi,

 

Thanks for your comment. One of my page abc.com has <meta name="robots" content="noindex, nofollow" /> and xyz.com page has <meta name="robots" content="index, follow" /> but I am not able to find right file or module to update these tags as per my SEO need. So can you please help me to find that resource. Someone told me that you can update it by header.tpl file bit there is nothing mentioned related to these tags. I attached header.tpl file above, which path is: /www/themes/default-bootstrap/header.tpl

Regards,

Swadesh

Share this post


Link to post
Share on other sites
11 hours ago, swadesh789 said:

Hi,

 

Thanks for your comment. One of my page abc.com has <meta name="robots" content="noindex, nofollow" /> and xyz.com page has <meta name="robots" content="index, follow" /> but I am not able to find right file or module to update these tags as per my SEO need. So can you please help me to find that resource. Someone told me that you can update it by header.tpl file bit there is nothing mentioned related to these tags. I attached header.tpl file above, which path is: /www/themes/default-bootstrap/header.tpl

Regards,

Swadesh

You can modify header tpl but that probably will affect all pages and not dinamically like now according to de specific CMS configuration. You can search on Meta pages too. Good luck.

Share this post


Link to post
Share on other sites
On 11/30/2018 at 10:38 PM, Rolige said:

You can modify header tpl but that probably will affect all pages and not dinamically like now according to de specific CMS configuration. You can search on Meta pages too. Good luck.

It's already managed but I am not finding right file or module... :(

http://www.emirates-dressing.com/en/

http://www.emirates-dressing.com/en/3-woman

Please review these pages source code!

Share this post


Link to post
Share on other sites
  • 1 year later...

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More