Documentation
Back to website >

Smart SEO Documentation

With Nop Smart SEO you can specify meta data templates, which are used by the Nop Smart SEO plugin to generate meta title, meta description and meta keywords for catalog and product pages.

Live DEMO - see how the Smart SEO would look like in your public store.

Admin DEMO - see the plugin administration.

Creating a SEO Template

With Nop Smart SEO you can specify meta data templates, which are used by the Nop Smart SEO plugin to generate meta title, meta description and meta keywords for category, manufacturer and product pages.

The Nop Smart SEO plugin comes with predefined templates, which generate simple meta data. It is recommended that you edit these templates in order to generate meta data specific to your categories and products.

To edit the Nop Smart SEO templates data, from the Admin panel go to Plugins -> Nop Smart SEO -> SmartSEO Template:

The Nop Smart SEO templates are localizable, so you have the ability to edit them for every language in your NopCommerce web site.

For every category, product or manufacturer page the Nop Smart SEO reads the appropriate data and substitutes the tokens in the title, description and keywords template. The available tokens are:

Category Tokens:

  1. ${name} - Replaced with the name of the category
  2. ${description} - Replaced with the description of the category
  3. ${se-name} - Replaced with the Search Engine Friendly Page name of the category
  4. ${meta-title} - Replaced with the meta title of the category
  5. ${meta-description} - Replaced with the meta description of the category
  6. ${meta-keywords} - Replaced with the meta keywords of the category

Please note that the meta data tokens are available so that you can make use of any existing meta data you might already have setup for a category.

Product Tokens:

  1. ${name} - Replaced with the name of the product
  2. ${short_description} - Replaced with the short description of the product
  3. ${full_description} - Replaced with the full description of the product
  4. ${price} - Replaced with the price of the product
  5. ${manufacturer} - Replaced with the first name of the first manufacturer for the product
  6. ${se-name} - Replaced with the Search Engine Friendly Page name of the product
  7. ${meta-title} - Replaced with the meta title of the product
  8. ${meta-description} - Replaced with the meta description of the product
  9. ${meta-keywords} - Replaced with the meta keywords of the product

Please note that the meta data tokens are available so that you can make use of any existing meta data you might already have setup for a product.

Manufacturer Tokens:

  1. ${name} - Replaced with the name of the manufacturer
  2. ${description} - Replaced with the description of the manufacturer
  3. ${se-name} - Replaced with the Search Engine Friendly Page name of the manufacturer
  4. ${meta-title} - Replaced with the meta title of the manufacturer
  5. ${meta-description} - Replaced with the meta description of the manufacturer
  6. ${meta-keywords} - Replaced with the meta keywords of the manufacturer

Please note that the meta data tokens are available so that you can make use of any existing meta data you might already have setup for a manufacturer.

For advanced users who are familiar with regular expression Nop Smart SEO has a regular expression template for the generation of the meta keywords. Instead of replacing the ${name} placeholder in the keywords template with the name of the category, product or manufacturer, the ${name} token will be replaced with the value matched in each regular expression groups, and keyword combinations will be generated for every group.

For example if you have:

Category Keyword Template - ${name}, buy ${name} online, ${name} prices and your category name is Apparel and Shoes, you can set the regular expression to match these three groups: Apparel and Shoes, Apparel, Shoes.

In this case the keywords generated for your category will be: apparel and shoes, buy apparel and shoes online, apparel and shoes prices, apparel, buy apparel online, apparel prices, shoes, buy shoes online, shoes prices.

If you have already added meta dada to a product, category or manufacturer and you do not want the Nop Smart SEO plugin to override it, you can choose and check one or more of the Do Not Override Default Meta Data checkboxes:

  1. Do Not Override Default Product Meta Data - for product metadata
  2. Do Not Override Default Category Meta Data - for category metadata
  3. Do Not Override Default Manufacturer Meta Data - for manufacturer metadata

You could choose only one, two or all three of them.

For better SEO optimization (removing duplicate content) we added a setting Remove Default Title. If you enable this setting the default title will be used only on the Home page.

Setting the Category Title SEO Template option

This template is used for the generation of the meta title tag for the category page\view for each category.

The tokens used in this template are substituted with the respective data from the category. So for example if the value of your Category Title SEO Template is: buy ${name} online,

then for the category "Computers" the meta title tag of the category page will have the value of: buy computers online.

Setting the Category Description SEO Template option

This template is used for the generation of the meta description tag for the category page\view for each category.

The tokens used in this template are substituted with the respective data from the category. So for example if the value of your Category Description SEO Template is: A great variety of ${name} online from Best Electronics Ltd.,

then for the category "Computers" the meta description tag of the category page will have the value of: A great variety of computers from Best Electronics Ltd.

 Setting Category Keywords SEO Template option

This template is used for the generation of the meta keywords tag for the category page\view for each category.

