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

Ceon URI Mapping (SEO)

Locked

Views: 472,310

Results 2,101 to 2,120 of 2,913
This thread is locked. New replies are disabled.
11 Nov 2010, 3:50 PM
#2101
conor avatar

conor

Passed

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

Ceon URI Mapping (SEO)

Hi Tony,

TonyBunney:

Thanks Conor. I will look into switching to test domains in the future as I have a number of new clients coming on board.

It makes everything easier.. until our clients' sites are ready we simply use our own test server for them.. e.g. clientname.ourtestserver.com

Making the site live is then a simple matter of updating the Apache configuration to associate their domain name with the folder the test site is in and updating paths in the likes of configure files. Easy! (And v professional!) :)

Hope that helps!

All the best..

Conor
ceon

11 Nov 2010, 4:15 PM
#2102
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)

I've done both ways.. I develop on my own host, then transfer the site to the clients host.. using a sub directory requires me to scrub the SQL file before transferring.. It wasn't pretty, but got it down to a science.. (a little find and replace magic :smile:) That said switching to a subdomain setup has indeed made transferring from my dev to the client's prod environment a lot easier.. LOL*

conor:

Hi Tony,

It makes everything easier.. until our clients' sites are ready we simply use our own test server for them.. e.g. clientname.ourtestserver.com

Making the site live is then a simple matter of updating the Apache configuration to associate their domain name with the folder the test site is in and updating paths in the likes of configure files. Easy! (And v professional!) :)

Hope that helps!

All the best..

Conor
ceon

11 Nov 2010, 5:07 PM
#2103
rpain avatar

rpain

Zen Follower

Join Date:
Mar 2005
Location:
Watford, UK
Posts:
146
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi Richard,

You shouldn't exclude any Zen Cart pages from the mapping using htaccess rules.

That means that this module isn't built to work with static URIs.. it must be using relative URIs. Change all of its link generation functionality (and links to CSS/JS files) to use full static paths instead of relative paths and it will then be compatible with your new static-URI based site! :)

E.g. this is wrong:

includes/templates/css/my_css_file.css

This is right:

/includes/templates/css/my_css_file.css

All the best..

Conor
ceon
Thanks. I'm presuming then that I need to change lines like this:

