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

Ceon URI Mapping (SEO)

Locked

Views: 472,304

Results 2,201 to 2,220 of 2,913
This thread is locked. New replies are disabled.
9 Dec 2010, 9:00 PM
#2201
atl2rva avatar

atl2rva

New Zenner

Join Date:
Feb 2010
Posts:
81
Plugin Contributions:
0

Ceon URI Mapping (SEO)

Thank you for the great mod. I am using this on another site without issue. However, I am working on another site that is still using a temporary IP. Whenever I enter the information into my .htaccess file my whole site gets a 404. My site can be accessed at http://74.220.219.69/~eclipset/ . I currently taken out the info in the .htaccess but this is what I had entered while it was crashing.

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)

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

Any help would be greatly appreciated.

*also forgot to mention I have the mod disabled atm until I figure out why it is breaking my site.

9 Dec 2010, 9:16 PM
#2202
digitalvision avatar

digitalvision

New Zenner

Join Date:
Aug 2010
Posts:
49
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

I'm afraid that I haven't used those mods so I can't give an exact comparison. I've encountered Ultimate SEO when working on other people's sites and I don't like the way it adds product IDs and category IDs to the URIs it generates.

Ceon

I guess my friend you need to think again to add the product id on the urls.

or at least check if the url its generating is unique on the system.

I have a computer store and there is many product and they have same name. So when your module generates url, they becomes all same instead generating unique url.

As a result on search result i can see 5 different products, but no matter which one i click they all goes to only one links!

Not sure if this is with my system only...but its an error That I can make sure.

Let me know if you have a solution of this.

Thanks in advance!

9 Dec 2010, 9:56 PM
#2203
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)

And Conor's documentation and support posts in this support thread make it CLEAR that this will create issues with this mod.. All products MUST have a unique name in order for this mod to work correctly..

digitalvision:

I guess my friend you need to think again to add the product id on the urls.

or at least check if the url its generating is unique on the system.

I have a computer store and there is many product and they have same name. So when your module generates url, they becomes all same instead generating unique url.

As a result on search result i can see 5 different products, but no matter which one i click they all goes to only one links!

Not sure if this is with my system only...but its an error That I can make sure.

Let me know if you have a solution of this.

Thanks in advance!

10 Dec 2010, 4:26 AM
#2204
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping (SEO)

DivaVocals:

And Conor's documentation and support posts in this support thread make it CLEAR that this will create issues with this mod.. All products MUST have a unique name in order for this mod to work correctly..

CountryCharm nodes in agreement. :yes:

10 Dec 2010, 9:42 AM
#2205
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

digitalvision:

I guess my friend you need to think again to add the product id on the urls.

Nope, that's a horrible idea and goes against what the software is for. It's not to simply to generate unique URIs, but for you to be in control of your URIs.

digitalvision:

or at least check if the url its generating is unique on the system.

I'm adding this into the new version of the software. The user will then be required to change their product name or manually modify the URI, the software will **not **generate a URI with an arbitrary number attached.

Regardless, you should NEVER have two products in the same category with the same name. How is a blind person supposed to use a site like that?

Don't just think of yourself! :)

digitalvision:

I have a computer store and there is many product and they have same name. So when your module generates url, they becomes all same instead generating unique url.

So change the product names to something more sensible (I see no reason products should ever have the same name, two products aren't the same or you'd sell them as one), and regenerate their URIs OR

after you've clicked "Preview", copy the generated URI, go back to the product page, paste the URI in and change it to make it unique (and untick autogenerate) before clicking "Preview" again and then "Update".

That'll have each product having a unique URI.

All the best..

Conor
ceon

10 Dec 2010, 12:59 PM
#2206
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:

Nope, that's a horrible idea and goes against what the software is for. It's not to simply to generate unique URIs, but** for you to be in control of your URIs**.

nods in agreement

digitalvision:

