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

Ceon URI Mapping (SEO)

Locked

Views: 472,292

Results 761 to 780 of 2,913
This thread is locked. New replies are disabled.
8 Nov 2009, 12:34 PM
#761
buddhaflow avatar

buddhaflow

New Zenner

Join Date:
Mar 2009
Posts:
41
Plugin Contributions:
0

Ceon URI Mapping (SEO)

Also, a side note for those with large sites:

Even if URI Mapping Manager is not yet completed, if you are handy with Excel you should be able to approximate its function; that is, the automatically make your own URI mappings for your whole site en masse.

Just take the "product_id" field from the "products" category and map it to the "associated_db_id" field in the "ceon_uri_mappings" table. Then, cobble together whatever "uri"s you want from your category and product info. Import into the ceon_uri_mappings SQL table, boom you're done!

8 Nov 2009, 8:58 PM
#762
hpg09 avatar

hpg09

New Zenner

Join Date:
Feb 2009
Location:
UK
Posts:
14
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi,

Excellent mod which I have found easy to implement. Thanks Conor!

I do have a problem with a site, though - I'm not certain it is with my implementation of ceon uri mapping so by all means send me packing if it is not! :smile:

Site is http://www.handpickedgifts.co.uk/.
I have CEON URI mapping 3.2.4, also Fast and Easy Checkout 1.61 which may be relevant. I have ZC 1.38.
Also relevant is that I use a shared SSL provided by my host. This means that the login page, for example, is at ```
https://stargate.terrassl.net/handpickedgifts.co.uk/index.php?main_page=login&zenid=********



If a registered users navigates from main page to login and logs in successfully, they are taken to ```
https://stargate.terrassl.net/handpickedgifts.co.uk/index.php?main_page=index&zenid=*******

Thereafter account pages are served securely, product pages are served insecurely and all works fine and dandy.

However.... if a registered users navigates to a product page and then to the login page, once they log in they are taken to my hosts SSL error page at ```
https://stargate.terrassl.net/handpickedgifts.co.uk/gifts-by-type/kitchen-dining/bread-server?/gifts-by-type/kitchen-dining/bread-server=&zenid=*********


I would be expecting it to go to ```
http://www.handpickedgifts.co.uk/gifts-by-type/kitchen-dining/bread-server?zenid=**********

So - have I messed up the URI mapping, is there a conflict with fec, or do I have a problem because of the shared SSL? I should say thaat it all works correctly with ceon mapping turned off.

Any help or pointers much appreciated.

Dave

8 Nov 2009, 10:56 PM
#763
eamon_fire avatar

eamon_fire

New Zenner

Join Date:
Oct 2009
Location:
Dublin, Ireland
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor,

I implemented your mod this evening and it was a joy to do. Thanks for the obvious hardwork that you have and continue to put in.

However I'm getting 404's on any of the pages I've attempted to change the url to a static address. So far I've :

  1. Read most of the pages in this tread
  2. Read and re-read the Setting up a rewrite rule instructions
  3. Read and re-read the FAQ
  4. Read a URL rewriting guide for Apache (Heavy stuff, most of which I didn't get)
  5. Double checked that all of the files are installed and in the right place

I've been concentrating on the .htaccess file as the probable cause and I've made all the changes specified using "/" "/storesnames/" etc. but to no avail. Here is my .htaccess file :

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com$
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

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} !^/not_the_real_admin_dir.* [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]

The first three lines were already in there which I think my host put there for www or no www.

My site is https://www.startupwizard.ie and Ive tried to change the only product category I've got, one of my products (Startup Pro) and one of my EZ Pages - Downloads. None of which are now working.

Hopefully this is something simple and I'm just missing it but after the hours I've spent messing about with this I fell like :frusty:

Thanks in advance.

9 Nov 2009, 6:43 AM
#764
buddhaflow avatar

buddhaflow

New Zenner

Join Date:
Mar 2009
Posts:
41
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Eamon,

If I understand correctly, I was having a similar problem when I was trying to put a few custom pages in my site that were totally outside of the whole Zen Cart framework.

