Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
kburner
Conor,
I loaded module and everything seemed fine. I have dedicated SSL, root folder and changed admin name. I also performed rewrite for includes/.htaccess file.
1.3.9g looks like this for .htaccess:
HTML Code:
# deny *everything*
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>
# but now allow just *certain* necessary files:
<FilesMatch ".*\.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">
Order Allow,Deny
Allow from all
</FilesMatch>
RewriteEngine On
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/new admin name [NC]
IndexIgnore */*
## NOTE: If you want even greater security to prevent hackers from running scripts in this folder, uncomment the following line (if your hosting company will allow you to use OPTIONS):
# OPTIONS -Indexes -ExecCGI
I started at top category, clicked button for "have auto generate for this category" and then went to each category below as well as the product itself. Then I enabled module. I see main page fine. When I click on category or any product - I get this error.
Not Found
The requested URL /ladies-bible-studies/parenting-with-wisdom was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at
www.burnerbooks.com Port 80
Once I disable - everything is normal again without new uri mapping. How do I fix?
Thanks, Kim
Post your .htaccess file that is in the root of your server. Why would performed rewrite rules for includes/.htaccess file.
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
countrycharm
Post your .htaccess file that is in the root of your server. Why would performed rewrite rules for includes/.htaccess file.
Oh! Did I change the wrong file!
Here is my .htaccess in root folder. I have not added rewrite from this module.
HTML Code:
##### NOTE: Replace /public_html/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^burnerbooks.com$ [NC]
RewriteRule ^(.*)$ http://www.burnerbooks.com/$1 [R=301,L]
AddType text/x-component .htc
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{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]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_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]
Do I add new rewrite to end?
Thanks, Kim
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
kburner
Oh! Did I change the wrong file!
Here is my .htaccess in root folder. I have not added rewrite from this module.
HTML Code:
##### NOTE: Replace /public_html/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^burnerbooks.com$ [NC]
RewriteRule ^(.*)$ http://www.burnerbooks.com/$1 [R=301,L]
AddType text/x-component .htc
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{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]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_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]
Do I add new rewrite to end?
Thanks, Kim
Quote:
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{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]
Yes you did the wrong file.You will have to get rid of anything that deals with Ultimate SEO URLs before this module will work for you. As a matter of fact you need to redo your ,htaccess file all together or merge it like this.
Quote:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^burnerbooks.com$ [NC]
RewriteRule ^(.*)$ http://www.burnerbooks.com/$1 [R=301,L]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/name_of _your _admin_folder [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]
If you need this in there then add it at the bootom.
Quote:
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
countrycharm
Yes you did the wrong file.You will have to get rid of anything that deals with Ultimate SEO URLs before this module will work for you. As a matter of fact you need to redo your ,htaccess file all together or merge it like this.
If you need this in there then add it at the bootom.
Perfect!!! It works!:clap::clap:
Thank you so much.
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
kburner
Perfect!!! It works!:clap::clap:
Thank you so much.
I'm glad you sorted it out.
Re: Ceon URI Mapping (SEO)
Hi
Mine is Zen Cart 1.3.8. Do I have to update to new version in order to run Ceon?
Harry
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
expensivedesign
Hi
Mine is Zen Cart 1.3.8. Do I have to update to new version in order to run Ceon?
Harry
No you don't have to but it would be in your best interest to for security purposes.
Re: Ceon URI Mapping (SEO)
Hello
sorry this is propably a really easy question for you guys but I am new to Zencart and I don't really know what I am doing yet.
I really like the Mapping tool you created. However I keep getting the 404 Error.
I am using Zencart 1.3.9d and the 3.8 Mapping version
I loaded all files File zilla twice now to make sure I did not miss anything.
I used the first rewrite rule as I have not changed the admin folder yet.
If you could help me out with this I would be very grateful. Once I see it properly working I will definetly donate as I can imagine that there is a lot of work behind it.
All the best and thanks in advance for any help you can give me.
site is down for maintenance at the moment but I can take it off.
Thanks
Anja
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
red.peggy
Hello
sorry this is propably a really easy question for you guys but I am new to Zencart and I don't really know what I am doing yet.
I really like the Mapping tool you created. However I keep getting the 404 Error.
I am using Zencart 1.3.9d and the 3.8 Mapping version
I loaded all files File zilla twice now to make sure I did not miss anything.
I used the first rewrite rule as I have not changed the admin folder yet.
If you could help me out with this I would be very grateful. Once I see it properly working I will definetly donate as I can imagine that there is a lot of work behind it.
All the best and thanks in advance for any help you can give me.
site is down for maintenance at the moment but I can take it off.
Thanks
Anja
Conor responded to one with this problem and he says.
Quote:
I don't know what you've been reading but I don't even know exactly what problem you are having as you haven't given enough information?!
First please follow the
installation from scratch once again as I'd imagine
you've missed something.
If you are still having problems, please describe the problem you are having.
if you have other
modules which are
overwriting core files the Ceon URI Mapping file uses you may well have simply wiped out the URI Mapping functionality added to those files.
Hope that helps!
All the best..
Conor
ceon
You need to describe the problem in details you are having so we can see how to help you.
Re: Ceon URI Mapping (SEO)
Hi all,
I am trying to upload all files to my server. i noticed that i already have file name docs and ceon folder I see folder name _docs and all folders inside of _docs has _ front. My question is should I rename them _docs to docs? or it has to be different folder then docs.
Thanks
Harry