Tried adding {{store}} and {{store_name}} in the Mask for Meta Title to output the site name on each product in the Product Fields Auto-Generation. Any idea if possible or what the correct store name variable is?
Magento – add store name dynamically to all product meta titles
magento2productseo
Related Solutions
This is a business question, probably not the best forum to place it, although we don't have an alternative for you. There two approaches to SEO, the business (qualitative - artistic) and the technical (quantitative - technology). SEO services and most sites will use majority business and minority technology, the technical approach is the opposite.
This is where it becomes important, the top 5% of retailers generate 50% of all online revenue, the top 1% generate 80% of that. Now, either business -or- technical can, with a lot of experience, time, and determination achieve 80-95% exposure, however you are still fighting for 50% of the revenue.
The top enterprise companies combine both technical and business together to get in to the top 5%, the top 1% improve with higher efficiency, trust, product count, (we use scaled tier 1/2 technology for the top 5% & top 1%).
Bringing it all together the meta description is good to have - be it automated from the description in code (140chars max) or manually entered, the other two are basically irrelevant. The problem is that it is just a drop in the ocean. On the business side you need high product counts, not using canonicals (it confuses everything), actual changing written content, social media, etc. On the technical side you need hosting, tier 1/2 is 2x less effort to rank that tier 3/4 (Nexcess) and 2x less effort than tier 5/6 (optimised Magento hosts) and 2x less effort that tier 7 (mass hosts) - you still need 1-2s dynamic page loads (no fpc).
To point you in the right direction, remove the categories in the product urls and add a 1-2 keyword prefix to the product. The other factor is that 70% of Google's revenue is generated by Adwords, they are not going to make it easy.
You will find everyone is now starting to jump on this as Google are making it harder to rank (revenue), there is more competition in Adwords therefore they are becoming less effective by the month, and everything is moving towards trust (enterprise sites) - so unless you are either very very niche or look like a large enterprise (hence why we use scaled hosting from Large Enterprise consultants) - you will end spending 8% of revenue on marketing compared to Amazon.com's 4%.
Based on the technical side most sites will take months to reindex, so what happens is people make a change, wait a few weeks, see no difference and make another change. By the time their change has been indexed there are multiple other factors in play and they never know what works and what doesn't. At around 30,000 products on top tier hosting is the breakeven where you can let the site just run and it will generate revenue, below that you need to increase your business methods to offset the lack of content (the wonders of onboarding tools).
Now, why can't everyone use tier 1/2 hosting or tier 3/4 (Nexcess clusters), well it is much slower than the lower tier hosts, so you need to pay more for the same result. So you are then balancing the cost of the hosting and architecture against the cost of your time to rank via business methods. Again, we bypass this as some consultants found a way to combine the two so we use their hosting.
It not what you want to hear, but as they say, knowledge is power.
Of course, you can restrict your review pages from indexation. That can be done by removing links to this page and moving the reviews list to the main product pages. This is the way most of users who have a custom theme choose.
However, a better alternative to this 'standard' solution would be changing meta descriptions and meta titles for your reviews page.
Just copy this: /app/code/core/Mage/Page/Block/Html/Head.php to: /app/code/local/Mage/Page/Block/Html/Head.php
and modify (the example for meta titles and meta description will be the same): from:
public function getTitle()
{
if (empty($this->_data['title'])) {
$this->_data['title'] = $this->getDefaultTitle();
}
return htmlspecialchars(html_entity_decode(trim($this->_data['title']), ENT_QUOTES, 'UTF-8'));
}
to
public function getTitle()
{
if (empty($this->_data['title'])) {
$this->_data['title'] = $this->getDefaultTitle();
}
///Added 'Review for' for title
if ($this->_getCurrentFullActionName() == 'review_product_list') {
$this->_data['title'] = $this->__('Reviews for') . ' ' . $this->_data['title'];
}
///
return htmlspecialchars(html_entity_decode(trim($this->_data['title']), ENT_QUOTES, 'UTF-8'));
}
protected function _getCurrentFullActionName()
{
$controller = Mage::app()->getFrontController();
if(is_object($controller) && is_callable(array($controller, 'getAction'))){
$action = $controller->getAction();
if(is_object($action) && is_callable(array($action, 'getFullActionName'))){
$actionName = $action->getFullActionName();
if($actionName) return $actionName;
}
}
return null;
}
This and other problems, for example, not friendly URLs for review pages or duplicate content in different categories:
http://clients-sherodesigns.com/newstore/review/product/list/id/456/category/17/ http://clients-sherodesigns.com/newstore/review/product/list/id/456/
can be solved by using MageWorx SEO Suite Ultimate - the software will correct all the issues with URLs and duplicate content:
http://clients-sherodesigns.com/newstore/khaki-bowery-chino-pants/reviews
Best Answer
Unfortunately auto-generation fields doesn't allow to use store name for mask. And store name could be a problem to generate product meta title in this way because every product could be assigned to the website.
Furthermore I do not think you need this way to generate product title. Here is way would be more useful I think..
Create new module
you need to define new event
and add event handler app/code/Vendor/Module/Observer/AfterProductLoad.php
do not forget to upgrade system
Hope this helps.