Posts: 4,264
Name: Sugarcane Gray
Location: Hell, Southern Spain
|
Quote:
Originally Posted by Seonsmart
Hi there,
I am struggling editing a meta robots tag (with noindex, follow values) for SEO purposes in a single page in Magento.
The page is not a product page is a review one, so I don't know really where to start.
Thank you
|
In the backend of Magento, in the CMS section where you add the pages, there should be meta data fields in there... I can't remember off the top of my head if you can put a robots attribute in there...
The other alternative is to put something into the page templates themselves.
You're looking to edit a .phtml file within your template which should reside here:
Code:
install-folder/app/design/frontend/default/template-name/template/page/
(where template-name is changed to the actual name of the theme you're using)
So if your page is a 2 column layout, put your new meta tag in the file 2columns-left.phtml.
If you only want to apply this to 1 page, but have multiple pages running off that .phtml file, then make a new one and choose that in the Magento CMS. For example, you could make a new .phtml file:
Code:
2columns-left-no-robots.phtml
And just use that as the page template for that particular page.
Hope this helped, I know just how confusing the Magento system can be!
Good luck!
__________________
Please login or register to view this content. Registration is FREE - a project in video and sound.
Please login or register to view this content. Registration is FREE "Absolute Rubbish, an insult to the blues." - NME.
Please login or register to view this content. Registration is FREE - Come use our agency :)
|