javascript - Update the metatag in wordpress -


currently using yoast plugin seo. default assigns meta tag author page:

<meta name="robots" content="noindex,follow,noodp"/> 

how can update tag to:

<meta name="robots" content="noindex, nofollow,noodp" /> 

  1. log in wordpress website. when you’re logged in, in ‘dashboard’. on left-hand side, see menu. in menu, click on ‘seo’.

  2. the ‘seo’ settings expand providing additional options. if don’t see ‘tools’ setting in ‘seo’ menu, please enable advanced settings first. yoast seo > dashboard (advanced disabled) menu advanced settings disabled enable advanced features

  3. click on ‘tools’. yoast seo > tools
  4. click on ‘file editor’. menu not appear if wordpress install has disabled file editing. please enable file editing or edit file through ftp.

  5. make changes robots.txt file. if not have robots.txt file, click button create it.

source:

https://kb.yoast.com/kb/how-to-edit-robots-txt-through-yoast-seo/


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -