Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping (SEO)

Ceon URI Mapping (SEO)

Locked

Views: 472,304

Results 2,121 to 2,140 of 2,913
This thread is locked. New replies are disabled.
15 Nov 2010, 3:33 PM
#2121
fangy avatar

fangy

New Zenner

Join Date:
Nov 2010
Posts:
5
Plugin Contributions:
0

Ceon URI Mapping (SEO)

Hi, i have one question.
If i will manually set mapping into database 4 example to page shippinginfo how can i change location header what user can see.

Links like www.shop.cz/Shipping_Info will be displayed well, but user can still see address www.shop.cz/index.php?main_page=shippinginfo?

did i missed something?

15 Nov 2010, 4:02 PM
#2122
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

Jeniferous:

I get a file not found error when i turn the uri mapping back on. I would re-install the mod but seeing as i had it working 100% for weeks prior to adding the re-direct then i know i installed it correctly. If i remove the non-www to www re-direct then turn the URI mapping on it works fine.... so its something to do with the non-www to www mapping i've added.

Unfortunately - i don't have a clue what and i've read the config text all the way through and it doesn't appear to mention set up with non-www to www redirection.

Thanks
Did you read what I posted in post 2111.

15 Nov 2010, 4:08 PM
#2123
fangy avatar

fangy

New Zenner

Join Date:
Nov 2010
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

fangy:

Hi, i have one question.
If i will manually set mapping into database 4 example to page shippinginfo how can i change location header what user can see.

Links like www.shop.cz/Shipping_Info will be displayed well, but user can still see address www.shop.cz/index.php?main_page=shippinginfo?

did i missed something?

Just 4 dummies like i'm :)

current_uri to '1'...

15 Nov 2010, 4:18 PM
#2124
rachitm avatar

rachitm

New Zenner

Join Date:
Nov 2010
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

countrycharm:

What kind of error are you having. You have not provided enough information. Go back and start over installing this module again. Read the documentation carefully. There is no other module that gives more detail on HOW TO than this one. You have did something wrong. Check your .htaccess file. That is where most problems lie when people don't create the .htaccess file rules correctly.

Thanks to very fast reply. I get a file not found error when i turn the uri mapping back on. act i have to install 2, 3 times 3.6.3 version for my zen cart 1.3.9b. but still we got same error page cannot found.
one thing at present my sites is working in folder not at root.

like
https://www.example.com/abc/index.php?main_page=page&id=16

but when i on url mapping

than url is same to see all people but when we click on it

its goes

https://www.example.com/abc/contact_us

got page cannot found.

i also updates in my htaccess files

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

15 Nov 2010, 4:34 PM
#2125
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

fangy:

Hi, i have one question.
If i will manually set mapping into database 4 example to page shippinginfo how can i change location header what user can see.

Links like www.shop.cz/Shipping_Info will be displayed well, but user can still see address www.shop.cz/index.php?main_page=shippinginfo?

did i missed something?
You'll have to add records to the database for these pages. The
instructions are in the docs : "Specifying the current URI Mapping for any other Zen Cart page"
In your phpMyAdmin on the left click ceon_uri_mappings at the top click insert and fill in the information as showed.

uri: /shipping-information

main_page: checkout_shipping

current_uri: 1

language_id: 1

date_added: NOW()

15 Nov 2010, 5:05 PM
#2126
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

rachitm:

Thanks to very fast reply. I get a file not found error when i turn the uri mapping back on. act i have to install 2, 3 times 3.6.3 version for my zen cart 1.3.9b. but still we got same error page cannot found.
one thing at present my sites is working in folder not at root.

like
www.example.com/abc/index.php?main_page=page&id=16

but when i on url mapping

than url is same to see all people but when we click on it

its goes

www.example.com/abc/contact_us

got page cannot found.

i also updates in my htaccess files

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

First of all you need to download the current version of Ceon URI Mapping (SEO)
After that you need to check to make sure your .htaccess file is right. Read the documentation again how to install this software. You have miss something.

