Associate-O-Matic v5 Documentation   Last Updated: 2013-11-26
 
 
   STORE
· Getting Started
· Amazon
· Categories
· Home Page
· Merchant
· Shopping Cart
· Site
· Subcategories
 
   CONTENT
· Built-In Boxes
· Custom Boxes
· Custom Pages
· Currency
· Display
· Meta Descriptions
· Meta Keywords
· Reviews
· RSS
· Search
· Titles
 
   APPEARANCE
· Background
· Buttons
· Colors
· CSS
· Images
· Layout
· Tabs
· Text
· Themes
 
   OPTIMIZE
· Advanced
· Cache
· Errors
· Filters
· Reports
· SEO
 
 
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.

Mod Rewrite 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.
URL Separator 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.

Hyphen (-) Examples:
http://www.yoursite.com/Books-1000-0553210793.html
http://www.yoursite.com/Books-1000-0099244721-Timeline.html
http://www.yoursite.com/Books-1000-0545010225-Harry_Potter_and_the_Deathly_Hallows.html

Underscore (_) Examples:
http://www.yoursite.com/Books_1000_0553210793.html
http://www.yoursite.com/Books_1000_0099244721_Timeline.html
http://www.yoursite.com/Books_1000_0545010225_Harry-Potter-and-the-Deathly-Hallows.html
URL Home File 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).
URL Placeholder 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.
URL Cloak 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).
Canonical Links 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&amp;x=Books">

So variations of Page 1 will always have canonical links to Page 1, Page 2 to Page 2 and so on.

No Follow 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.

Example:
<a href='http://www.yourdomain.com/' rel='nofollow'>Your Link</a>

Link Sections:
. 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.


Ruleset 1        Last Updated: v5.4.1

URL Separator: Hyphen         URL Ends With: .html         URL With Name: Yes

# Ruleset 1 - AOM v5.4.1
RewriteEngine on
RewriteRule ^home shop.php
RewriteRule ^buy-([A-Za-z0-9+_]+)-([a-z0-9,]+)-([A-Za-z0-9]+)-([A-Za-z]+)-([0-9]+)-(.*).html shop.php?c=$1&n=$2&i=$3&m=$4&p=$5&a=buy
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([A-Za-z0-9+_]+)-([a-z]+)-([0-9]+).html shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([A-Za-z0-9+_]+)-([a-z]+)-([0-9]+).rss shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([a-z]+)-([0-9]+)-(.*).html shop.php?c=$1&n=$2&k=$3&s=$4&p=$5
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([a-z]+)-([0-9]+)-(.*).rss shop.php?c=$1&n=$2&k=$3&s=$4&p=$5&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-([a-z]+)-([0-9]+)-(.*).html shop.php?c=$1&n=$2&s=$3&p=$4
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-([A-Za-z0-9]+)-(.*).html shop.php?c=$1&n=$2&i=$3
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*).html shop.php?c=$1&n=$2
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*).rss shop.php?c=$1&n=$2&rss=1
RewriteRule ^page-(.*).html shop.php?a=$1
RewriteRule ^([A-Za-z0-9+_]+)-(.*).html shop.php?c=$1
RewriteRule ^item-([A-Za-z0-9]+) shop.php?i=$1
RewriteRule ^search-(.*) shop.php?k=$1

Ruleset 2        Last Updated: v5.4.1

URL Separator: Hyphen        URL Ends With: .html        URL With Name: No

# Ruleset 2 - AOM v5.4.1
RewriteEngine on
RewriteRule ^home shop.php
RewriteRule ^page-(.*).html shop.php?a=$1
RewriteRule ^buy-([A-Za-z0-9+_]+)-([a-z0-9,]+)-([A-Za-z0-9]+)-([A-Za-z]+)-([0-9]+).html shop.php?c=$1&n=$2&i=$3&m=$4&p=$5&a=buy
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([A-Za-z0-9+_]+)-([a-z]+)-([0-9]+).html shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([A-Za-z0-9+_]+)-([a-z]+)-([0-9]+).rss shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([a-z]+)-([0-9]+).html shop.php?c=$1&n=$2&k=$3&s=$4&p=$5
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([a-z]+)-([0-9]+).rss shop.php?c=$1&n=$2&k=$3&s=$4&p=$5&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-([a-z]+)-([0-9]+).html shop.php?c=$1&n=$2&s=$3&p=$4
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-([A-Za-z0-9]+).html shop.php?c=$1&n=$2&i=$3
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+).html shop.php?c=$1&n=$2
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+).rss shop.php?c=$1&n=$2&rss=1
RewriteRule ^item-([A-Za-z0-9]+) shop.php?i=$1
RewriteRule ^search-(.*) shop.php?k=$1
RewriteRule ^([A-Za-z0-9+_]+).html shop.php?c=$1

Ruleset 3        Last Updated: v5.4.1

URL Separator: Hyphen        URL Ends With: [nothing]        URL With Name: Yes

