Forums

Dissallow: for a wrapper page Joomla?

vidweb 12 Dec, 2010
I have a number of wrappers on my site.

In terms of good SEO I want to make sure that SE crawlers do not spider these wrapper pages as it will affect my page PR.

Within the Article Manager and Article - under Metadata Information it shows the heading "Robots" field where you can insert disallow: to have the crawler exclude that page.

Is it possible somehow to include a disallow: for a wrapper and if so how?

I believe that the crawler won't index what's in the wrapper on that page but as I have an article which is completely optimised and this article is on the same page where the wrapper is displayed.

Won't the search engines deduct points off the page PR because of the wrapper (iframe) I have heard they do this?

Cheers
Harvey51 13 Apr, 2012
Put this in your template.php file, directly after '<jdoc:include type="head" />'

// DMC - set robots for wrapper pages
<?php
$document =& JFactory::getDocument();
$view = JRequest::getVar('view');
if ($view == 'wrapper') { $document->setMetaData('robots','noindex,follow'); }
?>
This topic is locked and no more replies can be posted.