if (file_exists(DIR_WS_TEMPLATE . 'common/tpl_main_page.php')) {

I've tried changing it to:

if (file_exists('http://www.websiteaddress.com/includes/templates/uktemplate/common/tpl_main_page.php')) {

..but it doesn't find the file. Should I be using:

if (file_exists('/home/wwwloui/public_html/includes/templates/uktemplate/common/tpl_main_page.php')) {

Instead?

Thanks again,
Richard

11 Nov 2010, 5:39 PM
#2104
rpain avatar

rpain

Zen Follower

Join Date:
Mar 2005
Location:
Watford, UK
Posts:
146
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

No worries - it is this format I need to use as far as I can tell:

/home/wwwloui/public_html/includes/templates/uktemplate/common/tpl_main_page.php

....Just got to wade my way through the files now to see what needs to be changed.

Thanks,
Richard

12 Nov 2010, 2:15 AM
#2105
gal_op avatar

gal_op

New Zenner

Join Date:
Apr 2010
Posts:
21
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor

Your module works like a charm on my Mineral Skin care site :clap:

Thanks for your quick support and help

Zen cart 1.3.9a

12 Nov 2010, 10:53 AM
#2106
tonybunney avatar

tonybunney

New Zenner

Join Date:
Jul 2010
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

It looks like Conor is correct on the sub domain issue and I will certainly be looking at that solution when I get time but for now, as I have a deadline, I will continue to use my current method which is basically having logic in the config.php file to determine which site I am running on, including a local XAMPP server.
I obviously have to use different .htaccess files as I am not that confident I know how to determine which site I am running on within the .htaccess file itself. I know it can be done but for now I will use different files for each environment.

Tony

12 Nov 2010, 11:00 AM
#2107
tonybunney avatar

tonybunney

New Zenner

Join Date:
Jul 2010
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I agree. This mod is proving to be a God send. Having the ability to create static URLs not based on product/manufacturer/categories name (as my client is always changing these) was exactly what I was looking for. Conor will definitely be getting a donation from me/my client and I would suggest that everyone give Conor something if they are using this mod as this will allow him to develop even more great add-ons.

12 Nov 2010, 11:22 AM
#2108
tonybunney avatar

tonybunney

New Zenner

Join Date:
Jul 2010
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hopefully a quick question for Conor or even a request for a quick change, paid for of course.
My client's web site has been heavily modified as to how brands, categories and products are displayed.
A single page now displays all products within a category/manufacturer/size/gender. This is how they wanted it and so this is what I developed for them.
The new file product_listing.php now take care of displaying all products filtered by category/manufacturer/size/gender with the product_info.php file responsible for displaying details about the actual product.
The new product_listing.php file uses one or more of the following parameters.
categories_id (single category id or name)
gender ("M","W" or "B" (Both))
showtype (this can be "sale" or "new")
manufacturers_id (single manufacturers id or name)
Having look at the code responsible for translating static URI to ZEN Cart URI, I believe that it is a simple matter of changing the includes/init_includes/init_ceon_uri_mapping.php and a change in the admin logic that updates/sets the value of "main_page" on the zen_ceon_uri_mappings database table.

I was just wondering if I am on the right track here and also if I am correct, whether Conor can help identify exactly where the changes need to be made, which will save me trawling through the code looking for where changes are required.

Regards
Tony

12 Nov 2010, 11:38 AM
#2109
tonybunney avatar

tonybunney

New Zenner

Join Date:
Jul 2010
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I have a potential issue with duplicate product names within the same category.
My client has a number of products within the same Category which have the same product name and this has generate duplicate "uri" content in the zen_ceon_uri_mappings database table.
Is there an option to make these uri's unique using the product_id in the uri?

Also, is it possible to include the manufacturer in the link, e.g. Lacoste/Shoes/Blue-Trainers?

Tony

12 Nov 2010, 1:44 PM
#2110
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

TonyBunney:

I have a potential issue with duplicate product names within the same category.
My client has a number of products within the same Category which have the same product name and this has generate duplicate "uri" content in the zen_ceon_uri_mappings database table.
Is there an option to make these uri's unique using the product_id in the uri?

No, you must rename the products in the category.

To be honest, there's no good logical reason for products in a category having the same name anyway.. if there are distinguishing features between the products, they should be part of the name.

My reasoning for this isn't solely based on the following example, but nevertheless, it is a valid example..

What would a blind person do in such a category? Their software would read out products with exactly the same name. How would they know which one is the "right" one?

Change the products' names and the critical problem of shared URIs disappears.

That might be time consuming if there's lots but I only believe in doing things the right way! :)

TonyBunney:

Also, is it possible to include the manufacturer in the link, e.g. Lacoste/Shoes/Blue-Trainers

You'll have to enter the URI manually. Only the URI Mappings manager will be able to use custom auto-generation formats.

All the best..

Conor
ceon

12 Nov 2010, 1:45 PM
#2111
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Tony,

TonyBunney:

I was just wondering if I am on the right track here and also if I am correct, whether Conor can help identify exactly where the changes need to be made, which will save me trawling through the code looking for where changes are required.

I'm not quite sure how exactly this all works. I'd appreciate being able to see the page in operation.

Please get in contact via this address so we can discuss this further. I don't think this thread is the right place for the discussion.

All the best..

Conor
ceon

13 Nov 2010, 12:39 AM
#2112
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping (SEO)

TonyBunney:

I agree. This mod is proving to be a God send. Having the ability to create static URLs not based on product/manufacturer/categories name (as my client is always changing these) was exactly what I was looking for. Conor will definitely be getting a donation from me/my client and I would suggest that everyone give Conor something if they are using this mod as this will allow him to develop even more great add-ons.

nods in agreement :yes:
If everybody would give something that would be nice.

13 Nov 2010, 4:25 PM
#2113
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I've got this installed on zen 1.3.9d and so far so good. Is there a setting in phpmyadmin that can be changed to enable

this product option:

Tick this box to have the URI auto-generated for this product.

for all products at once instead of having to go into the products one by one?

13 Nov 2010, 5:47 PM
#2114
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping (SEO)

buildingblocks:

I've got this installed on zen 1.3.9d and so far so good. Is there a setting in phpmyadmin that can be changed to enable

this product option:

Tick this box to have the URI auto-generated for this product.

for all products at once instead of having to go into the products one by one?
You will have to do them manual one at a time. For all products at once auto feature Conor cannot answer this question here on this support forum as the rules of this forum prohibit the support or discussion of paid modules on the part of the module creator. The particular module you speak of will be a commercial module, and if you want more information on it, you will need to contact Conor via e-mail. (use the contact form on the Ceon website)

13 Nov 2010, 6:38 PM
#2115
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

thanks countrycharm, I'll send off an email.

14 Nov 2010, 5:44 PM
#2116
jeniferous avatar

jeniferous

New Zenner

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

Re: Ceon URI Mapping (SEO)

Hi - i installed the mod ages ago and its been working like a dream. I then added

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

to my htaccess file to re-direct the non www to the www. The index page works fine but doesn't link to any of my categories. I turned the mod off and they worked fine.

I'm sure i'm doing something daft/someones asked the question before but i've hunted through the forum and can't see anything.

Any ideas?

Thanks:huh:

14 Nov 2010, 8:41 PM
#2117
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping (SEO)

Jeniferous:

Hi - i installed the mod ages ago and its been working like a dream. I then added

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

to my htaccess file to re-direct the non www to the www. The index page works fine but doesn't link to any of my categories. I turned the mod off and they worked fine.

I'm sure i'm doing something daft/someones asked the question before but i've hunted through the forum and can't see anything.

Any ideas?

Thanks:huh:
You will need to change it to something like this before it will work right.
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^jambaroo.co.uk$ [NC]
RewriteRule (.*) http://www.jambaroo.co.uk/$1 [R=301,L]

15 Nov 2010, 10:12 AM
#2118
rachitm avatar

rachitm

New Zenner

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

Re: Ceon URI Mapping (SEO)

i have also same error :dontgetit

15 Nov 2010, 1:19 PM
#2119
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping (SEO)

rachitm:

i have also same error :dontgetit
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.

15 Nov 2010, 2:37 PM
#2120
jeniferous avatar

jeniferous

New Zenner

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

Re: Ceon URI Mapping (SEO)

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