Re: 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!
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
Code:
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
Code:
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
Code:
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
Code:
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
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 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.
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 www.mysite.com/partsrequest.php to operate normally without 404.
Hope that helps!
Sasha Shepherd
HyosungSource.com
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
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
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
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
HPG09
Excellent mod which I have found easy to implement. Thanks Conor!
I'm glad you like it!
Quote:
Originally Posted by
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
Re: Ceon URI Mapping (SEO)
Hi Eamon,
Quote:
Originally Posted by
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!
Quote:
Originally Posted by
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 www.example.com. Since your configure.php file is set up with 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
Re: Ceon URI Mapping (SEO)
Hi Alan,
Quote:
Originally Posted by
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?
Quote:
Originally Posted by
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
Ceon URI Mapping (SEO) problem...
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.