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

Ceon URI Mapping (SEO)

Locked

Views: 472,207

Results 521 to 540 of 2,913
This thread is locked. New replies are disabled.
8 Sep 2009, 2:51 PM
#521
ronny avatar

ronny

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

Ceon URI Mapping (SEO)

conor:

Hi,

Please read the instructions!

The first part of the configuration section entitled "Specifying the current URI Mapping for any other Zen Cart page" is what you want.. obviously "main_page" for you should be "index".

Glad you like the software!

All the best...

Conor
ceon

thx, Conor
i got it

8 Sep 2009, 3:33 PM
#522
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

yisou:

I just compared the two MOD files, and I found admin/ezpages.php makes the problem.

Yes, when you are using two modules which have modified the same core file you need to manually merge the changes.

You can find out more about what to do in the FAQs for the URI Mapping module, I've made this as easy as possible for you to do. Try starting with the EZ-Page Meta mod (whatever that is! ;) ) 's modified ezpages.php file and merging the URI Mapping changes into it. I know for a fact that the changes are very clearly marked in the URI Mapping version but they may not be marked well in that other mod, I don't know.

All the best...

Conor
ceon

8 Sep 2009, 4:45 PM
#523
yisou avatar

yisou

New Zenner

Join Date:
May 2009
Posts:
36
Plugin Contributions:
0
8 Sep 2009, 5:12 PM
#524
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

yisou:

how to let ceon mapping working please. tks.

I replied to you before. Please don't double post again.

All the best...

Conor

8 Sep 2009, 5:30 PM
#525
yisou avatar

yisou

New Zenner

Join Date:
May 2009
Posts:
36
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Sorry, I really do not know how to resove the dynamic urls.

One more thing, when one product to two categories, how to mapping to 1 url only?
For example,

http://shop.cheapglasses123.com/fb0131-bendable-glasses?cPath=3
http://shop.cheapglasses123.com/fb0131-bendable-glasses

I put product fb0131 under 2 different categoris, then the product has 2 urls, how to let http://shop.cheapglasses123.com/fb0131-bendable-glasses?cPath=3 also map to http://shop.cheapglasses123.com/fb0131-bendable-glasses
many thank.

8 Sep 2009, 7:02 PM
#526
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

yisou:

Sorry, I really do not know how to resove the dynamic urls.

I'm afraid that I don't see the point in talking through the documentation.. please read it to get the answers you require, it took me weeks to write the documentation!

yisou:

One more thing, when one product to two categories, how to mapping to 1 url only?

You can't. Zen Cart requires that each "linked product" has a different cPath.. the only way to have that happen is to append the cPath to the linked product's URI.

All the best...

Conor
ceon

8 Sep 2009, 11:40 PM
#527
yisou avatar

yisou

New Zenner

Join Date:
May 2009
Posts:
36
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

H

You can't. Zen Cart requires that each "linked product" has a different cPath.. the only way to have that happen is to append the cPath to the linked product's URI.

All the best...

Conor
ceon

Dear Conor,
I have used ultimate_seo_urls for https://www.cheapglasses123.com , and it can meet my demands, for example, the product "FA0425 Plastic Glasses", its main category is Pastic Glasses, but you can find that the product has been put under 4 categories:

http://www.cheapglasses123.com/plastic-glasses

http://www.cheapglasses123.com/glasses-between-usd-30-59
http://www.cheapglasses123.com/women-glasses
http://www.cheapglasses123.com/full-rim-glasses

the product "FA0425 Plastic Glasses" under each category has the same url: http://www.cheapglasses123.com/fa0425-plastic-glasses

Have a try please.

9 Sep 2009, 7:14 AM
#528
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

yisou:

I have used ultimate_seo_urls for www.cheapglasses123.com , and it can meet my demands

You should go back to using it if that's the way you want things to work.

URI Mapping will not be changed to accommodate you as your situation is different from everyone else's.

If the cPath isn't added to a linked product's URI then the "context" on the site is lost.. the customer will not be in the same category they viewed the "linked" product in.

Your site doesn't use the context, you have no breadcrumbs or category previous/next buttons, which is why this doesn't affect you with Ultimate SEO URLs... if you did use the context on the site then you'd have exactly the same problem with Ultimate SEO as you do with Ceon URI Mappings.

