To configure SEO (Search Engine Optimization) for ClickCartPro 8 or EuropaCart 8, first access your management interface and browse to the System > Component > Settings > Search Engine Optimization Settings function. Set ‘SEO Status’ to true. Next, create or edit a .htaccess file in your root web directory.
The software requires different rules depending on whether it’s installed in the root web directory, or in a subdirectory:
.htaccess Rules for Root Web Directory Installations
# Turn Rewite Engine On
Options +FollowSymLinks
RewriteEngine on
# Version 8 Rewrite Rules
RewriteRule ^index.php - [L,PT]
RewriteRule ^$ index.php?COREseourl=/ [L,PT]
RewriteRule ^/$ index.php?COREseourl=/ [L,PT]
RewriteRule ^sitemap\.xml utilities/sitemap.xml [L,PT]
RewriteRule ^rss\.xml utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?COREseourl=/$1 [L,PT]
.htaccess Rules for Subirectory Installations
# Turn Rewite Engine On
Options +FollowSymLinks
RewriteEngine on
# Version 8 Rewrite Rules
RewriteRule ^directoryname/index.php - [L,PT]
RewriteRule ^directoryname$ directoryname/index.php?COREseourl=/ [L,PT]
RewriteRule ^directoryname/$ directoryname/index.php?COREseourl=/ [L,PT]
RewriteRule ^directoryname/sitemap\.xml directoryname/utilities/sitemap.xml [L,PT]
RewriteRule ^directoryname/rss\.xml directoryname/utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/directoryname/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^directoryname/(.*) directoryname/index.php?COREseourl=/$1 [L,PT]
Upgrade ClickCartPro 6 Root Web Directory Installations
If you upgraded from ClickCartPro 6, use the following rules. The following rules assume installation in the root web directory.
# Turn Rewite Engine On
Options +FollowSymLinks
RewriteEngine On
# Old SEO Rule Rewrites
RewriteRule ^ccp0-display/(.*)\.html$ index.php?app=cms&ns=display&ref=$1 [L,PT]
RewriteRule ^ccp0-dynform/(.*)\.html$ index.php?app=cms&ns=dynform&ref=$1 [L,PT]
RewriteRule ^ccp0-(.*)/(.*)\.html$ index.php?app=ecom&ns=$1&ref=$2 [L,PT]
RewriteRule ^gbu0-display/(.*)\.html$ index.php?app=cms&ns=display&ref=$1 [L,PT]
RewriteRule ^gbu0-dynform/(.*)\.html$ index.php?app=cms&ns=dynform&ref=$1 [L,PT]
RewriteRule ^gbu0-(.*)/(.*)\.html$ index.php?app=ecom&ns=$1&ref=$2 [L,PT]
# Version 8 Rewrite Rules
RewriteRule ^index.php - [L,PT]
RewriteRule ^$ index.php?COREseourl=/ [L,PT]
RewriteRule ^/$ index.php?COREseourl=/ [L,PT]
RewriteRule ^sitemap\.xml utilities/sitemap.xml [L,PT]
RewriteRule ^rss\.xml utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?COREseourl=/$1 [L,PT]
Upgrade ClickCartPro 6 Subirectory Installations
If you upgraded from ClickCartPro 6, use the following rules. The following rules assume installation in a subdirectory.
# Turn Rewite Engine On
Options +FollowSymLinks
RewriteEngine On
# Old SEO Rule Rewrites
RewriteRule ^directoryname/ccp0-display/(.*)\.html$ directoryname/index.php?app=cms&ns=display&ref=$1 [L,PT]
RewriteRule ^directoryname/ccp0-dynform/(.*)\.html$ directoryname/index.php?app=cms&ns=dynform&ref=$1 [L,PT]
RewriteRule ^directoryname/ccp0-(.*)/(.*)\.html$ directoryname/index.php?app=ecom&ns=$1&ref=$2 [L,PT]
RewriteRule ^directoryname/gbu0-display/(.*)\.html$ directoryname/index.php?app=cms&ns=display&ref=$1 [L,PT]
RewriteRule ^directoryname/gbu0-dynform/(.*)\.html$ directoryname/index.php?app=cms&ns=dynform&ref=$1 [L,PT]
RewriteRule ^directoryname/gbu0-(.*)/(.*)\.html$ directoryname/index.php?app=ecom&ns=$1&ref=$2 [L,PT]
# Version 8 Rewrite Rules
RewriteRule ^directoryname/index.php - [L,PT]
RewriteRule ^directoryname$ index.php?COREseourl=/ [L,PT]
RewriteRule ^directoryname/$ directoryname/index.php?COREseourl=/ [L,PT]
RewriteRule ^directoryname/sitemap\.xml directoryname/utilities/sitemap.xml [L,PT]
RewriteRule ^directoryname/rss\.xml directoryname/utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/directoryname/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^directoryname/(.*) directoryname/index.php?COREseourl=/$1 [L,PT]
Upgrade ClickCartPro/ATS SEO for Root Web Directory Installations
If you have an older version of ClickCartPro with ATS SEO installed, in order to keep and index ATS-formatted URLs active for your newer store, you will want to follow the format below. The following rules assume installation in the root web directory.
# Turn Rewite Engine On
Options +FollowSymLinks
RewriteEngine On
# Old SEO Rule Rewrites
RewriteRule ^cat--(.*)--(.*)\.html index.php?app=ecom&ns=catshow&ref=$2 [L,PT]
RewriteRule ^item--(.*)--(.*)\.html index.php?app=ecom&ns=prodshow&ref=$2 [L,PT]
RewriteRule ^page--(.*)--(.*)\.html index.php?app=cms&ns=display&ref=$2 [L,PT]
RewriteRule ^store index.php?app=ecom&ns=splash [L,PT]
RewriteRule ^splash index.php?app=cms&ns=display&ref=splash [L,PT]
# Version 8 Rewrite Rules
RewriteRule ^index.php - [L,PT]
RewriteRule ^$ index.php?COREseourl=/ [L,PT]
RewriteRule ^/$ index.php?COREseourl=/ [L,PT]
RewriteRule ^sitemap\.xml utilities/sitemap.xml [L,PT]
RewriteRule ^rss\.xml utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?COREseourl=/$1 [L,PT]
Upgrade ClickCartPro/ATS SEO for Root Subdirectory Installations
If you have an older version of ClickCartPro with ATS SEO installed, in order to keep and index ATS-formatted URLs active for your newer store, you will want to follow the format below. The following rules assume installation in a subdirectory.
# Turn Rewite Engine On
Options +FollowSymLinks
RewriteEngine On
# Old SEO Rule Rewrites
RewriteRule ^directoryname/cat--(.*)--(.*)\.html directoryname/index.php?app=ecom&ns=catshow&ref=$2 [L,PT]
RewriteRule ^directoryname/item--(.*)--(.*)\.html directoryname/index.php?app=ecom&ns=prodshow&ref=$2 [L,PT]
RewriteRule ^directoryname/page--(.*)--(.*)\.html directoryname/index.php?app=cms&ns=display&ref=$2 [L,PT]
RewriteRule ^directoryname/store directoryname/index.php?app=ecom&ns=splash [L,PT]
RewriteRule ^directoryname/splash directoryname/index.php?app=cms&ns=display&ref=splash [L,PT]
# Version 8 Rewrite Rules
RewriteRule ^directoryname/index.php - [L,PT]
RewriteRule ^directoryname$ index.php?COREseourl=/ [L,PT]
RewriteRule ^directoryname/$ directoryname/index.php?COREseourl=/ [L,PT]
RewriteRule ^directoryname/sitemap\.xml directoryname/utilities/sitemap.xml [L,PT]
RewriteRule ^directoryname/rss\.xml directoryname/utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/directoryname/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^directoryname/(.*) directoryname/index.php?COREseourl=/$1 [L,PT]
Note for 1and1 customers
The rules you put in the .htaccess file need an additional line as shown below. The RewriteBase line with the slash (/) is what you need to add if you are using 1and1 for your web site hosting.
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
Note for Fasthosts customers
The rules you put in the .htaccess file require the removal of the Options +FollowSymLinks line as shown below.
RewriteEngine on