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

Ceon URI Mapping (SEO)

Locked

Views: 472,322

Results 1,041 to 1,060 of 2,913
This thread is locked. New replies are disabled.
23 Jan 2010, 5:35 PM
#1041
conor avatar

conor

Passed

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

Ceon URI Mapping (SEO)

Hi Stephen,

stecrox:

However when I ran it on http://www.jbconline.eu the issue did not occur. (they are both hosted by the same hosting company)

I'm afraid I really can't see how it's working on one site and not the other!

All I can say is what I'd do.. double check you don't have anything strange in your htaccess file, check that you have nothing strange in your virtualhost directive.

Hope that helps!

All the best...

Conor
ceon

23 Jan 2010, 10:14 PM
#1042
malx avatar

malx

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

CJPinder:

Additional to my previous post...

If you are using Google AdWords it automatically appends &gclid=xyzzy to the end of the URI. If you are directing your ads to the top level of your site then shoppers will be sent to...
http://www.example.com/?gclid=xyzzy

...which will give people a 404 error. As a temporary fix change the Ad URI to...
http://www.example.com/index.php&main_page=index

Regards,
Christian.

Christian,

I know that this is quite an old post now, but wondering how your fix went for you.

I find that... http://www.example.com/index.php&main_page=index works fine but http://www.example.com/index.php&main_page=index?gclid=xxxx gives me a 404.

Did you have this problem? If so how did you get around it?

Anthony.

25 Jan 2010, 4:24 PM
#1043
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: Ceon URI Mapping (SEO)

Never mind, I had some hard-coded links that overrode the URI mappings. I need to get less complicated!

25 Jan 2010, 8:06 PM
#1044
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: Ceon URI Mapping (SEO)

It's me again ...

The problem I was having when I provided translated URIs for some of my Spanish pages was that I had a trailing space after the URI definition (edited via phpMyAdmin), e.g. I entered '/condiciones ' instead of '/condiciones'. Removing the trailing space made all the URI remapping happy again.:blush:

I'm just hoping this might help someone else.

26 Jan 2010, 11:19 AM
#1045
malx avatar

malx

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Malx:

Christian,

I know that this is quite an old post now, but wondering how your fix went for you.

I find that... http://www.example.com/index.php&main_page=index works fine but http://www.example.com/index.php&main_page=index?gclid=xxxx gives me a 404.

Did you have this problem? If so how did you get around it?

Anthony.

Just an update and after applying the latest version of Ceon's mod everything works just fine, including going to http://www.example.com/?gclid=xxxx directly.

Thanks for the great work.
Anthony.

26 Jan 2010, 4:07 PM
#1046
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi Stephen,

I'm afraid I really can't see how it's working on one site and not the other!

All I can say is what I'd do.. double check you don't have anything strange in your htaccess file, check that you have nothing strange in your virtualhost directive.

Hope that helps!

All the best...

Conor
ceon

hello, conor.

Thanks for your wonderful URI mod. we love it so much.
after installed, it rewirte categories/products/ezpges prefectly.

however, may i ask you if this URI mod can rewrite NEWS and ARTICLES mod at http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1132

thanks again:smile:

26 Jan 2010, 4:43 PM
#1047
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)

Jerry5763837:

hello, conor.

Thanks for your wonderful URI mod. we love it so much.
after installed, it rewirte categories/products/ezpges prefectly.

however, may i ask you if this URI mod can rewrite NEWS and ARTICLES mod at http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1132

thanks again:smile:Suggest you read the readme that comes with Conor's module that addresses how to create URIs for other Zen Content..

26 Jan 2010, 5:52 PM
#1048
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:

Suggest you read the readme that comes with Conor's module that addresses how to create URIs for other Zen Content..

Yes, that's right.. you'll be able to add URIs for those pages using that documentation (using PHPMyAdmin to manually add records with the query string parameters field being used to map individual articles).

I'd imagine the module you linked to could have code added so that it adds URIs to the database automatically but I'm afraid it would indeed require rewriting those modules to add the necessary PHP code.

All the best..

Conor
ceon

27 Jan 2010, 8:16 AM
#1049
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

hello, conor,

thanks for your quick answer.

i tried to add a new record to the ceon_uri_mapping table to rewrite
/index.php?main_page=news, but unfortunately failed.

my settings are as follows:

The URI mapping to be mapped from should be entered in the uri field. (/index.php?main_page=news)