I'm sorry that URI Mappings is not for you.

All the best...

Conor

10 Sep 2009, 1:18 PM
#529
kfarrell avatar

kfarrell

New Zenner

Join Date:
Aug 2009
Location:
Alvin, Texas
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor,

First I want to thank you again for the outside work you did on my son's site. I would have never figured out all those errors on my own!

I have one question that maybe can be answered here in the forums. I'm looking at my Google account, and I have a bunch of crawl errors (13). I have maps most or all of these pages, but they are not going there if you click these links.

For example, if you click http://www.chickensonline.com/includes/languages/english/shippinginfo.php (which Google did) you get a 404 error, but I mapped the shipping page (I thought), and it goes to http://www.chickensonline.com/shipping.

Should I map these pages with errors too or just add them to my robots.txt file? I've attached a file that shows all the Google errors.

Thanks for any help!
Karen

P.S. On a side note, if there are any chicken enthusiasts out there that would like to help get our new chicken forum off the ground (we need posts about chickens to get it started), it's at http://forum.chickensonline.com. Not to be off topic...

10 Sep 2009, 1:27 PM
#530
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Karen,

kfarrell:

First I want to thank you again for the outside work you did on my son's site. I would have never figured out all those errors on my own!

No problem! Glad the site's working now! :)

kfarrell:

For example, if you click http://www.chickensonline.com/includes/languages/english/shippinginfo.php (which Google did) you get a 404 error, but I mapped the shipping page (I thought), and it goes to http://www.chickensonline.com/shipping.

Should I map these pages with errors too

You've mapped the shipping page from /shipping to the dynamic Zen Cart URI (e.g. main_page=shippinginfo) but the link you have above is some sort of old static page. If you want to link it to your actual shipping page you have to manually map it.

You can add it as a "historical" URI by adding a record to the URI Mappings table, with

/includes/languages/english/shippinginfo.php

as the "uri"

current_uri should be 0

main_page should be shippinginfo

That should redirect anyone visiting the above URI to the new URI for the shippinginfo page.. i.e. /shipping

You'll need to make sure your URI rule allows the use of .php:

change

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

to:

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

RewriteCond %{REQUEST_URI} .(php)$ [NC]

All the best...

Conor
ceon

13 Sep 2009, 4:40 PM
#531
87599875 avatar

87599875

New Zenner

Join Date:
May 2009
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Dear Ceon:
Thanks for your so nice module, but it is very slow when use to a website which more than 10000 products. it will be more than 50,000 records in uri fileds.
My server is high quality, xeon dual core, 4g memery.
it takes more than 4 secs even one visitor online on category page though i cut many unused function.

in database no index and module no cache function. Would you please offer a better idear for the huge site?

Then i think it is very perfect.

Best regards!

14 Sep 2009, 12:53 PM
#532
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

87599875:

Thanks for your so nice module, but it is very slow when use to a website which more than 10000 products.

I think you must be posting on the wrong thread. The URI mapping module can use as little as one SQL query per page load and at most 2 queries per page load. It then uses one query per link generation. That can't possibly be heavy. The module is, quite simply, lightweight.

If you are having slow-downs it's nothing to do with this module. You must have set up your server wrong.

All the best...

Conor
ceon

14 Sep 2009, 6:36 PM
#533
matt_h avatar

matt_h

New Zenner

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

Re: Ceon URI Mapping (SEO)

Hi Ceon
I'm a Zen Cart newbie so hopefully this isn't too stupid a question....
I've installed your module and followed teh instructions but when I try to access the module for the first time through my admin pages I get this error:

The requested URL /my-admin-folder/FILENAME_CEON_URI_MAPPING_CONFIG.php was not found on this server.

(I have replaced the actuual name of my admin folder with with 'my-admin-folder' above and in the htaccess example below)

My Zen cart installation is in the root and I have created a .htaccess file with the following lines as per your configuration instructions:

Don't rewrite admin directory

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

But I'm not getting anywhere.

I'm guessing that I've mucked something up - any ideas what I should look at?

Thanks
Matt

14 Sep 2009, 6:42 PM
#534
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Matt,

