Optimizing page content. Add nofollow wordpress.

As you know, links on sites can transfer the weight of pages and the site as a whole. End-to-end links pass less weight, and those that on separate pages convey more weight, but only from one page. Adding an attribute nofollow according to google, it should prohibit search robots from passing page weight through external links.

In this tutorial, I propose to consider a code snippet for closing all links., which are in the body of the article from indexing using the attribute nofollow. Topic WordPress the template, in the folder of the template itself there is a file functions.php.

Add the following code snippet to the file.

Code checked, everything works perfectly. Good luck with development.


Купить хостинг WordPress
WordPress tutor
Online tutoring services. List of courses I teach
  • Basic web design course;
  • Site layout;
  • General course on CMS WordPress and continuation of the course on template development;
  • Website development in PHP.
Read more on the page WordPress tutor
*/

Nikolaenko Maxim

Director of web studies ProGrafika. I am developing, website design and promotion. Always glad to new blog readers and good clients.


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Templates for WordPress
The best hosting in Ukraine
Stable hosting for Drupal