The number representing the language ID this URI mapping applies for should be entered in the language_id field. (en)

The current_uri field should be set to “1” to make this the “current” URI. (1)

The Zen Cart page to be mapped to should be entered in the main_page field. (/news)

The date/time this URI mapping was added should be set in the date_added field (or just use the “NOW()” SQL function). (leave as it is)

The query_string_parameters, associated_db_id and alternate_uri fields are not used, they must be left as “NULL”. The redirection_type_code is not used either so it doesn't matter what value it has (it can just be left at the default value of 301). (leave as it is)

could you plesae help to check if any mistake about above settings?

if also wan to rewrite /index.php?main_page=news_article&article_id=1 to /news/article_title, is it possible to achieve this? How?

appreciated.

27 Jan 2010, 8:47 AM
#1050
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

Jerry5763837:

hello, conor,

thanks for your quick answer.

You're welcome.

Jerry5763837:

i tried to add a new record to the ceon_uri_mapping table to rewrite
/index.php?main_page=news, but unfortunately failed.

I'll be honest with you, it doesn't appear you spent much time at all reading the instructions?

Jerry5763837:

my settings are as follows:

The URI mapping to be mapped from should be entered in the uri field. (/index.php?main_page=news)

So you want this to be:

/news

Jerry5763837:

The number representing the language ID this URI mapping applies for should be entered in the language_id field. (en)

"The Number representing"

so

1

if your language ID is 1 (if you only have one language that is likely).

Jerry5763837:

The current_uri field should be set to “1” to make this the “current” URI. (1)

Yes, that's right.

Jerry5763837:

The Zen Cart page to be mapped to should be entered in the main_page field. (/news)

/news is a URI not a Zen Cart page but the following is the name of the a Zen Cart page:

news

Jerry5763837:

The date/time this URI mapping was added should be set in the date_added field (or just use the “NOW()” SQL function). (leave as it is)

I would have set it to "NOW()" as that allows the historical mapping to work properly and it only takes 2 seconds to select it from the dropdown!

Jerry5763837:

The query_string_parameters, associated_db_id and alternate_uri fields are not used, they must be left as “NULL”. The redirection_type_code is not used either so it doesn't matter what value it has (it can just be left at the default value of 301). (leave as it is)

could you plesae help to check if any mistake about above settings?

I realise that examples in the docs may make these easier for people so will try to add some for the next version.

I've gone and spent this time to give an example here but **I want to make anyone else who is reading this aware that I won't giving site-specific examples here frequently, I don't have the time, **so please don't ask! (Sorry but life is too short to be so generous with time ;) )

Jerry5763837:

if also wan to rewrite /index.php?main_page=news_article&article_id=1 to /news/article_title, is it possible to achieve this? How?

Given the above and the section of the docs "Specifying the current URI Mapping for any other Zen Cart page" (part 2 of that section) you should be able to figure out what to enter.

I'll say specifically though so I don't need to reply later. please read the docs and try it yourself first then take note of the following if need be:

uri will be

/news/article_title

main_page will be

news_article

query_string_parameters will be

article_id=1

Enjoy the module and good luck with your site.

Now to get on to actual development work etc... :)

All the best...

Conor
ceon

28 Jan 2010, 4:08 AM
#1051
bigjon1982 avatar

bigjon1982

New Zenner

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

Re: Ceon URI Mapping (SEO)

I installed this add on and update our current products. Is anyone having trouble with SSL error messages in firefox?

Zen cart 1.3.8

Thanks

28 Jan 2010, 8:15 AM
#1052
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

bigjon1982:

I installed this add on and update our current products. Is anyone having trouble with SSL error messages in firefox?

Once you start using URI Mapping you must have the same root level for your URIs.. ie. you can't have

http://www.mysite.com/shop

and

https://sharedsssl.com/mysite.com/shop

You should purchase a SSL certificate for https://www.mysite.com so your SSL URIs are almost identical (i.e. end up as https://www.mysite.com)

That should get you sorted.

All the best...

Conor
ceon

28 Jan 2010, 4:06 PM
#1053
bigjon1982 avatar

bigjon1982

New Zenner

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

Re: Ceon URI Mapping (SEO)

conor:

Hi,

Once you start using URI Mapping you must have the same root level for your URIs.. ie. you can't have

http://www.mysite.com/shop

and

https://sharedsssl.com/mysite.com/shop

