Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Alan,
I'm guessing that your rewrite rule is blocking the folder the image is in or that you are allowing images to be rewritten (the standard example rules don't rewrite images).
Try checking the rules and the path to the image and add any necessary exclusions (in a similar manner to excluding control panel folders etc.). Or just make sure images aren't rewritten and the image's file name has an extension (.jpg, png etc.).
Happy Christmas!
All the best...
Conor
ceon
Hello Conor,
After further checking, I still have that problem.
I think my rewrite rule don't blocking the folder the image,
the following is my rewrite rules:
##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^jewellet\.com$ [NC]
RewriteRule ^(.*)$ http://www.jewellet.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} !^/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite help live directory
RewriteCond %{REQUEST_URI} !^/livezilla.* [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]
# From Ultimate SEO URLs
RewriteRule ^print_page_p(.*)$ index.php?main_page=print_page&products_id=$1&%{QUERY_STRING} [L]
RewriteRule ^(.*)_p(.*).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)_c([0-9]+)$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)_c([0-9]+)/(.*)$ index.php?main_page=index&cPath=$2&display=$3&%{QUERY_STRING} [L]
RewriteRule ^(.*)_c([0-9]+)/(.*)/(.*).html$ index.php?main_page=index&cPath=$2&display=$3&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^producttags/(.*)$ index.php?main_page=producttags&letter=$1&%{QUERY_STRING} [L]
RewriteRule ^producttags/(.*)/([0-9]+).html$ index.php?main_page=producttags&letter=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^wishlist/$ index.php?main_page=wishlist [L]
RewriteRule ^wishlist/(.*)$ index.php?main_page=wishlist&letter=$1&%{QUERY_STRING} [L]
RewriteRule ^wishlist/(.*)/([0-9]+).html$ index.php?main_page=wishlist&letter=$1&page=$2&%{QUERY_STRING} [L]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]
RewriteCond %{HTTP_HOST} ^jewellet.com$ [OR]
I found that, it seems that after installing Ceon Url, the web doesn't use some of the CSS files.
the problem page is http://www.jewellet.com/index.php?main_page=login
hope you can give me some indications.
Thanks and haappy a Gooooood Happy New Year!
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
globalmemory
sorry but when i replace your file with an unmodified file then the preview link works, but when your modified file is used then it doesn't?
The files as modified by URI Mapping can't cause the behaviour you are talking about.. so you must have other modified files on your site which are causing this behaviour.
I'm sorry but I can't help you on this thread as you have too many customisations by the sound of it, you'll need a programmer to trace what is happening on your site.
Or you should revert to using a fresh version of Zen Cart and add your customisations back in one by one (including URI Mapping, which you will find works perfectly when installed on a clean/fresh version of Zen Cart).
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
alan145
I found that, it seems that after installing Ceon Url, the web doesn't use some of the CSS files.
Your problem is that you are using URI Mapping to have static URIs but your pages are still using relative paths to CSS files. You must change all your paths to using absolute/static URIs.
e.g.
/includes/templates/lightinthebox/css/style_imagehover.css
instead of
includes/templates/lightinthebox/css/style_imagehover.css
(Note the line starts with a slash and is the full path).
Within CSS files you must use absolute paths as well. So instead of
background:url(../images/icoBg.gif)
you must use
background:url(/includes/templates/lightinthebox/images/icoBg.gif)
Quote:
Originally Posted by
alan145
Thanks and haappy a Gooooood Happy New Year!
Thanks.. Happy New Year to you too!
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
/includes/templates/lightinthebox/css/style_imagehover.css
instead of
includes/templates/lightinthebox/css/style_imagehover.css
ceon
Hello Conor,
Thank you so much for your answer, But after do that according to your indication, there is still the problem.
Now I don't know how to do it now.
any other possible cause of this problem?
Re: Ceon URI Mapping (SEO)
hello all master zen,
I have already installed ceon uri mapping and it turns out real good! thanks a lot!
but I need some help here since my sample shop cart have thousands of products I will need to do it locally and I tried copying the whole thing and backup db into my localserver in my pc, but when I am trying the links, its broken...
can someone please help?
thanks really appreciate that :)
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
The files as modified by URI Mapping can't cause the behaviour you are talking about.. so you must have other modified files on your site which are causing this behaviour.
I'm sorry but I can't help you on this thread as you have too many customisations by the sound of it, you'll need a programmer to trace what is happening on your site.
Or you should revert to using a fresh version of Zen Cart and add your customisations back in one by one (including URI Mapping, which you will find works perfectly when installed on a clean/fresh version of Zen Cart).
All the best...
Conor
ceon
The preview file has not been modified using any other mod. The only mod being used on this file is yours. Are you saying that another file related to the preview file is causing the problem?
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
alan145
Thank you so much for your answer, But after do that according to your indication, there is still the problem.
Now I don't know how to do it now.
any other possible cause of this problem?
Please describe the problem again in detail, with a step by step guide to what is expected and what is going wrong. The page you have shown me looks fine to look at (I haven't tried to use it).
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
chubbyboy
I tried copying the whole thing and backup db into my localserver in my pc, but when I am trying the links, its broken...
Does your local PC have Apache installed and does it have mod_rewrite enabled? Does it have the necessary rewrite rule places in a VirtualHost directive or a .htaccess file?
You need to have a positive answer to all of those questions.. I'd guess that you probably don't have all the above set up properly.
Hope that helps.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
alan145
Hello Conor,
Thank you so much for your answer, But after do that according to your indication, there is still the problem.
Now I don't know how to do it now.
any other possible cause of this problem?
If you are referring to the buttons being cut off like the "Login" button on this page:
http://www.jewellet.com/index.php?main_page=login
This is a CSS issue, and not an issue being caused by this mod..
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
Does your local PC have Apache installed and does it have mod_rewrite enabled? Does it have the necessary rewrite rule places in a VirtualHost directive or a .htaccess file?
You need to have a positive answer to all of those questions.. I'd guess that you probably don't have all the above set up properly.
Hope that helps.
All the best...
Conor
ceon
Hi thanks for answering,
I had an appserv installed with mod_rewrite enabled. and I just used the .htaccess from the live sites..
here is the .htaccess code :
Code:
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} !^/admin.* [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]
I just copied from my live site and put it into my local folders and it wont run, links seems to be broken..
example :
live site links : www.abc.com/examples -> is running good
offline sites : www.abc.com/examples -> page not found and plus when I hover the links it chop off the rest of the links,
like it should be : http://localhost/www.abc.com/blablablabla
become : http://localhost/blablablabla
can you please tell me what did i go wrong?
thank you very much