Control Panel - Search Engine Optimization (SEO) Settings
This section gives you SEO (search engine optimization) settings such as mod_rewrite and adding item names to URLs. Portions of this section are not available in the LITE edition such as mod_rewrite - see a comparison chart of editions.
If set to On, search engine friendly URLs will be used inside your store. WARNING: This feature is for advanced users only and requires that you enable mod_rewrite on your server as well as upload an .htaccess file with the mod_rewrite rules. Leave set to Off if you do not know what this is. If set to On, URLs generated inside your store will be parsed according to the mod_rewrite rules provided in the yellow box below. For more information on how to setup these rules see below.
If Mod Rewrite is set to On, this setting tells how parameters in the URL will be separated. Note: If you have a pre-existing store with mod_rewrite, it is not recommended to set this to Underscore. This will cause your old links in search engines to die. Also, the opposite character will be used to separate words in the 'x' parameter (i.e. name of the link) if Url With Name below is set to Yes.
If Mod Rewrite is set to On, this is the name used in links to your homepage from within the store (e.g. home, index.html, shop, etc...). Keep in mind the file doesn't have to exist because the URL will get rewritten to your actual store URL. Note: You will need to modify the first line in the mod rewrite rules we provide to reflect the name you choose: RewriteRule ^[Url Home File] shop.php
URL Ends With
If Mod Rewrite is set to On, this setting determines how mod_rewritten URLs end. Be sure to use the correct rule set for the ending you've chosen (see the online documentation).
URL With Name
If set to Yes, where applicable (e.g. item links, category links, review links, marketplace links, etc), the Item Name or Category Name will be added to the link (depending on context). It's sole purpose is to help with search engine ranking. Setting it to Yes or No will not affect the functionality of your store. Note: This setting can be used with mod_rewrite On or Off (mod_rewrite is not available in Lite version). With mod_rewrite Off, a 'x=[name here]' parameter is added to the end of the URL. With mod_rewrite On, the name is simply added to the end of the URL. Be sure to use the correct rule set for the ending you've chosen (see the online documentation).
Because the SEO URLs are position based, when a value cannot be determined say for a Node, this placeholder is used (default is 'none').
URL Name Length
If the Url With Name setting above is set to Yes, this setting tells the maximum character length (default 200 characters). Note: Setting this too long or two short is not recommended. Too long (over 2000 characters) and search engines might not like your URLs. Too short and you defeat the purpose of adding names to the URLs. We recommend keeping it set at 200.
When set to On, links that would normally contain Amazon's domain will be cloaked to use your domain. This includes direct Amazon buy buttons, the View Cart link and the Checkout link (when the internal shopping cart is disabled).
If set to Yes, where applicable, canonical links will be added to the HEAD section of category and subcategory pages. This tells search engines there is a preferred page for a particular category/subcategory. This applies expecially to sub pages where the sort selection might change, but the category and items are the same (just ordered differently). See Google for more information about Canonical Links.
For example if you had a Book category, it can be sorted by Relevance, Bestselling and so on. Each of these sort options has a different URL, with fundamentally the same content (products are just in a different order).
So Categories and Subcategory pages would have a canonical link only if the sort is changed from the default. And pages only refer to other variations with the same page number so you don't lose search relevance with those pages.
For example, if you the main page for your Book category is: http://www.domain.com/shop.php?c=books&x=Books
And while browsing your store you changed the sort to Bestselling, this page... http://www.domain.com/shop.php?p=1&c=books&s=rc
...would have a canonical link to the first page such as this: <link rel="canonical" href="http://www.domain.com/shop.php?c=books&x=Books">
So variations of Page 1 will always have canonical links to Page 1, Page 2 to Page 2 and so on.
NoFollow allows you to keep certain links from being spidered by search engines that honor this directive. We recommend using NoFollow with all of the link sections below. Check the boxes for those link sections you would like to be NoFollow (non-spiderable). Uncheck if you want search engines to spider them. This keeps unwanted links from showing up in search engine results and saves bandwidth. Note: Links to your main store Categories and Item pages are always spiderable.
. Breadcrumbs - All breadcrumb links except the Home and first main Category link
. Similar Item Links - Any similar/related/accessory/maker links
. Marketplace Links - Links to and inside the Marketplace pages
. Review Links - Links to and inside the Review pages
. Subcategory Box - All links inside this box
. Related Category Box - All links inside this box
. Bestseller Box - All links inside this box
. New Release Box - All links inside this box
. Tag Cloud Box - All links inside this box
. Narrow By Brand Box - All links inside this box
. Narrow By Price Box - All links inside this box
. Info Box - All links inside this box
Mod Rewrite Rulesets last updated in v5.4.1
Here are the mod_rewrite rulesets you would use depending on how you've configured the above settings. They would either go in a .htaccess file that you'd place in the same location as your shop.php file or you'd place them in your http.conf file
PLEASE NOTE: While it may be possible to further customize the rulesets for individual preferences, we are unable to offer support for these changes. As the rulesets are upgraded from time to time in conjunction with various upgrades, we would be obligated to offer alternate rules for all users with custom sets. Therefore we cannot respond to requests for modifications of the existing rulesets.
Select the rule set that matches your settings:
Ruleset 1 URL Separator: Hyphen URL Ends With: .html URL With Name: Yes Ruleset 2 URL Separator: Hyphen URL Ends With: .html URL With Name: No Ruleset 3 URL Separator: Hyphen URL Ends With: [nothing] URL With Name: Yes Ruleset 4 URL Separator: Hyphen URL Ends With: [nothing] URL With Name: No
Ruleset 5 URL Separator: Underscore URL Ends With: .html URL With Name: Yes Ruleset 6 URL Separator: Underscore URL Ends With: .html URL With Name: No Ruleset 7 URL Separator: Underscore URL Ends With: [nothing] URL With Name: Yes Ruleset 8 URL Separator: Underscore URL Ends With: [nothing] URL With Name: No
If you see a 500 or 404 error on any pages after setting up your rules, set Mod Rewrite to No until we can help you resolve the problem. Then email us the RULE SET # you are using and the URL(s) where you see the problem.
Also supported by the above rules is the ability for you to manually link directly to an item if you would like to do so and also to do a keyword search through a link. The examples below use the URL Separator as Hyphen (substitute the Hyphen with an Underscore if you are using that as your URL Separator)...
A direct Item link would look like... http://www.yoursite.com/item-[ASIN]
A direct Keyword link would look like... http://www.yoursite.com/search-[Keyword]
Direct Custom Page Links:
Since v3.0, AOM allows you to create Custom Pages inside the Control Panel. You can link to them using the standard "a" parameter such as:
If you want to access your Custom Pages through mod_rewrite then you would add the line in red from the appropriate set of rules above. We have defaulted the rule "page-" though this could be anything so long as it doesn't use (home, reviews- or buy- from the rules above it).
So if you used "page-" in the rule, you would link to your Custom Page as follows:
(created inside the Control)