# Ruleset 3 - AOM v5.4.1
RewriteEngine on
RewriteRule ^home shop.php
RewriteRule ^buy-([A-Za-z0-9+_]+)-([a-z0-9,]+)-([A-Za-z0-9]+)-([A-Za-z]+)-([0-9]+)-(.*) shop.php?c=$1&n=$2&i=$3&m=$4&p=$5&a=buy
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([A-Za-z0-9+_]+)-([a-z]+)-([0-9]+).rss shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([A-Za-z0-9+_]+)-([a-z]+)-([0-9]+) shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([a-z]+)-([0-9]+)-(.*).rss shop.php?c=$1&n=$2&k=$3&s=$4&p=$5&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([a-z]+)-([0-9]+)-(.*) shop.php?c=$1&n=$2&k=$3&s=$4&p=$5
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-([a-z]+)-([0-9]+)-(.*) shop.php?c=$1&n=$2&s=$3&p=$4
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-([A-Za-z0-9]+)-(.*) shop.php?c=$1&n=$2&i=$3
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*).rss shop.php?c=$1&n=$2&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*) shop.php?c=$1&n=$2
RewriteRule ^page-(.*) shop.php?a=$1
RewriteRule ^item-([A-Za-z0-9]+) shop.php?i=$1
RewriteRule ^search-(.*) shop.php?k=$1
RewriteRule ^([A-Za-z0-9+_]+)-(.*)/?$ shop.php?c=$1

Ruleset 4        Last Updated: v5.4.1

URL Separator: Hyphen        URL Ends With: [nothing]        URL With Name: No

# Ruleset 4 - AOM v5.4.1
RewriteEngine on
RewriteRule ^home shop.php
RewriteRule ^page-(.*) shop.php?a=$1
RewriteRule ^item-([A-Za-z0-9]+) shop.php?i=$1
RewriteRule ^search-(.*) shop.php?k=$1
RewriteRule ^buy-([A-Za-z0-9+_]+)-([a-z0-9,]+)-([A-Za-z0-9]+)-([A-Za-z]+)-([0-9]+) shop.php?c=$1&n=$2&i=$3&m=$4&p=$5&a=buy
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([A-Za-z0-9+_]+)-([a-z]+)-([0-9]+).rss shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([A-Za-z0-9+_]+)-([a-z]+)-([0-9]+) shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([a-z]+)-([0-9]+).rss shop.php?c=$1&n=$2&k=$3&s=$4&p=$5&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-(.*)-([a-z]+)-([0-9]+) shop.php?c=$1&n=$2&k=$3&s=$4&p=$5
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-([a-z]+)-([0-9]+)/?$ shop.php?c=$1&n=$2&s=$3&p=$4
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)-([A-Za-z0-9]+)/?$ shop.php?c=$1&n=$2&i=$3
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)/?$.rss shop.php?c=$1&n=$2&rss=1
RewriteRule ^([A-Za-z0-9+_]+)-([a-z0-9,]+)/?$ shop.php?c=$1&n=$2
RewriteRule ^([A-Za-z0-9+_]+)/?$ shop.php?c=$1

Ruleset 5        Last Updated: v5.4.1

URL Separator: Underscore        URL Ends With: .html        URL With Name: Yes

# Ruleset 5 - AOM v5.4.1
RewriteEngine on
RewriteRule ^home shop.php
RewriteRule ^buy_([A-Za-z0-9+-]+)_([a-z0-9,]+)_([A-Za-z0-9]+)_([A-Za-z]+)_([0-9]+)_(.*).html shop.php?c=$1&n=$2&i=$3&m=$4&p=$5&a=buy
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([A-Za-z0-9+-]+)_([a-z]+)_([0-9]+).html shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([A-Za-z0-9+-]+)_([a-z]+)_([0-9]+).rss shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([a-z]+)_([0-9]+)_(.*).html shop.php?c=$1&n=$2&k=$3&s=$4&p=$5
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([a-z]+)_([0-9]+)_(.*).rss shop.php?c=$1&n=$2&k=$3&s=$4&p=$5&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_([a-z]+)_([0-9]+)_(.*).html shop.php?c=$1&n=$2&s=$3&p=$4
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_([A-Za-z0-9]+)_(.*).html shop.php?c=$1&n=$2&i=$3
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*).html shop.php?c=$1&n=$2
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*).rss shop.php?c=$1&n=$2&rss=1
RewriteRule ^page_(.*).html shop.php?a=$1
RewriteRule ^item_([A-Za-z0-9]+) shop.php?i=$1
RewriteRule ^search_(.*) shop.php?k=$1
RewriteRule ^([A-Za-z0-9+-]+)_(.*).html shop.php?c=$1

Ruleset 6        Last Updated: v5.4.1     

URL Separator: Underscore        URL Ends With: .html        URL With Name: No