matt-h:

I've installed your module and followed teh instructions but when I try to access the module for the first time through my admin pages I get this error:

You've missed uploading at least one of the files. You should reupload them. If you still have problems then it's probably your FTP software.. in which case I'd suggest downloading and using the free FireFTP extension for Firefox.

The file you are definitely missing is

admin/includes/extra_datafiles/ceon_uri_mapping_filenames.php

You may be missing others.

Hope you like the software!

All the best...

Conor
ceon

14 Sep 2009, 6:52 PM
#535
matt_h avatar

matt_h

New Zenner

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

Re: Ceon URI Mapping (SEO)

Hi

I've just checked and ceon_uri_mapping_filenames.php in definitely in my /httpdocs/my-admin-folder/includes/extra_datafiles

I'm using cuteFTP and don't normally have problems with that.

Do I need to take into account that my files are all in the httpdocs folder?

Thanks

14 Sep 2009, 7:26 PM
#536
matt_h avatar

matt_h

New Zenner

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

Re: Ceon URI Mapping (SEO)

Hi
Sorry to be a pita.

I've re-uploaded everything and double checked all the files are where they should be.

Now I have a different issue, in as much as my admin pages are blank :)

I have updated my htaccess file to this:

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} !^/my-admin-folder.* [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 ideas?

thank you
Matt

14 Sep 2009, 10:05 PM
#537
87599875 avatar

87599875

New Zenner

Join Date:
May 2009
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

I think you must be posting on the wrong thread. The URI mapping module can use as little as one SQL query per page load and at most 2 queries per page load. It then uses one query per link generation. That can't possibly be heavy. The module is, quite simply, lightweight.

If you are having slow-downs it's nothing to do with this module. You must have set up your server wrong.

All the best...

Conor
ceon

I don't think so. I use zen cart more than 1 years, and know a few codes and server information. and i like ceon uri very much. check carefully, and test many times. i can make sure the heavy query issue. would you please check it in example which 10000+ products in your pc? Thanks very much.

15 Sep 2009, 10:46 PM
#538
applynx avatar

applynx

New Zenner

Join Date:
Jun 2007
Location:
Templeton, CA
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor,

Thanks so much for the Ceon URI Mapping module -- I far prefer the control your approach gives me to an automated URL generator.

I do have one question about translated pages -- I have set up several mappings to spanish (e.g. http://www.mydomain.com/spanish/my-product.html), but if I go straight to the mapped URL, the page is in english (my zen cart default language). Is this the correct behavior for the module? If so, shouldn't the behavior be that the URL over-rides the default language -- otherwise, search engines will see the same content for both https://www.mydomain.com/product.html and https://www.mydomain.com/spanish/product.html.

Thanks in advance, and thanks again for a great contribution!
Scott

16 Sep 2009, 7:27 AM
#539
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

applynx:

Thanks so much for the Ceon URI Mapping module -- I far prefer the control your approach gives me to an automated URL generator.

I'm glad you like it! :)

applynx:

If so, shouldn't the behavior be that the URL over-rides the default language -- otherwise, search engines will see the same content for both

You're right.. that would definitely be logical and is the way I'd expect it to work. I would therefore consider the current behaviour a bug - thanks for bringing it to my attention.

I'll update the module to automatically reset the current session's language ID to that matched by the URI mapping (if it matches one language only).

If the URI mapping is the same for several languages, then I'll make it that it uses the current session's language, if that is one of the languages the URI mapping matches, or falls back to the default language for the site.

I think that sounds like the correct behaviour?

All the best...

Conor
ceon

16 Sep 2009, 6:45 PM
#540
kiko avatar

kiko

New Zenner

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

Re: Ceon URI Mapping (SEO)

Hi there,

I installed the Ceon URI module and it is working, but I only have one problem.

When I have the module on, images are broken in my product page, but also the language flags in the sidebox. When I turn the module off the images are shown good.

Could this be something to do with the rewriting in .htaccess file?

This is my .htaccess 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 .[xxxx])

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

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/shop/mypanel.* [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 (.*) /shop/index.php?%{QUERY_STRING} [L]

I couldn't find the answer in the posts, so I hope someone knows a solution for this.