Re: Ceon URI Mapping (SEO)
I will just add if you are using Loopia.se as a webhost you will need to add #RewriteBase / in your .htaccess file to get everything working..
I dont know if thats just for loopia webhost or for serverals others but if you have problem with "page not found" efter you change the url that maybe can help you.
/Andreas
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
DivaVocals
If you search through this support thread you would have seen that 404 errors consistently mean you either do not have an .htaccess file or do not have it setup correctly.. (the posts from the last few days for example..) Please read the readme instructions on how to setup yout .htaccess file..
That Was where i was stuck but found out to how to open the .htaccess file - Check the open Hidden files
Its there
RewriteEngine On
RewriteCond %{HTTP_HOST} ^theherandhis.com$ [NC]
RewriteRule ^(.*)$ http://www.theherandhis.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} !^/zc_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]
Admin Is zc_admin
still 404 error setup ??
Re: Ceon URI Mapping (SEO)
Your first two conditions are setup incorrectly.. Please compare what you have to the PERFECT example in the readme file and the MANY examples of what the .htaccess file should look like including this post from one page back in this thread: http://www.zen-cart.com/forum/showpo...postcount=2406
(I could just GIVE you the answer, but the answer is in the readme or the thread I posted.:wink: I want you to REALLY understand what it is you should be doing..)
Quote:
Originally Posted by
designhead
That Was where i was stuck but found out to how to open the .htaccess file - Check the open Hidden files
Its there
RewriteEngine On
RewriteCond %{HTTP_HOST} ^theherandhis.com$ [NC]
RewriteRule ^(.*)$ http://www.theherandhis.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} !^/zc_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]
Admin Is zc_admin
still 404 error setup ??
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
DivaVocals
Your first two conditions are setup incorrectly.. Please compare what you have to the PERFECT example in the readme file and the MANY examples of what the .htaccess file should look like including this post from one page back in this thread:
http://www.zen-cart.com/forum/showpo...postcount=2406
(I could just GIVE you the answer, but the answer is in the readme or the thread I posted.:wink: I want you to REALLY understand what it is you should be doing..)
posted in (the public_html folder)
RewriteEngine On
# 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} !^/admin_login [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 [QSA,L]
Ran into Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Re: Ceon URI Mapping (SEO)
See in red.. Is this the name of YOUR STORE's admin folder???
Quote:
Originally Posted by
designhead
posted in (the public_html folder)
RewriteEngine On
# 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} !^/admin_login [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 [QSA,L]
Ran into Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
DivaVocals
See in red.. Is this the name of YOUR STORE's admin folder???
its
RewriteCond %{REQUEST_URI} !^/zc_admin [NC]
And Get 500 Internal Server Error error
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
DivaVocals
See in red.. Is this the name of YOUR STORE's admin folder???
its
RewriteEngine On
# 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} !^/zc_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 [QSA,L]
And Get 500 Internal Server Error error
Re: Ceon URI Mapping (SEO)
Did you try setting up your .htaccess file based on the instructions in the readme for this module?? Please re-read the instructions in step 1. As a hint, I highlighted the item that is the likely cause.. Please compare that to the options outlined in the readme..
Quote:
Originally Posted by
designhead
its
RewriteEngine On
# 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} !^/zc_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 [QSA,L]
And Get 500 Internal Server Error error
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
This is caused when you don't have a rewrite rule in place. You need to put a rewrite rule in the .htaccess folder alongside your index.php file.
ceon
I followed #2 on the docs/configuration.html page for .htaccess rules: "Example rule for stores installed in a folder other than the root of the site, with the admin named “admin”.
When I put this where the index.php file is in my FTP it broke the shopping cart part of the site, am I missing something in the rules to still allow the domain.com/shop to go to the shopping cart?
Thanks a lot!
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
DivaVocals
Did you try setting up your .htaccess file based on the instructions in the readme for this module?? Please re-read the instructions in step 1. As a hint, I highlighted the item that is the likely cause.. Please compare that to the options outlined in the readme..
Thanks found that Mistake
but now I'm
Back to square one
404 error