As a result on search result i can see 5 different products,** but no matter which one i click they all goes to only one links!

Not sure if this is with my system only...but its an error That I can make sure** .and as Conor reminded me.. this mod allows YOU to be in control of your own URI's. If you MUST keep all of these products with the SAME NAME, then you CAN (and SHOULD) change the URI's for the "duplicate" products so that they all have unique URI's.. (It's EASY enough to do..) IMHO this is but ONE of the many reasons why this is the best SEO mod available for Zen Cart, and I for one hope he NEVER changes one of it's key features..

11 Dec 2010, 1:19 AM
#2207
member avatar

member

Zen Follower

Join Date:
Dec 2004
Posts:
102
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Conor,

I am posting this here because you addressed a similar issues with another forum member (quoted below).

I am using zen cart 1.3.9h and ceon_uri_mapping_3.8.0_for_zc.

Everything is great with the website.

The problem is:

  1. I have bots looking in the categories for my images and getting a 404 response

example:GET /category/images/medium/image.jpg

  1. My cache at Google in Internet Explorer is looking for the stylesheet at Google

example:
webcache.googleusercontent.com/includes/templates/custom/css/stylesheet.css

and the images in the category

example: example.com/category/images/image.jpg

The cache in Firefox renders the stylesheet and the images correctly

This is only related to the URI Mapping module to the extent that I am using static URIs. Again my site works fine.

I appreciate your time and I know this is slightly off topic but could you tell me what file(s) I could make the changes you mentioned in the quote below?

conor:

You cannot use relative paths with static URIs!

You must change the path to your stylesheets and images to be the full path, starting with a slash (/).

Or you can set the "base href" for your site.

ceon

11 Dec 2010, 3:38 PM
#2208
celticwebsolutions avatar

celticwebsolutions

New Zenner

Join Date:
Sep 2009
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I have been attempting to update a version of zencart 3.9 to the current revision. Every time I updated I'd think everything was fine but then when you try to add a product to the cart it does all the actions but when it actually takes you to the cart after adding the cart is empty. I've been trying and trying and trying and getting nowhere. So I copied the site to a test server and worked on it, because I was working in a subdirectoy I had to disable url mapping. I installed the updates file by file and trialed the site after each update, all worked great!

So I copied all the files back to the main site again and re enabled url mapping (altering the config files to reflect the move of course), once again the add to cart feature didn't actually add the item to the cart.

I then realised the only difference was the url mapping was back on. So I turned it off, all works again! So I copied all the old file staht had changed back again, url mapping still has to be turned off or you can't add to cart!

Can anybody tell me what I need to do? I'm assuming there some kind of cache file somewhere that needs flushing / deleting but I don't have a clue where.

Any help anybody can offer would be much appreciated, it's driving me mad and now I have to keep url mapping turned off on the site so people can add items to the cart!

Thanks in advance for any help you offer.

Huw

11 Dec 2010, 3:42 PM
#2209
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I have this module and it works great!

I would like to add a new module - the News and Article Manager with side boxes to my site.

Has anyone had problems with it and this module together? Do you know if it will change my pages to match with the uri mappling for new pages?

Thanks, Kim

11 Dec 2010, 3:46 PM
#2210
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

member:

I appreciate your time and I know this is slightly off topic but could you tell me what file(s) I could make the changes you mentioned in the quote below?

I can't tell you specifically as it depends on how you've set up your site but you should look in

html_header.php and check that a base href tag is present (this prevents most "relative URIs on a static URI site" problems.

Also look in your template files.. make sure none of them use "relative" links.. make sure they start with / and use the whole path, e.g. /images/image.jpg not images/image.jpg

Hope that helps.

All the best..

Conor
ceon

11 Dec 2010, 3:48 PM
#2211
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Kim,

How are you?

kburner:

I would like to add a new module - the News and Article Manager with side boxes to my site.

Has anyone had problems with it and this module together? Do you know if it will change my pages to match with the uri mappling for new pages?

The News and Articles manager doesn't have any inbuilit support for static URIs. I'm afraid that you are stuck with dynamic URIs for it (with id= etc.).

At least the rest of your site uses static URIs! :)