This line in .htaccess fixed it for me:

RewriteCond %{REQUEST_URI} !^/partsrequest.php [NC]

This allowed https://www.mysite.com/partsrequest.php to operate normally without 404.

Hope that helps!

Sasha Shepherd
HyosungSource.com

9 Nov 2009, 9:37 AM
#765
alan145 avatar

alan145

New Zenner

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

Re: Ceon URI Mapping (SEO)

alan145:

Hello Conor,
I installed the Ceon URI Mapping3.2.4, and it run well on my web, but today, I found a problem. before not installing Ceon URI Mapping, when I click "see all", then it dispaly all my products Directory, but after installing the Ceon URI Mapping, I found that, when I click the "see all", the page is blank, and display nothing, and other EZ pages like wholesale, dropship and gifts are same problems, what the problem is, hope you can help me.
Thank you.
Alan

that problem is solved now, it is the rewrite rule problem. Thanks

9 Nov 2009, 9:45 AM
#766
alan145 avatar

alan145

New Zenner

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

Re: Ceon URI Mapping (SEO)

Hello Conor,
My zen cart template already had the ultimate_seo_urls modules, And I want to install Ceon URI Mapping 3.2.4, so I remove the ultimate_seo_urls, please note that, I remove it perfectly. I am sure it is no problem when removing.
After installing Ceon URI Mapping, I found that I can upload the pictures from the exist pictures in hosting.
But I can't upload the pictures from my local computrs, waht's the problem of it? Hope you can help me.
Thanks
Conor, you are not on line for couple of days. you are travelling?
Alan

9 Nov 2009, 12:07 PM
#767
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

HPG09:

Excellent mod which I have found easy to implement. Thanks Conor!

I'm glad you like it!

HPG09:

Also relevant is that I use a shared SSL provided by my host.

I think it is the redirection code implemented for your shared SSL certificate which is causing the problem. It can be clearly seen from your examples that it is appending the URI twice.

I'm afraid I can't say off the top of my head how to fix this. You should check what the redirection code is doing when moving from a non-SSL page to a SSL page.

This may well be done using a rewrite rule in your htaccess file.

If finding the cause of the above problem isn't easy, the simplest and best solution would be to buy a SSL certificate.

I'd recommend that anyway as having "handpickedgifts.co.uk" at the start of every URI is ugly... with you using a shared SSL certificate you'd probably have to retain that at the start of every static URI, otherwise the certificate may not work correctly (I'm not sure if that's the case, but thought it worth mentioning).

All the best..

Conor
ceon

9 Nov 2009, 12:18 PM
#768
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Eamon,

Eamon Fire:

However I'm getting 404's on any of the pages I've attempted to change the url to a static address.

That means that the rewrite rule isn't being applied properly.. something's up with the htaccess file somewhere!

Eamon Fire:

The first three lines were already in there which I think my host put there for www or no www.

They redirect anyone accessing your site from example.com to https://www.example.com. Since your configure.php file is set up with https://www.example.com this rule doesn't interfere with the URI Mapping rule at all, so it's fine to leave in and not the source of your problems.

I see no problems with your rewrite rules, the same ones work fine on our test server so I don't know what's going wrong.

Get in contact with me privately via this link and I'll take a quick look.

All the best...

Conor
ceon

9 Nov 2009, 12:22 PM
#769
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Alan,

alan145:

After installing Ceon URI Mapping, I found that I can upload the pictures from the exist pictures in hosting.

I'm not quite sure what you mean by "upload" from existing pictures on hosting.. do you mean you can select pictures (files) on your server in some sort of online editor?

alan145:

But I can't upload the pictures from my local computrs, waht's the problem of it? Hope you can help me.

I'm afraid you haven't told me remotely enough to have any idea what is happening! For example: How do you upload pictures? To what? Are you talking about uploading product images in the admin or images through a WYSIWYG editor or something?

All the best...

Conor
ceon

9 Nov 2009, 2:00 PM
#770
linda408 avatar

linda408

New Zenner

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

Re: Ceon URI Mapping (SEO)

Hello.

