Kryptronic Info Center

The Info Center has articles on everything you need to get your site up and running with Kryptronic software. Hundreds of articles are available which contain tips, tricks, software updates and release notes, and everything you ever wanted to know about eCommerce, but were afraid to ask...

Kryptronic

Training Wheels: Turning On Search Engine Optimization (SEO)

One of the coolest new features in ClickCartPro/EuropaCart 8 is the ability to specify the exact URL you want for each page within your store.  This built-in ability requires just a quick bit of setup on your part before you can reap the rewards of having direct specific marketing in each and every URL your store generates.  What do we mean by high-powered URLs? Simple… you can now make your URL exactly what you want it to be.

If you have a page that sells goat-flavored chewing gum, your URL probably used to look something like this:

http://www.billygoats.com/index.php?app=ecom&ns=prodshow&ref=gt-flav-gm

Now, using our built in SEO URL generator, you simply add the name you want the URL to reflect and your new SEO friendly URL looks like this.

http://www.billygoats.com/Item/goat-flavored-gum

There are really 3 steps in order to get this high-powered marketing tool up and running on your local copy of ClickCartPro/EuropaCart 8.

– Use the admin pages of ClickCartPro/EuropaCart 8 to define the actual URLs you want in your store
– Set up an .htaccess file on your web site
– Flip the switch to turn this feature on

We’ll walk you through each of these steps so that you can easily get started on this.

Setting things up in the ClickCartPro/EuropaCart Admin

If you click on the Update button for any product, catetgory, html page or other indexed pages in ClickCartPro/EuropaCart, you’ll find a left menu that looks like this:

trainseo-1

You’ll want to click on the Search Engine Optimization button to reveal the powerful SEO tools that are part of each ClickCartPro/EuropaCart Installlation.

At the very bottom of each SEO page, you’ll find an entry that looks like this:

trainseo-2

You simply type in the exact URL you want and the software will take care of the rest for you.  You can create cool new SEO friendly URLs that are devoid of any pesky PHP gobbledygook.  Also, if you have links from previous stores that you don’t want to change you could simply copy the old  URL title into this field to maintain exact URL matches to your popular old site.  Next, we’re going to set up an .htaccess file.

For simplicity, think of a .htaccess file as a little traffic cop that lives in the root directory of your web site.  It’s a little collection of variables that are picked up by browsers and other software when your site is accessed.  It simply quickly relates information, redirects traffic and other simple instructions.

This file can be created in a simple text editor like Notepad and then uploaded to the root directory of your web site.  The root directory normally has a name like /public_html, /www, /httpdocs, etc.  If you’re not sure, ask your host what the public root directory is called.  Depending on your previous setup of ClickCarPro/EuropaCart or your current installation location, you may have to use one of 3 different choices of .htaccess files.

– CCP8 Is Located In The Root Directory
– CCP8 Is Located In a Sub-directory like /store or /ccp8
– CCP8 Has Been Imported From A Former CCP6 Store

If you’re not sure, simply call our toll free number for additional instructions.

CCP8 Is Located In The Root Directory

Simply copy the file exactly as you see it below, paste it into Notepad and then save the file as .htaccess (no extensions… exactly as seen)  You’ll then use your hosting control panel File Manager or FTP client software to copy this file into the root directory of your web site.

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^index.php - [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]

CCP8 Is Located In A Sub-Directory Like /store or /ccp8

Simply copy the file exactly as you see it below, paste it into Notepad and then save the file as .htaccess (no extensions… exactly as seen)  You’ll then use your hosting control panel File Manager or FTP client software to copy this file into the root directory of your web site.

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^index.php - [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]

Important Note:  Please remember to replace the word ‘directoryname’ with the actual sub-directory name you’re using.  It needs to be replaced in 9 locations.

CCP8 Has Been Imported From A Former CCP6 Store

Simply copy the file exactly as you see it below, paste it into Notepad and then save the file as .htaccess (no extensions… exactly as seen)  You’ll then use your hosting control panel File Manager or FTP client software to copy this file into the root directory of your web site.

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^ccp0-display/(.*)\.html$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$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]
RewriteRule ^index.php - [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]

Important Note: This assumes that you are running your new CCP8 store from the root.  Call if that is not the case.

Turning On SEO

Finally, we’re going to flip the switch in Admin to turn this on. Simply to go System | Component | Settings:

trainseo-3

There you’ll see a menu for ‘Search Engine Optimization’:

trainseo-4

Simply click on this and then find the SEO Status entry and flip the switch to ‘True’:

trainseo-5

Test your site and you should see your new URLs appearing.

Kryptronic: Security. Stability. Reliability