You should purchase a SSL certificate for https://www.mysite.com so your SSL URIs are almost identical (i.e. end up as https://www.mysite.com)

That should get you sorted.

All the best...

Conor
ceon

The SSL key is set to a non-www is there code in the MOD to change that?

28 Jan 2010, 5:35 PM
#1054
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor

First off would like to say fantastic mod! and its free ....even better :D

Had abit of confusion when installing it, but persevered and it was down to my own user error (as expected!)

I do have a question tho, may have been covered off somewhere in this vast thread so appologies if it has!

Is there anyway to stop duplicates ....so if for some reason me or client added in 2 products of the same name, it would dissalow the second- maybe with an error message saying there was duplicate or something? Otherwise you wont be able to access the seperate products as they would now have the same url

I can just guarantee i would have a client that will do it haha

Neway thanks for a awesome mod!

Many regards
Scott

28 Jan 2010, 5:44 PM
#1055
bigjon1982 avatar

bigjon1982

New Zenner

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

Re: Ceon URI Mapping (SEO)

By how I understand how the zencart SQL database is setup. The products are created with an ID number and not a name but I learning something new everyday. I been using it for months

28 Jan 2010, 6:22 PM
#1056
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

bigjon1982:

The SSL key is set to a non-www is there code in the MOD to change that?

You don't have to have "www" in the domain name but you must make sure that both the SSL version of the site and the non-SSL version share the same paths after the initial root directory slash.

I.e. You can't have

http://mysite.com/SHOP

and

https://mysite.com/SSLSHOP

The full path after the domain name must be identical on both the SSL and NON-SSL versions of the sites.

The best practice is to just buy the SSL certificate for the main domain name.

It is our official recommendation that the **only **difference between the following in your configure.php file should be the "s" after "http" in the second line:

define('HTTP_SERVER', 'http://mysite.com');
define('HTTPS_SERVER', 'https://mysite.com');

That's all you need to get things working. Enjoy the module!

All the best...

Conor
ceon

28 Jan 2010, 6:28 PM
#1057
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Scott,

Ooba_Scott:

First off would like to say fantastic mod! and its free ....even better :D

Thanks for the nice comments, it's always nice to hear the work on the software is useful to others and appreciated! :)

Ooba_Scott:

Is there anyway to stop duplicates ....so if for some reason me or client added in 2 products of the same name,

I can just guarantee i would have a client that will do it haha

I did consider that when writing the software but the amount of code necessary for such a simple check just to warn someone that they've two products of the same name in the same category made me decide that it was better just to tell people not to have two products in the same category with the same name.. after all it simply isn't logical!

I know what you mean though about the potential of some "dipsy" client ( ;) ) encountering such a situation in the future but I'm afraid that is simply something we'll have to hope doesn't happen!

I may upgrade the software in future to add a check for this but it's down the list at the minute I'm afraid! :)

All the best...

Conor
ceon

28 Jan 2010, 6:59 PM
#1058
bigjon1982 avatar

bigjon1982

New Zenner

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

Re: Ceon URI Mapping (SEO)

conor:

Hi,

You don't have to have "www" in the domain name but you must make sure that both the SSL version of the site and the non-SSL version share the same paths after the initial root directory slash.

I.e. You can't have

http://mysite.com/SHOP

and

https://mysite.com/SSLSHOP

The full path after the domain name must be identical on both the SSL and NON-SSL versions of the sites.

The best practice is to just buy the SSL certificate for the main domain name.

It is our official recommendation that the **only **difference between the following in your configure.php file should be the "s" after "http" in the second line:

define('HTTP_SERVER', 'http://mysite.com');
define('HTTPS_SERVER', 'https://mysite.com');

That's all you need to get things working. Enjoy the module!

All the best...

Conor
ceon

Thank you...I enjoy your modules and your support

28 Jan 2010, 10:00 PM
#1059
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Thanks for the quick reply :)

All very valid reasons not to have done it! :)

Thanks again,

Scott

29 Jan 2010, 3:50 PM
#1060
new2u avatar

new2u

Zen Follower

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

Re: Ceon URI Mapping (SEO)

Is there a way to change the home link on the site to direct to / rather than /index.php?main_page=index .... ? I am using the ceon uri remap, but I dont see a way to do this in there... has anyone done this. Google is showing duplicate home pages which I dont want. I only want google to see / not /index.php or /index.php?main_page=index

I have left the main_page field blank and tried using a / neither work. Is this possible?