I've used OC before on other servers and SEO URLs has worked fine. I just can't figure out what is different this time around.
I have SEO friendly URLs enabled, htaccess is renamed, the RewriteBase on htaccess file is correct /store/ and mod_rewrite is loaded on the server according my phpinfo file. Unfortunately, when I click a category the url changes to the new SEO version but my browser says "Not Found - the requested URL is not found on this server". Also says: "Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request".
Apache server
OC version 1.5.6
Any help would be greatly appreciated, thanks!
I have SEO friendly URLs enabled, htaccess is renamed, the RewriteBase on htaccess file is correct /store/ and mod_rewrite is loaded on the server according my phpinfo file. Unfortunately, when I click a category the url changes to the new SEO version but my browser says "Not Found - the requested URL is not found on this server". Also says: "Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request".
Apache server
OC version 1.5.6
Any help would be greatly appreciated, thanks!
It couldn't find the page and moreover couldn't find the error document (the one saying 404) that it was told to use rather than the default (usually Apache's own). The error document is trivial, the default error page fired. The SEO page may not have been generated or something in the two config.php files is off the mark, perhaps HTTP or HTTPS, perhaps DIR (which MUST conform to the server's own directory tree). Take a peek at those.
Thanks for the reply. My host didn't have htaccess enabled, enabled it, now everything is good.
Ive always found this website to have the best explanation of how to have friendly URL http://www.nixstudio.com/seo-friendly-url-opencart/
I've followed the tutorial located here:
http://www.nixstudio.com/seo-friendly-url-opencart
And all of the non-product pages (Home, Account, Cart, even the whole admin areas, etc) generates a 404 error. The actual Product and Category pages work great.
I deleted my browser cache with no change. Has anyone used the method at that site successfully? Any idea what I'm doing wrong? Here is my htaccess file:
http://www.nixstudio.com/seo-friendly-url-opencart
And all of the non-product pages (Home, Account, Cart, even the whole admin areas, etc) generates a 404 error. The actual Product and Category pages work great.
I deleted my browser cache with no change. Has anyone used the method at that site successfully? Any idea what I'm doing wrong? Here is my htaccess file:
Code: Select all
Options +FollowSymlinks
Options -Indexes
<FilesMatch "\.(tpl|ini|log)">
Order deny,allow
Deny from all
</FilesMatch>
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L] RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] RewriteCond %{QUERY_STRING} ^route=common/home$
RewriteRule ^index\.php$ http://www.cygnetdisplays.com? [R=301,L]
It seems the tutorial at http://www.nixstudio.com/seo-friendly-url-opencart is pretty useless. It just breaks the installation. I uploaded the original htaccess file from the OpenCart download and all works. It would be nice if the account level links were also SEO friendly, but at least pages and products are now.
Who is online
Users browsing this forum: No registered users and 21 guests