The URLs you want blocked are occasionally referenced by robots.txt

Spread the love
  • Yum

The URLs you want blocked are occasionally referenced by robots.txt. What is the better alternative against this?

  • “noindex” tag
  • “nofollow” tag
  • Ht.access
  • None of the above

Answer – The right answer is the First option “noindex” tag

Explanation

The better alternative against URLs referenced in robots.txt that you want blocking is the “noindex” tag.
The “noindex” tag is an HTML meta tag added to individual web pages to instruct search engines not to index or include those specific pages in search engine results. Using the “noindex” tag, you prevent search engines from crawling and indexing specific URLs, regardless of what is specified in the robots.txt file.

On the other hand, the “nofollow” tag indicates to search engines that a particular link should not be followed or used for ranking purposes. It controls the flow of PageRank within a website and does not directly address the issue of blocking URLs from being indexed.

Ht.access is a configuration file used on web servers to control various aspects of website functionality and permissions. While it prevents access to specific URLs, there are more appropriate solutions for blocking URLs referenced in robots.txt.

So, the “noindex” tag is the better alternative to prevent search engines from indexing specific URLs mentioned in the robots.txt file.


Spread the love
  • Yum

Leave a Reply

Instagram
error: Content is protected !!