For some reason certain pages do not get renamed (using Ceon URI Mapping (SEO) Module)...
All the other pages are fine exept for the:
contact us, I input URI Mapping: as "/contact-us" and still get this URL - http://www.domain.com/index.php?main_page=contact_us...

the same thing with a few other pages:
http://www.domain.com/index.php?main_page=products_all
http://www.domain.com/index.php?main_page=specials
http://www.domain.com/index.php?main_page=products_new
they all do not react to the URI Mapping Input...

Am I missing something??
Did anyone had the same problem??

Thanks.

9 Nov 2009, 2:07 PM
#771
alan145 avatar

alan145

New Zenner

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

Re: Ceon URI Mapping (SEO)

conor:

Hi Alan,

I'm not quite sure what you mean by "upload" from existing pictures on hosting.. do you mean you can select pictures (files) on your server in some sort of online editor?

I'm afraid you haven't told me remotely enough to have any idea what is happening! For example: How do you upload pictures? To what? Are you talking about uploading product images in the admin or images through a WYSIWYG editor or something?

All the best...

Conor
ceon
Hello Conor,
at fist, I have add some produts from admin of web, then I remove the ultimate SEO and installed Ceon URI Mapping, so when I set the URI Mapping, I select the produt pictures on the hosting, (it is uptating of the products)
But I found when I add new products, from zen cart web admin-catalog-categoties/products, it can't display the products pictures, What's the problem of it, you can see the attached pictures.
Hope you can understand what I say.
Regards,
Alan

9 Nov 2009, 2:30 PM
#772
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Alan,

I would check that you have working versions of

admin/includes/modules/update_product.php

and the likes of

admin/includes/modules/product/collect_info.php
admin/includes/modules/product/preview_info.php

uploaded.. if you have done something wrong in merging/adding those files then the uploaded image may not be getting saved correctly (it is handled by the three files above, as is the URI mapping).

Hope that helps!

All the best...

Conor
ceon

9 Nov 2009, 3:22 PM
#773
alan145 avatar

alan145

New Zenner

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

Re: Ceon URI Mapping (SEO)

[QUOTE=conor;804340]Hi Alan,

I would check that you have working versions of

admin/includes/modules/update_product.php

and the likes of

admin/includes/modules/product/collect_info.php
admin/includes/modules/product/preview_info.php

uploaded.. if you have done something wrong in merging/adding those files then the uploaded image may not be getting saved correctly (it is handled by the three files above, as is the URI mapping).
Hello Conor,
it seems that I don't change this files when i installed Ceon URI Mapping, but How this problem happen?
Ialso installed image handler modul etc. I am thinking if the moduls are fighting?
Regards,
Alan

9 Nov 2009, 4:19 PM
#774
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 use IH2 just fine with this mod.. What you should do is to make sure that you use a tool like Winmerge to compare any files in the IH2 install files that may be overwritten when you install this mod..

alan145:

conor:

Hi Alan,

I would check that you have working versions of

admin/includes/modules/update_product.php

and the likes of

admin/includes/modules/product/collect_info.php
admin/includes/modules/product/preview_info.php

uploaded.. if you have done something wrong in merging/adding those files then the uploaded image may not be getting saved correctly (it is handled by the three files above, as is the URI mapping).
Hello Conor,
it seems that I don't change this files when i installed Ceon URI Mapping, but How this problem happen?
Ialso installed image handler modul etc. I am thinking if the moduls are fighting?
Regards,
Alan

9 Nov 2009, 5:31 PM
#775
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Alan,

alan145:

Ialso installed image handler modul etc. I am thinking if the moduls are fighting?

When you are copying the files from the modified_core_files folder you should always check that you haven't already got modified files uploaded. You should also be careful that you don't upload the same files from another module over the ones already uploaded for Ceon URI Mapping.

As DivaVocals helpfully says, you should use a Diff program like Winmerge (or even better, Beyond Compare) to compare the files and "merge" any differences which are required for another module to work.

All the best...

Conor
ceon

9 Nov 2009, 8:13 PM
#776
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Eamon,

Eamon Fire:

