How to Remove Robot Meta Tag in Joomla

The "Robot" meta tag, or "<meta name="robots">," is used to tell search engine robots or spiders how to interact with a particular website page. In most cases, this tag is found within the "<head>" and "</head>" tags at the top of a page. In Joomla, the "<meta name="robots">" tag is placed in the "<head>" tags using PHP. You can't just go into your theme files and delete the tag from the theme header. Joomla uses the "html.php" file to place this information and it must be edited from that file.

Things You'll Need

  • FTP client software
  • Code-editing software
Show More

Instructions

    • 1

      Download the "html.php" file from the Joomla libraries using your FTP client software. It is located at "YourJoomlaInstallation/libraries/joomla/document/html/html.php."

    • 2

      Open the document in your code-editing software. Notepad will suffice.

    • 3

      Delete the following line in the document:

      $this->setMetaData('robots', 'index, follow' );

    • 4

      Save your document.

    • 5

      Upload your document to your website files using your FTP client software.

Tips & Warnings

  • You can also set the "$this->setMetaData('robots', 'index, follow' );" to "noindex, nofollow." This will keep the meta tag but prevent indexing and following.

Related Searches:

References

Resources

Comments

You May Also Like

Related Ads

Featured