Example rule for stores installed in a folder other than the root of the site, with the admin named “admin”.

             As mentioned above, if a store is not installed in the root directory of a site, that is, if in includes/configure.php the DIR_WS_CATALOG define isn't exactly as follows:
             define('DIR_WS_CATALOG', '/');                 Then the rewrite rule needs to be modified to point to the store's folders.
             For example, if the store's DIR_WS_CATALOG define is:
             define('DIR_WS_CATALOG', '/shop/');                 Then all of the RewriteConds from “# Don't rewrite admin directory” downwards need to have the forward slash, “/”, changed to “/shop/”.
             If the store has other pages on the site which aren't part of Zen  Cart - that is, from the example above, pages which aren't in the  “/shop” directory - then a RewriteCond must also be added so that these other pages keep working.
             The resulting rewrite rule would then be as follows.

Please Note: The following example rule is intended for a .htaccess file placed in the same directory as the Zen Cart installation's index.php file.> RewriteEngine On

ONLY rewrite URIs beginning with /shop/

RewriteCond %{REQUEST_URI} ^/shop/ [NC]

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/shop/admin [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/shop/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* index.php?%{QUERY_STRING} [L]If placing the above rule in a VirtualHost directive for the site, the main RewriteRule needs to have the store's relative directory path prepended. The RewriteRule should be changed to:
RewriteRule .* /shop/index.php?%{QUERY_STRING} [L]Modifying the rule for stores which have renamed the admin directory.

             If the store does not use “admin”. for the name of the admin directory then the RewriteCond for the admin directory must be modified: “RewriteCond %{REQUEST_URI} !/admin [NC]”.


                                  For example, if the store's admin directory is named  “store_manager” and Zen Cart is installed in the root directory of the  site, the example rewrite rule above would be modified as follows:
                 > # Don't rewrite admin directory                     

RewriteCond %{REQUEST_URI} !^/store_manager [NC]

             Obviously, if the store isn't installed in the root directory of the site, the RewriteCond for the admin folder would have to be modified accordingly. 

As an example:
> # Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/shop/store_manager [NC]

15 Nov 2010, 5:38 PM
#2127
rachitm avatar

rachitm

New Zenner

Join Date:
Nov 2010
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

countrycharm:

First of all you need to download the current version of Ceon URI Mapping (SEO)
After that you need to check to make sure your .htaccess file is right. Read the documentation again how to install this software. You have miss something.

Example rule for stores installed in a folder other than the root of the site, with the admin named “admin”.

             As mentioned above, if a store is not installed in the root directory of a site, that is, if in includes/configure.php the DIR_WS_CATALOG define isn't exactly as follows:
             define('DIR_WS_CATALOG', '/');                 Then the rewrite rule needs to be modified to point to the store's folders.
             For example, if the store's DIR_WS_CATALOG define is:
             define('DIR_WS_CATALOG', '/shop/');                 Then all of the RewriteConds from “# Don't rewrite admin directory” downwards need to have the forward slash, “/”, changed to “/shop/”.
             If the store has other pages on the site which aren't part of Zen  Cart - that is, from the example above, pages which aren't in the  “/shop” directory - then a RewriteCond must also be added so that these other pages keep working.
             The resulting rewrite rule would then be as follows.

If placing the above rule in a VirtualHost directive for the site, the main RewriteRule needs to have the store's relative directory path prepended. The RewriteRule should be changed to:
Modifying the rule for stores which have renamed the admin directory.

             If the store does not use “admin”. for the name of the admin directory then the RewriteCond for the admin directory must be modified: “RewriteCond %{REQUEST_URI} !/admin [NC]”.


                                  For example, if the store's admin directory is named  “store_manager” and Zen Cart is installed in the root directory of the  site, the example rewrite rule above would be modified as follows:
                 
             
             Obviously, if the store isn't installed in the root directory of the site, the RewriteCond for the admin folder would have to be modified accordingly. 

As an example:

i install new module but error is same. :(

my .httaccess file contents are follwing

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

i donot miss any thing from new module but problem is same

15 Nov 2010, 5:48 PM
#2128
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

rachitm:

i install new module but error is same. :(

my .httaccess file contents are follwing

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

i donot miss any thing from new module but problem is same
Is that all you have in your .htaccess file? Post the whole .htaccess file.

15 Nov 2010, 5:51 PM
#2129
rachitm avatar

rachitm

New Zenner

Join Date:
Nov 2010
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

these four lines only nothing else.

15 Nov 2010, 6:33 PM
#2130
aftershock avatar

aftershock

New Zenner

Join Date:
Jun 2010
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Where are your .htaccess lines specified in the installation the SEO module?

If they are in the .htaccess in the subfolder, that would be why it only works when giving the folder in the URL.

15 Nov 2010, 6:39 PM
#2131
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

rachitm:

these four lines only nothing else.
That is your whole problem. Please read what I have stated in this post under .htaccess rules.
http://www.zen-cart.com/forum/showpost.php?p=960512&postcount=2120

You need it to look like so

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

ONLY rewrite URIs beginning with /shop/

RewriteCond %{REQUEST_URI} ^/shop/ [NC]

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/shop/admin [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/shop/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* index.php?%{QUERY_STRING} [L]

16 Nov 2010, 4:46 PM
#2132
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

mrphantuan:

Alright, first question for you:

Is it a known bug for Ceon URI Mapping to alter/cause conflict with the "zen_href_link(FILENAME_DEFAULT)" in Zen Cart?

From what I understand, FILENAME_DEFAULT alone normally returns the root directory of the site. For example, its used in the default email template for when a new client registers on the site. (See line 30 of email_extras.php in the languages folder).

However, I notice that the zen_href_link(FILENAME_DEFAULT) now returns the web address to the latest entry in the zen_ceon_url_mappings table in the database.

For example, this is the steps I took to find the bug:

  • I have a fresh install of Zen Cart + Ceon URI Mapping
  • I've added a new category, and then a product in that category. I've assigned each of them an auto-generated URI.
  • Now, just by luck, I notice that the 'Home' link in the site's Breadcrums, the Home link in the default footer AND the Home link in the Welcome email sent to new customers all point to the latest product I made an auto-generated URI for.

Does this happen for you? Or is this just a problem on my end?

What version of Ceon URI Mapping (SEO) are you using?
To get the latest version see post 2120

Does this happen for you? Or is this just a problem on my end?I'm afraid it's just on your end.

16 Nov 2010, 4:57 PM
#2133
rachitm avatar

rachitm

New Zenner

Join Date:
Nov 2010
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

countrycharm:

That is your whole problem. Please read what I have stated in this post under .htaccess rules.
http://www.zen-cart.com/forum/showpost.php?p=960512&postcount=2120

You need it to look like so

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

ONLY rewrite URIs beginning with /shop/

RewriteCond %{REQUEST_URI} ^/shop/ [NC]

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/shop/admin [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/shop/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* index.php?%{QUERY_STRING} [L]

again I changed my htaccess files but no result i donot what problem is exactly

16 Nov 2010, 5:24 PM
#2134
shirleyujest avatar

shirleyujest

New Zenner

Join Date:
Sep 2008
Location:
Central Coast of California
Posts:
22
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

First I have to say that I am very grateful for this community of people that take time to help each other. Thank you.

I have installed the Ceon URI mapping into a new zen cart but am having a couple of issues:

Ceon URI mapping is showing up in the "Configuaration" and "Modules"
tabs in my zen cart admin but not in the Catalog/catagories area where I add/edit my catagory names. Can anyone point me in the right direction to look.

I have been reading this forum and my admin has been renamed so I am trying to get to the .htaccess file but can't locate it.
It is showing in my ftp client, like it is there, but it does not show in my cpanel file manager. Does anyone know why that is? Seems weird to me. Do I need to create a new file?

The only other modifications I've done are the security patchs and installed "All Business" Template.

Thank you.
Ronda
https://www.Rondajane.com

16 Nov 2010, 9:52 PM
#2135
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

ShirleyUJest:

First I have to say that I am very grateful for this community of people that take time to help each other. Thank you.

I have installed the Ceon URI mapping into a new zen cart but am having a couple of issues:

Ceon URI mapping is showing up in the "Configuaration" and "Modules"
tabs in my zen cart admin but not in the Catalog/catagories area where I add/edit my catagory names. Can anyone point me in the right direction to look.

I have been reading this forum and my admin has been renamed so I am trying to get to the .htaccess file but can't locate it.
It is showing in my ftp client, like it is there, but it does not show in my cpanel file manager. Does anyone know why that is? Seems weird to me. Do I need to create a new file?

The only other modifications I've done are the security patchs and installed "All Business" Template.

Thank you.
Ronda
www.Rondajane.com

You haven't installed the software properly.

Re-install the software from the start, being careful to make sure that you don't miss updating includes/functions/html_output.php
Simply install the module from the start once again, this time being sure not to miss out any steps/modifications/configuration.
You have to make a .htaccess file and upload it to the root of your sever.

16 Nov 2010, 11:14 PM
#2136
aftershock avatar

aftershock

New Zenner

Join Date:
Jun 2010
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

rachitm:

again I changed my htaccess files but no result i donot what problem is exactly

So what does your .htaccess look like now?

17 Nov 2010, 10:10 AM
#2137
jeniferous avatar

jeniferous

New Zenner

Join Date:
Oct 2010
Posts:
46
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I tried this as per your suggestions, obviously with my URL-
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

ONLY rewrite URIs beginning with /shop/

RewriteCond %{REQUEST_URI} ^/shop/ [NC]

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/shop/admin [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/shop/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* index.php?%{QUERY_STRING} [L]

I got a 500 error.

The re-direct works using :
RewriteEngine On

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/zc_admin [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^jambaroo.co.uk$ [NC]
RewriteRule (.*) http://www.jambaroo.co.uk/$1 [R=301,L]

BUT the links die when i turn on the ceon mapping.

17 Nov 2010, 11:55 AM
#2138
jeniferous avatar

jeniferous

New Zenner

Join Date:
Oct 2010
Posts:
46
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Also - if i change to your code (amending the /shop bits to suit) then my redirected http://jambaroo.co.uk doesn't seem to link the style sheet....

And i can't log on to admin... it loads the page but doesnt' seem to accept the username/password combination.

17 Nov 2010, 7:38 PM
#2139
immanuelvictor avatar

immanuelvictor

New Zenner

Join Date:
Nov 2010
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi All,

I am using CEON URL Mapping in my zencart website. while using the XENU(link testing tool) all the .html link are reported has 404 'Page Not Found'. But the page works fine in the browsers. Its only in xenu its giving the "page not Found" error. I suspect that there is mistake in my Rewrite script. Can you please help me on this rewrite script.

Here is my rewrite script added in the .htacess file

NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

#RewriteCond %{HTTP_HOST} !^www.us-immigration.com [NC]
#RewriteCond %{HTTP_HOST} !^$
#RewriteRule ^(.*) http://www.us-immigration.com/$1 [L,R]

RewriteCond %{HTTP_HOST} ^us-immigration.com$ [NC]
RewriteRule ^(.*)$ http://www.us-immigration.com/$1 [R=301]

SEO URLs

RewriteRule ^(.)-p-(.).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-(.).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-n-(.).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
#RewriteRule ^catalog/(.)$ index.php?main_page=product_info&products_id=118&%{QUERY_STRING} [L]
RewriteRule ^(.
)-pji-(.*).html$ index.php?main_page=document_product_info&products_id=$2&%{QUERY_STRING} [L]

For Open Operations Info Manager

RewriteRule ^(.*)-i-([0-9]+).html$ /index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]

For dreamscape's News & Articles Manager

RewriteRule ^rss.xml$ /index.php?main_page=news_rss&%{QUERY_STRING} [L]

All other pages

Don't rewrite real files or directories

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ /index.php?main_page=$1&%{QUERY_STRING} [L]

Please help me..

Thanks in advance

-Immanuel Victor

17 Nov 2010, 9:06 PM
#2140
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

Jeniferous:

I tried this as per your suggestions, obviously with my URL-
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

ONLY rewrite URIs beginning with /shop/

RewriteCond %{REQUEST_URI} ^/shop/ [NC]

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/shop/admin [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/shop/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* index.php?%{QUERY_STRING} [L]

I got a 500 error.

The re-direct works using :
RewriteEngine On

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/zc_admin [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^jambaroo.co.uk$ [NC]
RewriteRule (.*) http://www.jambaroo.co.uk/$1 [R=301,L]

BUT the links die when i turn on the ceon mapping.

Try this here in your .htaccess file. Do not put the www on this one RewriteCond %{HTTP_HOST} ^example.com$ [NC]

RewriteEngine On

RewriteCond %{HTTP_HOST} ^example.com$ [NC]
RewriteCond %{REQUEST_URI} !^/ADMINFOLDERNAME [NC]
RewriteCond %{REQUEST_URI} !^/editors [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/ADMINFOLDERNAME [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* index.php?%{QUERY_STRING} [L]