RewriteCond %{HTTP_HOST} ^example.com$
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

It turns out it was these two lines which were causing the 404s. When I tested this on our test server I naturally changed the "example.com" to the test server's address and had assumed that you had done the same for your actual site's address - changing "example.com" to "startupwizard.ie". However, your .htaccess file was still using "example.com". This is what was causing the 404 errors.

It is all working now that I've changed example.com to startupwizard.ie.

All the best...

Conor
ceon

9 Nov 2009, 8:22 PM
#777
hpg09 avatar

hpg09

New Zenner

Join Date:
Feb 2009
Location:
UK
Posts:
14
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

If finding the cause of the above problem isn't easy, the simplest and best solution would be to buy a SSL certificate.

I'd recommend that anyway as having "handpickedgifts.co.uk" at the start of every URI is ugly... with you using a shared SSL certificate you'd probably have to retain that at the start of every static URI, otherwise the certificate may not work correctly (I'm not sure if that's the case, but thought it worth mentioning).

All the best..

Conor
ceon
Hello Conor,

Thanks for the speedy reply! I've been thinking about this today and also coming to the conclusion the shared certificate is the most likely culprit.

I agree about the secure URIs being ugly but had been prepared to accept that for now, whilst we work on marketing the site. However, a quick check with my hosting company shows that a dedicated IP and certificate is much less than I had thought, so I think that will be the path of least aggravation.

I just need to present a convincing argument to the board (my wife! :D)

cheers
Dave

9 Nov 2009, 8:26 PM
#778
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Dave,

HPG09:

However, a quick check with my hosting company shows that a dedicated IP and certificate is much less than I had thought, so I think that will be the path of least aggravation.

I just need to present a convincing argument to the board (my wife! :D)

SSL certificates can be purchased for as little as $10/$11.. here's a link to the company we get ours from:

http://www.namecheap.com/learn/other-services/cheap-ssl-certificate-rapidssl.asp

Really shouldn't be too hard to convince the board to get that one! :)

Although being related to the board may indeed make that more difficult so good luck! ;)

I'd get the certificate from the above company, the IP address you'll have to get from your host. Overall these days it's really not at all expensive to add SSL to a site!

All the best...

Conor
ceon

9 Nov 2009, 8:55 PM
#779
sarabz avatar

sarabz

New Zenner

Join Date:
Oct 2007
Posts:
14
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

If it's not adding to the cart properly only when the URI Mapping module is enabled then the only thing I can think of is that the user's path to the cart page is being interrupted by a redirect.

The only reason I can see that happening is if the form on the manufacturers page doesn't make use of the zen_href_link function which is overridden by the URI Mapping module to add the mapping functionality.

So I'd check what the "action" of the form is. For example, on my test server zen138.local, on the page of the manufacturer gt_interactive the add to cart form tag is built as such:

<form name="multiple_products_cart_quantity" action="http://zen138.local/gt_interactive ```Hope that helps! > > All the best.. > > Conor > [ceon](http://dev.ceon.net)

Sorry for the long delay in checking back in, I honestly have not had a breath to work on this. Thanks for the hints, that does seem to be it. Regardless of whether the URI mapping is turned on or not for the manufacturer pages, it shows something like

<form name="multiple_products_cart_quantity" action="http://zen138.local/index.php?main_page=index&sort=20a&manufacturers_id=24&action=multiple_products_add_product
``` instead of ```
<form name="multiple_products_cart_quantity" action="http://zen138.local/gt_interactive

Any clue on what to do to fix this? I've looked around to see if I forgot to update something, and I'm at a loss.

Thanks for your help!!

Sara

9 Nov 2009, 9:04 PM
#780
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Sara,

sarabz:

Any clue on what to do to fix this? I've looked around to see if I forgot to update something, and I'm at a loss.

I'm afraid I can't remember the full context of your problem now, but the following may help..

Are you using the latest version of the module? If not, please upgrade, in case that helps.. you also may have forgotten to upload the file includes/functions/html_output.php from the modified_core_files folder.

Hope that helps!

All the best...

Conor
ceon