Overwrtie robots not working

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
810
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Nov 13, 2005 8:16 pm

Overwrtie robots not working

Post by 810 » Thu Aug 11, 2016 1:23 pm

Hi,

I'm fixing some issues that some pages are indexed, so I want to exclude it by the robots.
But for some reason it doesn't work, have someone a clue

fix: https://github.com/Kunena/Kunena-Forum/pull/4292/files

810
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Nov 13, 2005 8:16 pm

Re: Overwrtie robots not working

Post by 810 » Thu Aug 11, 2016 1:37 pm

ok, got it working now, needed a extra parameter.

$this->document->setMetaData('robots', $robots, 'robots');


Locked

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”