Kryptronic Software Wiki : SEOCapability

Kryptronic Kryptronic Software Wiki

Enabling SEO (Search Engine Optimization)


After activating SEO you should see your search engine rankings increase!

Enabling SEO is a 2 step process and these instructions are for installations that are using the Apache web server with mod_rewrite enabled and the Zeus web server. The first step for both web servers is activating SEO.

In admin under

Home > Kryptronic Hybrid X Core > Settings: Application Settings Menu > Application Settings Menu

click on Search Engine Optimization Settings and change SEO Status to True (1) and click Submit to save your change.

Note: If you are using the Zeus web server please scroll down to the bottom of the page for the rewrite rule you need to use with Zeus.

Create a plain text file named .htaccess (note the leading period (.) which is required) and put the following into the file:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^khxc/(.*)-(.*)/(.*)\.html khxc/index.php?app=$1&ns=$2&ref=$3 [L,PT]


The rules shown above assume you have installed KHXC in a directory named khxc below your root web directory (ie: http://www.yourdomain.com/khxc) and you have not changed the default front-end script name (index.php).

If you have installed KHXC in the root directory (ie: http://www.yourdomain.com/) and have not changed the default front-end script name (index.php) your rules need to look like this:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]


If you have changed the front-end script name to something like zzz.php and the installation directory to xxx, your rewrite rules would look like this instead:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^xxx/(.*)-(.*)/(.*)\.html xxx/zzz.php?app=$1&ns=$2&ref=$3 [L,PT]


The .htaccess file you created should be installed in the root of your web server not in the /khxc or /xxx directory. It will not work if it is in a directory below the root.

Former ClickCartPro/ATS SEO Installs

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. Please note that the application id in the 'ATS Ruleset Rewritten for Kryptronic SEO Ruleset' is set to 'ccp0'.

# Kryptronic SEO Ruleset

Options +FollowSymLinks
RewriteEngine On

RewriteRule ^xxx/(.*)-(.*)/(.*)\.html xxx/zzz.php?app=$1&ns=$2&ref=$3 [L,PT]

# ATS SEO Ruleset - Commented

# RewriteRule ^cat--(.*)\.html /cgi-bin/cp-app.cgi?seo=cat--$1
# RewriteRule ^item--(.*)\.html cgi-bin/cp-app.cgi?seo=item--$1
# RewriteRule ^page--(.*)\.html /cgi-bin/cp-app.cgi?seo=page--$1
# RewriteRule ^store /cgi-bin/cp-app.cgi?pg=store
# RewriteRule ^splash /cgi-bin/cp-app.cgi?pg=splash

# ATS Ruleset Rewritten for Kryptronic SEO Ruleset

RewriteRule ^cat--(.*)--(.*)\.html xxx/zzz.php?app=ccp0&ns=catshow&ref=$2 [L,PT]
RewriteRule ^item--(.*)--(.*)\.html xxx/zzz.php?app=ccp0&ns=prodshow&ref=$2 [L,PT]
RewriteRule ^page--(.*)--(.*)\.html xxx/zzz.php?app=ccp0&ns=display&ref=$2 [L,PT]
RewriteRule ^store xxx/zzz.php?app=ccp0&ns=splash [L,PT]
RewriteRule ^splash xxx/zzz.php?app=ccp0&ns=display&ref=splash [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 /
RewriteRule ^khxc/(.*)-(.*)/(.*)\.html khxc/index.php?app=$1&ns=$2&ref=$3 [L,PT]


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
RewriteRule ^khxc/(.*)-(.*)/(.*)\.html khxc/index.php?app=$1&ns=$2&ref=$3 [L,PT]


Zeus web server Rewrite Rule
The rules needed if you are using the Zeus web server are shown below. As shown they are for an installation of ClickCartPro in the root directory of your site. The rules for the Zeus web server are stored in a file named rewrite.script which should be in the root directory of your site.
match URL into $ with ^(.*)-(.*)/(.*)\.html
if matched then
   set URL =/index.php?app=$1&ns=$2&ref=$3
endif


ClickCartPro - Administration
Wiki: Getting Started