# Ruleset 6 - AOM v5.4.1
RewriteEngine on
RewriteRule ^home shop.php
RewriteRule ^page_(.*).html shop.php?a=$1
RewriteRule ^buy_([A-Za-z0-9+-]+)_([a-z0-9,]+)_([A-Za-z0-9]+)_([A-Za-z]+)_([0-9]+).html shop.php?c=$1&n=$2&i=$3&m=$4&p=$5&a=buy
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([A-Za-z0-9+-]+)_([a-z]+)_([0-9]+).html shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([A-Za-z0-9+-]+)_([a-z]+)_([0-9]+).rss shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([a-z]+)_([0-9]+).html shop.php?c=$1&n=$2&k=$3&s=$4&p=$5
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([a-z]+)_([0-9]+).rss shop.php?c=$1&n=$2&k=$3&s=$4&p=$5&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_([a-z]+)_([0-9]+).html shop.php?c=$1&n=$2&s=$3&p=$4
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_([A-Za-z0-9]+).html shop.php?c=$1&n=$2&i=$3
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+).html shop.php?c=$1&n=$2
RewriteRule ^([A-Za-z0-9]++-)_([a-z0-9,]+).rss shop.php?c=$1&n=$2&rss=1
RewriteRule ^item_([A-Za-z0-9]+) shop.php?i=$1
RewriteRule ^search_(.*) shop.php?k=$1
RewriteRule ^([A-Za-z0-9+-]+).html shop.php?c=$1

Ruleset 7        Last Updated: v5.4.1

URL Separator: Underscore        URL Ends With: [nothing]        URL With Name: Yes

# Ruleset 7 - AOM v5.4.1
RewriteEngine on
RewriteRule ^home shop.php
RewriteRule ^buy_([A-Za-z0-9+-]+)_([a-z0-9,]+)_([A-Za-z0-9]+)_([A-Za-z]+)_([0-9]+)_(.*) shop.php?c=$1&n=$2&i=$3&m=$4&p=$5&a=buy
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([A-Za-z0-9+-]+)_([a-z]+)_([0-9]+).rss shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([A-Za-z0-9+-]+)_([a-z]+)_([0-9]+) shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([a-z]+)_([0-9]+)_(.*).rss shop.php?c=$1&n=$2&k=$3&s=$4&p=$5&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([a-z]+)_([0-9]+)_(.*) shop.php?c=$1&n=$2&k=$3&s=$4&p=$5
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_([a-z]+)_([0-9]+)_(.*) shop.php?c=$1&n=$2&s=$3&p=$4
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_([A-Za-z0-9]+)_(.*) shop.php?c=$1&n=$2&i=$3
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*).rss shop.php?c=$1&n=$2&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*) shop.php?c=$1&n=$2
RewriteRule ^page_(.*) shop.php?a=$1
RewriteRule ^item_([A-Za-z0-9]+) shop.php?i=$1
RewriteRule ^search_(.*) shop.php?k=$1
RewriteRule ^([A-Za-z0-9+-]+)_(.*)/?$ shop.php?c=$1

Ruleset 8        Last Updated: v5.4.1

URL Separator: Underscore        URL Ends With: [nothing]        URL With Name: No

# Ruleset 8 - AOM v5.4.1
RewriteEngine on
RewriteRule ^home shop.php
RewriteRule ^item_([A-Za-z0-9]+) shop.php?i=$1
RewriteRule ^search_(.*) shop.php?k=$1
RewriteRule ^page_(.*) shop.php?a=$1
RewriteRule ^buy_([A-Za-z0-9+-]+)_([a-z0-9,]+)_([A-Za-z0-9]+)_([A-Za-z]+)_([0-9]+) shop.php?c=$1&n=$2&i=$3&m=$4&p=$5&a=buy
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([A-Za-z0-9+-]+)_([a-z]+)_([0-9]+).rss shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([A-Za-z0-9+-]+)_([a-z]+)_([0-9]+) shop.php?c=$1&n=$2&k=$3&t=$4&s=$5&p=$6
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([a-z]+)_([0-9]+).rss shop.php?c=$1&n=$2&k=$3&s=$4&p=$5&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_(.*)_([a-z]+)_([0-9]+) shop.php?c=$1&n=$2&k=$3&s=$4&p=$5
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_([a-z]+)_([0-9]+) shop.php?c=$1&n=$2&s=$3&p=$4
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+)_([A-Za-z0-9]+) shop.php?c=$1&n=$2&i=$3
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+).rss shop.php?c=$1&n=$2&rss=1
RewriteRule ^([A-Za-z0-9+-]+)_([a-z0-9,]+) shop.php?c=$1&n=$2
RewriteRule ^([A-Za-z0-9+-]+)/?$ shop.php?c=$1


Direct Item and Keyword Links:

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:

http://www.yourdomain.com/shop.php?a=[Page ID]

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)

http://www.yourdomain.com/page-[Page ID]