The tokens used in this template are substituted with the respective data from the category. So for example if the value of your Category Keywords SEO Template is: ${name},buy ${name},${name} prices,${name} online,

then for the category "Computers" the meta keywords tag of the category page will have the value of: computers, buy computers, computers prices, computers online.

Setting the Category Keywords SEO Template Regex option

The regular expression set for this option is used together with the Category Keywords SEO Template for advanced generation of keywords. Please note that the Nop Smart SEO replaces specifically the ${name} token in the Category Keywords SEO Template with the matched groups after the regular expression is applied to the category name.

Sometimes your categories might contain more than one word. For example Desktop Computers and Notebooks. In this case you might want

Desktop Computers and Notebooks to be used not only as one keyword but also as two separate keywords in the various keywords combinations.

For example: desktop computers and notebooks, desktop computers, notebooks, buy desktop computers and notebooks, buy desktop computers, buy notebooks, etc...

To do that you need to specify a regular expression for the Category Keywords SEO Template Regex, which will match the various word combinations in separate regex groups.

For example the following regular expression, which is set by default in Nop Smart SEO: (?:(.+)\s(?:and|&)\s(\S+)|(.*)) will match Desktop Computers and Notebooks and

will also match Desktop Computers in the first match group and Notebooks in the second match group. The match itself and the groups will be used separately to replace the ${name}

token. So you will end up with three combination of your Category Keywords SEO Template. One for the match itself Desktop Computers and Notebooks, one for the

first match group Desktop Computers and one for the second match group Notebooks. If your Category Keywords SEO Template is set to: ${name}, buy ${name}, the generate keywords

will be: desktop computers and notebooks, buy desktop computers and notebooks, desktop computers, buy desktop computers, notebooks, buy notebooks.

As you can see this option gives you great flexibility, if you are familiar with regular expressions to generate the most suitable keyword combinations for you NopCommerce web site.

Setting the Append Product Names to Category Keywords option

If this option is set the Nop Smart SEO plugin will take all the products in a category and append them to the keywords for the category page\view for the category.

For example if you have Satellite 650 and Tecra 950 for your Notebook category. After generating the keywords for the category the Nop Smart SEO will take

these product names and append them to the keywords. So if your generated keywords are:

desktop computers and notebooks, buy desktop computers and notebooks, desktop computers, buy desktop computers, notebooks, buy notebooks.

they will become:

desktop computers and notebooks, buy desktop computers and notebooks, desktop computers, buy desktop computers, notebooks, buy notebooks, satellite 650, tecra 950.

Setting the Prefix Product Keywords with Manufacturer Name option

This option is valid only if the Append Products to Keywords option is set. When products are appended to the category keywords, if the Prefix Product Keywords with Manufacturer Name

option is set, the products will be prefixed with their manufacturer names. If the Satellite 650 and Tecra 950 are both products of Toshiba, the keywords which will be appended to the category keywords will be:

toshiba satellite 650, toshiba tecra 950.

creating a product template

All of the product template options are analogous to their respective category options counter parts and are used for the generation of meta title, description and keywords for products.

NOTE: If you have this setting checked: Do Not Override Default Product Meta Data, please make sure the setting : General And Miscellaneous Settings > SEO Settings > Generate product META description, is NOT checked. Otherwise the Product Description SEO Template setting will not be applied and you will see the product's short description instead.

creating a Manufacturer template

All of the manufacturer template options are analogous to their respective category options counter parts and are used for the generation of meta title, description and keywords for manufacturers.

Category Mapping

With Category mappings you can assign an SEO template to specific categories.

  1. You can set your category mappings at Category Mapping tab.
  2. To insert new mapping to category click the Add new record button and then select the category you want to map your SEO Template to.
  3. You can edit category mappings by clicking the Edit button. When you make the change just click the Update button to save it.
  4. You can delete mappins by clicking the Delete button.

Manufacturer Mapping

With Manufacturer mappings you can assign an SEO template to specific manufacturers.

  1. You can set your manufacturer mappings at Manufacturer Mapping tab.
  2. To insert new mapping to manufacturer click the Add new record button and then select the manufacturer you want to map your SEO Template to.
  3. You can edit manufacturer mappings by clicking the Edit button. When you make the change just click the Update button to save it.
  4. You can delete mappins by clicking the Delete button.

Having multiple SEO Templates

You could have multiple SEO Templates.
They could be Local or Global.
You can combine several templates using mappings.

  1. To add new SEO Template click the Add New Smart SEO Template button.
  2. To edit SEO Template click the Edit button.
  3. To delete SEO Template click the Delete Button.

Working with local templates

You may have strongly specific SEO Templates which apply only to specific mappings.

For example you may want to have one global SEO Template and several local ones and you may want to combine them. You can achieve this by creating new template -> then select the Combine with global template option -> specify you local template -> then create mappings to categories or manufacturers or both.

If you don't select Combine with global template the Local template will replace the Global one in the specified mappings.