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

Ceon URI Mapping (SEO)

Locked

Views: 472,339

Results 1,381 to 1,400 of 2,913
This thread is locked. New replies are disabled.
30 Apr 2010, 7:22 PM
#1381
chal2les avatar

chal2les

New Zenner

Join Date:
Mar 2010
Posts:
63
Plugin Contributions:
0

Ceon URI Mapping (SEO)

Hi,

I had a question about the new ceon url seo.

I upgrade from 1.3.8 (which had ceon installed) to 1.3.9.

1.3.9 still show ceon module in the configuration admin page (since I migrated the database and none of the custom zen module.

Is there a problem installing the new ceon over whatever was in the database?

30 Apr 2010, 8:09 PM
#1382
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

saplanet:

Ok, I figured out that my error documents are not redirecting to pagenotfound.php because that it was directed to index.php instead.

For ErrorDocuments there should be never be any "redirect".

The 404 response should be directly returned at the originally requested URL.

A preceding 301 or 302 redirect and/or the ErrorDocument directly returning anything other than 404 status is a configuration error.

http://www.zen-cart.com/forum/showthread.php?t=152608

1 May 2010, 1:43 AM
#1383
saplanet avatar

saplanet

New Zenner

Join Date:
Jun 2008
Location:
Singapore, Australia, America
Posts:
97
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

This is what my .htaccess shows:
#Error Page
ErrorDocument 404 /index.php?main_page=page_not_found.php
ErrorDocument 403 /index.php?main_page=page_not_found.php
ErrorDocument 400 /index.php?main_page=page_not_found.php
ErrorDocument 401 /index.php?main_page=page_not_found.php
ErrorDocument 405 /index.php?main_page=page_not_found.php
ErrorDocument 500 /index.php?main_page=page_not_found.php

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

RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/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)

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

I have a customized error page created, so I want to use that, however, after including CEON's rewrite rules

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

RewriteRule (.*) index.php?%{QUERY_STRING} [L], the customized error page doesn't show anymore, but instead, it is pointing to the homepage.

My new url still doesn't load though, I am not sure if it is something that I have not done properly (checked thrice though), or it's not fully compatible with 1.39.

This is the test product in a test category: http://simpleartsplanet.com/test-cat/baby-booties-lyndi-pattern

3 May 2010, 2:52 AM
#1384
saplanet avatar

saplanet

New Zenner

Join Date:
Jun 2008
Location:
Singapore, Australia, America
Posts:
97
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I will keep this thread in view, but unfortunately, this is not working for me now, so I am uninstalling the module. I can't leave the test cat/prdt in the shop as it is a live shop and customers are already emailing to ask if the cart is still under maintenance or unstable as they see test products around.

Good luck with this mod.

3 May 2010, 6:53 AM
#1385
chal2les avatar

chal2les

New Zenner

Join Date:
Mar 2010
Posts:
63
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

saplanet:

I will keep this thread in view, but unfortunately, this is not working for me now, so I am uninstalling the module. I can't leave the test cat/prdt in the shop as it is a live shop and customers are already emailing to ask if the cart is still under maintenance or unstable as they see test products around.

Good luck with this mod.

Update has not been released for 1.3.9 yet.

Suppose to be soon though.

3 May 2010, 9:43 AM
#1386
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

saplanet:

I will keep this thread in view, but unfortunately, this is not working for me now, so I am uninstalling the module.

Sorry you couldn't get the software to work. It sounds like you messed up something when installing or that your server is configured "unusually". I can take a quick look if you send me FTP and admin details for your site.

As neither of the possible causes of the issue are "general" problems, the posting of the solution of which may help others, I'm afraid I can't provide support here on this thread.

All the best...

Conor
ceon

3 May 2010, 4:56 PM
#1387
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping (SEO)

conor:

Yes, after a few personal mails to her I got a response. As I'd thought there was nothing wrong with Ceon URI Mapping, the "Excluded Files" setting hadn't been configured properly to get it to work with the other module.

I have to get in contact with Raine, the author of the other module to let her know how she can configure URI Mapping to have her module work with it.Cool.. Would you be willing to share the required change needed (for either the other module or the need edits to the "Excluded Files"?? If you don't want to do it here I totally understand.. Could I impose on you (when your time permits of course) to send to me direct?? :smile:

conor:

I've been very ill recently so I haven't got round to that yet.

Hopefully I'll be well enough to release new versions of the various Ceon modules (with 1.3.9 compatibility and PHP 5.3 compatibility) very soon - today or tomorrow (which is about time as some of the changes I've had waiting to release since September 2009! :) ).It's awful when you are not feeling well.. So in the meantime, please take care of YOU.. We LOVE having you around!!

4 May 2010, 4:31 AM
#1388
jeskremer avatar

jeskremer

New Zenner

Join Date:
Nov 2008
Posts:
69
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Can anyone tell me how to prevent other directories on my site from being rewritten? I have the following .htaccess file in the site root. Directories such as: /lists.* and /blogs.* are no longer functioning.

ErrorDocument 401 ./error.html
ErrorDocument 403 ./error.html

RewriteEngine On

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

ErrorDocument 401 ./error.html
ErrorDocument 403 ./error.html

RewriteEngine On

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

RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$

Don't rewrite admin directory

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

Don't rewrite kremer site directories

RewriteCond %{REQUEST_URI} !^/administration.* [NC]
RewriteCond %{REQUEST_URI} !^/banner.* [NC]
RewriteCond %{REQUEST_URI} !^/bible.* [NC]
RewriteCond %{REQUEST_URI} !^/bible-studies.* [NC]
RewriteCond %{REQUEST_URI} !^/biblewalk.* [NC]
RewriteCond %{REQUEST_URI} !^/bread.* [NC]
RewriteCond %{REQUEST_URI} !^/blogs/* [NC]
RewriteCond %{REQUEST_URI} !^/camera.* [NC]
RewriteCond %{REQUEST_URI} !^/cartTests.* [NC]
RewriteCond %{REQUEST_URI} !^/catalog.* [NC]
RewriteCond %{REQUEST_URI} !^/christmas.* [NC]
RewriteCond %{REQUEST_URI} !^/church.* [NC]
RewriteCond %{REQUEST_URI} !^/confirmationparent.* [NC]
RewriteCond %{REQUEST_URI} !^/downloads.* [NC]
RewriteCond %{REQUEST_URI} !^/email.* [NC]
RewriteCond %{REQUEST_URI} !^/EMailings.* [NC]
RewriteCond %{REQUEST_URI} !^/excelLISTS.* [NC]
RewriteCond %{REQUEST_URI} !^/forms.* [NC]
RewriteCond %{REQUEST_URI} !^/fpp.* [NC]
RewriteCond %{REQUEST_URI} !^/GeneratedItems.* [NC]
RewriteCond %{REQUEST_URI} !^/images.* [NC]
RewriteCond %{REQUEST_URI} !^/images_https.* [NC]
RewriteCond %{REQUEST_URI} !^/lists.* [NC]
RewriteCond %{REQUEST_URI} !^/media.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_spring.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_summer.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_winter.* [NC]
RewriteCond %{REQUEST_URI} !^/myfiles.* [NC]
RewriteCond %{REQUEST_URI} !^/originals.* [NC]
RewriteCond %{REQUEST_URI} !^policies.html [NC]
RewriteCond %{REQUEST_URI} !^/printing.* [NC]
RewriteCond %{REQUEST_URI} !^/school.* [NC]
RewriteCond %{REQUEST_URI} !^/search.* [NC]
RewriteCond %{REQUEST_URI} !^/VBS_Downloads.* [NC]

Don't rewrite editors directory

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

Don't rewrite payment pages/callback handlers

(Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)

RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [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]
RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$

Don't rewrite admin directory

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

Don't rewrite editors directory

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

Don't rewrite payment pages/callback handlers

(Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)

RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [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]

4 May 2010, 7:25 AM
#1389
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

You have two identical RewriteRules.

There is a very long list of RewriteCond URL exclusions before the first one.

The exclusion list before the second RewriteRule is very short.

If something is excluded in the first list, but not in the second list, then the second RewriteRule will handle the request.

You need to merge the list of RewriteConds before having a single RewriteRule.

In every RewriteCond with a trailing .* fragment, those trailing .* characters can be deleted.

Remove the doubled "ErrorDocument" and the "RewriteEngine On" duplication too.

4 May 2010, 9:19 AM
#1390
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

I think it's pretty obvious that you messed that up well and truly! :)

As the following post said, you have mixed two rewrite rules so the one without the exclusions is nullifying the effect of the tone with the exclusions.

Here's the exact code you should use in your .htaccess file.. get rid of EVERYTHING else you've entered and put this code in there:

ErrorDocument 401 ./error.html
ErrorDocument 403 ./error.html

RewriteEngine On

# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin [NC]

# Don't rewrite kremer site directories
RewriteCond %{REQUEST_URI} !^/administration [NC]
RewriteCond %{REQUEST_URI} !^/banner [NC]
RewriteCond %{REQUEST_URI} !^/bible [NC]
RewriteCond %{REQUEST_URI} !^/bible-studies [NC]
RewriteCond %{REQUEST_URI} !^/biblewalk [NC]
RewriteCond %{REQUEST_URI} !^/bread [NC]
RewriteCond %{REQUEST_URI} !^/blogs [NC]
RewriteCond %{REQUEST_URI} !^/camera [NC]
RewriteCond %{REQUEST_URI} !^/cartTests [NC]
RewriteCond %{REQUEST_URI} !^/catalog [NC]
RewriteCond %{REQUEST_URI} !^/christmas [NC]
RewriteCond %{REQUEST_URI} !^/church [NC]
RewriteCond %{REQUEST_URI} !^/confirmationparent [NC]
RewriteCond %{REQUEST_URI} !^/downloads [NC]
RewriteCond %{REQUEST_URI} !^/email [NC]
RewriteCond %{REQUEST_URI} !^/EMailings [NC]
RewriteCond %{REQUEST_URI} !^/excelLISTS [NC]
RewriteCond %{REQUEST_URI} !^/forms [NC]
RewriteCond %{REQUEST_URI} !^/fpp [NC]
RewriteCond %{REQUEST_URI} !^/GeneratedItems [NC]
RewriteCond %{REQUEST_URI} !^/images [NC]
RewriteCond %{REQUEST_URI} !^/images_https [NC]
RewriteCond %{REQUEST_URI} !^/lists [NC]
RewriteCond %{REQUEST_URI} !^/media [NC]
RewriteCond %{REQUEST_URI} !^/menu_top [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_spring [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_summer [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_winter [NC]
RewriteCond %{REQUEST_URI} !^/myfiles [NC]
RewriteCond %{REQUEST_URI} !^/originals [NC]
RewriteCond %{REQUEST_URI} !^policies.html [NC]
RewriteCond %{REQUEST_URI} !^/printing [NC]
RewriteCond %{REQUEST_URI} !^/school [NC]
RewriteCond %{REQUEST_URI} !^/search [NC]
RewriteCond %{REQUEST_URI} !^/VBS_Downloads [NC]

# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors [NC]

# Handle all other URIs using Zen Cart (index.php)
RewriteRule .* index.php?%{QUERY_STRING} [L] 

All the best..

Conor
ceon

4 May 2010, 11:42 AM
#1391
ptowers49 avatar

ptowers49

New Zenner

Join Date:
Aug 2009
Location:
UK
Posts:
71
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I have installed CEON on https://www.classicalchandeliers.co.uk and in general I am very happy with it.

I have a problem that after installing CEON them when you go to "write a review" you get this error
404 Not Found

The server can not find the requested page:

pegasus.terrassl.net/~classica/crystal-chandeliers/glass-arms-upto-5/chandelier-4085-059hk-890r/add-a-review?zenid=0eae51869da6f8db1a6a0d3fff9c1fc0 (port 443) 

Can anyone offer any advise?

4 May 2010, 11:56 AM
#1392
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

ptowers49:

The server can not find the requested page:

pegasus.terrassl.net/~classica/crystal-chandeliers/glass-arms-upto-5/chandelier-4085-059hk-890r/add-a-review?zenid=0eae51869da6f8db1a6a0d3fff9c1fc0 (port 443)

You are linking through to a shared SSL certificate/sub-domain.

URI Mapping as standard cannot be used with a shared SSL certificate as the "base URI" is different from the normal http URI.

You must upgrade your hosting to using your own SSL certificate, or else disable SSL or create a rule that remaps from the shared domain properly (I don't know how to do that).

SSL certificates only cost $10 a year so if you're serious about your site this is the only option you should consider!

Hope that helps!

All the best..

Conor
ceon

4 May 2010, 4:21 PM
#1393
jeskremer avatar

jeskremer

New Zenner

Join Date:
Nov 2008
Posts:
69
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Thank you for the help. I noticed the duplicates that I must have copied over yesterday.

The issue I was originally trying to fix was that one of the categories on the site had four pages of products. When forwarding to the "Next" page, it would always refresh the current page.

I found that for whatever reason, deleting the "/church" directory from the list of "Do Not Rewrite" in the .htaccess file fixed the problem. Why? I have no idea...but everything works now.

4 May 2010, 10:13 PM
#1394
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

In the exclusions list, one URL is missing the leading slash.

It's pretty obvious which one when you run your eye down the list.

4 May 2010, 11:24 PM
#1395
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

g1smd:

In the exclusions list, one URL is missing the leading slash.

You are indeed right about that!

g1smd:

It's pretty obvious which one when you run your eye down the list.

I like the way your decision not to mention the actual line makes this sound a bit like a challenge to be undertaken (akin to a Treasure Hunt, albeit a very easy one! ;) ).

Anyway... should be releasing the new version of the software tomorrow at long, long last.. good night for now!

All the best...

Conor
ceon

4 May 2010, 11:37 PM
#1396
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping (SEO)

conor:

Hi,

You are indeed right about that!

I like the way your decision not to mention the actual line makes this sound a bit like a challenge to be undertaken (akin to a Treasure Hunt, albeit a very easy one! ;) ).

Anyway... should be releasing the new version of the software tomorrow at long, long last.. good night for now!

All the best...

Conor
ceon
AWESOME!!! G'nite.. rest up Conor!!!

5 May 2010, 9:22 AM
#1397
frilansreklam avatar

frilansreklam

New Zenner

Join Date:
Sep 2008
Location:
Sweden
Posts:
99
Plugin Contributions:
1

Re: Ceon URI Mapping (SEO)

saplanet:

This is what my .htaccess shows:
#Error Page
ErrorDocument 404 /index.php?main_page=page_not_found.php
ErrorDocument 403 /index.php?main_page=page_not_found.php
ErrorDocument 400 /index.php?main_page=page_not_found.php
ErrorDocument 401 /index.php?main_page=page_not_found.php
ErrorDocument 405 /index.php?main_page=page_not_found.php
ErrorDocument 500 /index.php?main_page=page_not_found.php
Page_not_found should not have .php in the end. This is a part that load with index.php page.

5 May 2010, 9:30 AM
#1398
frilansreklam avatar

frilansreklam

New Zenner

Join Date:
Sep 2008
Location:
Sweden
Posts:
99
Plugin Contributions:
1

Re: Ceon URI Mapping (SEO)

I got problem after moving my customers shop from a folder to the root. It is ok for my customer to keep the subfolder (shop) and is it a way to change this to be set when autogen the uri ?
ex. /shop/category/product.

the problem is that all categories got blocked and page not found.

5 May 2010, 9:47 AM
#1399
saplanet avatar

saplanet

New Zenner

Join Date:
Jun 2008
Location:
Singapore, Australia, America
Posts:
97
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

Sorry you couldn't get the software to work. It sounds like you messed up something when installing or that your server is configured "unusually". I can take a quick look if you send me FTP and admin details for your site.

As neither of the possible causes of the issue are "general" problems, the posting of the solution of which may help others, I'm afraid I can't provide support here on this thread.

All the best...

Conor
ceon

I am pleased to state that I managed to get the mod to work now. It's my bad, I left out a file in the autoloader folder. I also managed to work on the define pages in the sql, everything works beautifully. :clap:

Thank you very much for this great mod. It is exciting to see the page ranking improves in the search engine.

5 May 2010, 10:04 AM
#1400
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

How are you?

FrilansReklam:

I got problem after moving my customers shop from a folder to the root. It is ok for my customer to keep the subfolder (shop) and is it a way to change this to be set when autogen the uri ?
ex. /shop/category/product.

Your information seems to conflict a bit.. you seem to be saying that you've moved from a "folder to root" but then you ask if you can "keep the subfolder".. that would mean you haven't moved at all? I'm a little confused by that?!

The autogeneration includes the value of DIR_WS_CATALOG from admin/includes/configure.php

If you want to use a different "base" in your URI then you'll have to moidify the autogeneration functions to use something else instead of DIR_WS_CATALOG

FrilansReklam:

the problem is that all categories got blocked and page not found.

I'm afraid it's not clear what you are doing.. I need more specifics please.

All the best...

Conor
ceon