You can create static URIs for news articles but it means manually entering creating a URI mapping in the database for each new article. I'm afraid I can't help with that here.

All the best...

Conor
ceon

11 Dec 2010, 3:51 PM
#2212
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Huw,

celticwebsolutions:

Thanks in advance for any help you offer.

It sounds like you haven't fully installed the software.

Reinstall the software FROM SCRATCH.. paying particular attention to the modifications required for the file includes/functions/html_output.php

You've either missed modifying the above file (so you've probably missed others too) or your site uses hard coding for its Add to Cart forms (unlikely)..

Either of these situations causes the software to redirect to the static URI for a site after a post to its old dynamic and therefore lose the contents of the POSTed form (meaning that it can't add the product to the cart).

All the best..

Conor
ceon

11 Dec 2010, 3:55 PM
#2213
celticwebsolutions avatar

celticwebsolutions

New Zenner

Join Date:
Sep 2009
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi Huw,

It sounds like you haven't fully installed the software.

Reinstall the software FROM SCRATCH.. paying particular attention to the modifications required for the file includes/functions/html_output.php

You've either missed modifying the above file (so you've probably missed others too) or your site uses hard coding for its Add to Cart forms (unlikely)..

Either of these situations causes the software to redirect to the static URI for a site after a post to its old dynamic and therefore lose the contents of the POSTed form (meaning that it can't add the product to the cart).

All the best..

Conor
ceon

Thank you for your prompt reply.

So I need to reinstall the software every update? It worked previously to the update, I was on 3.9c so updated to h by going through the file changes on each version and uploading the new files one by one for each version.

If I reinstall the software will I loose the existing seo links? there are over a thousand products in the store which are already listed in google so don't wanna mess up links.

11 Dec 2010, 4:11 PM
#2214
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)

celticwebsolutions:

**So I need to reinstall the software every update?**That's not what he said/meant.. What Conor suggested is that based on the conditions you describe that your install of this add-on is incomplete (possibly as a result of something being overwritten when you upgraded Zen Cart). So to correct this you will need to re-install Ceon URI Mapping.

celticwebsolutions:

It worked previously to the update, I was on 3.9c so updated to h by going through the file changes on each version and uploading the new files one by one for each version.
If I had to hazard a guess I'd say your Zen Cart updates overwrote the modifications this add-on makes to some of the core files which would have led to the behavior you have described.

celticwebsolutions:

If I reinstall the software will I loose the existing seo links? there are over a thousand products in the store which are already listed in google so don't wanna mess up links.As the readme for this add-on explains, the URI's created by this mod are stored in your database. So unless you deleted the tables/fields that support this, updating will not affect your existing URI's..

11 Dec 2010, 4:18 PM
#2215
celticwebsolutions avatar

celticwebsolutions

New Zenner

Join Date:
Sep 2009
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Thanks again for the reply.

I answered before I looked into it, jumped the gun a tad I'm afraid, appologies if I sounded as if I were being funny.

I'm just trting to work out what needs to be altered in the files as I assume they now need modyfying rater than just uploading the provided ones.

11 Dec 2010, 4:27 PM
#2216
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)

celticwebsolutions:

Thanks again for the reply.

I answered before I looked into it, jumped the gun a tad I'm afraid, appologies if I sounded as if I were being funny.

I'm just trting to work out what needs to be altered in the files as I assume they now need modyfying rater than just uploading the provided ones.
Whenever you install ANY add-on you should be using a file comparison program to compare the common files and merge any required changes..

Truthfully this is how you should have approached your Zen Cart upgrade to avoid wiping out the places that this mod (and other add-ons you may have installed) modifies core Zen Cart files..

11 Dec 2010, 4:41 PM
#2217
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi DivaVocals,

How are you?

My, my don't you post a lot and with lots of content in the posts!

Sorry if I haven't replied in detail to replies of yours, I'm experiencing a severe shortage of time at the minute ( I shouldn't even be on this forum right now.. :) ).

DivaVocals:

That's not what he said/meant.. What Conor suggested is that based on the conditions you describe that your install of this add-on is incomplete (possibly as a result of something being overwritten when you upgraded Zen Cart). So to correct this you will need to re-install Ceon URI Mapping.

If I had to hazard a guess I'd say your Zen Cart updates overwrote the modifications this add-on makes to some of the core files which would have led to the behavior you have described.

Yes, this is exactly what I think has happend. A simple use error of thinking that all the files had been uploaded/merged properly when at least one, includes/functions/html_output.php has unfortunately been overwritten with a "fresh" version from Zen Cart or another module.

DivaVocals:

As the readme for this add-on explains, the URI's created by this mod are stored in your database. So unless you deleted the tables/fields that support this, updating will not affect your existing URI's..

Yes, Huw, don't worry, you won't lose any mappings.. simply read the installation docs and go through the files and modified core files bits again, as if you hadn't done that before (even though you have).. you'll probably find that you accidentally overwrite some of the Ceon URI Mapping modifications when you upgraded Zen Cart.

Enjoy the rest of your weekend both of you! :)

All the best..

Conor
ceon

11 Dec 2010, 4:43 PM
#2218
celticwebsolutions avatar

celticwebsolutions

New Zenner

Join Date:
Sep 2009
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Lesson learnt! I didn't remember installing ceon at all so I was under the impression that the only files I made mods to were in the custom template dir, totally my fault for having an awful memory!

Reverted it back now so it's back on version c as it was.

So can I just confirm something, I see that the ceon code is wrapped in begin and end comments. Is it just a case of adding these sections into the new files 1.3.9h or does the code replace sections of code which I need to work out what they are? My site is totally standard oteh rthan a differnet template and of course as I now see, ceon. Unfortunately the ceon archive only has modified files upto 1.3.9d so h I have nothing to work on for comparison

11 Dec 2010, 5:19 PM
#2219
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

celticwebsolutions:

So can I just confirm something, I see that the ceon code is wrapped in begin and end comments. Is it just a case of adding these sections into the new files 1.3.9h or does the code replace sections of code which I need to work out what they are?

Yes, with our software distributions we never replace code, we only add code. If code effectively needs replaced we add comment blocks to comment out this existing code. This makes our customisations as easy as humanly possible to add.

celticwebsolutions:

My site is totally standard oteh rthan a differnet template and of course as I now see, ceon. Unfortunately the ceon archive only has modified files upto 1.3.9d so h I have nothing to work on for comparison

Download 3.8.0 from our website, it has modified files for e and f.

As soon as g and h were released I had modified files created for them too, but since I decided to create a version 4.0.0 of the software I never released an updated version with modified files for those specific Zen Cart versions. My reasoning being that time was better spent on 4.0.0 (it takes more effort than you'd expect to package up a release) and that the differences (in the files Ceon URI Mapping modifies) between f and h were so insignificant that you could just use the sample modified files for 1.3.9f.

So just copy the modified_core_files for 1.3.9f over your 1.3.9h versions and you'll be fine.

All the best..

Conor
ceon

11 Dec 2010, 5:21 PM
#2220
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 DivaVocals,

How are you?

My, my don't you post a lot and with lots of content in the posts!

:laugh: Call it a by-product of my day job where I write functional requirements docs and must be sure that there is enough details for my developers to understand the needs of the users.. :laugh:

conor:

Sorry if I haven't replied in detail to replies of yours, I'm experiencing a severe shortage of time at the minute ( I shouldn't even be on this forum right now.. :) ).
No worries.. I'm awfully surprised to see you here on a weekend..:smile: