Post by michelk » Sat Aug 06, 2011 12:02 am

I am trying to implement SEO on OpenCart 1.4.9. I have read all the posts and googled, and tried many things but still can't get it to work.

The problem:
The requested URL /demo was not found on this server.
The setup:

Apache/Debian
root: Document Root /var/www/home/private/public_html/store/
in the /store directory I have renamed the original htaccess.txt to .htaccess (haven't changed perms)
in .htaccess I have:

Code: Select all

# SEO URL Settings
RewriteEngine On
RewriteBase / 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
(I have tried: RewriteBase /var/www/home/private/public_html/store/ )

I have installed mod_rewrite (was not there) as shown now in phpinfo():
Loaded Modules core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_reqtimeout mod_rewrite mod_setenvif mod_status

I have restarted (several times) apache

In the SEO Keyword of a category called "demo" I have "demo"

When I mouse over the "demo" category (from the shop) i can see: http://www.emediacart.com/demo
I get
The requested URL /demo was not found on this server.
Questions:

1. Is mod_rewrite working at all on my apache server?
2. Are the rules ok?
3. How can I debug this?

Thanks
Last edited by michelk on Sat Aug 06, 2011 12:29 am, edited 1 time in total.

http://www.emediacart.com
The emediaCart solution is a plug-n-play hardware-software e-commerce solution. It features a computer the size of a matchbox (4" x 2.5" x 2") running Linux and OpenCart.

Coming soon... emediaBackpack, the only automatic, encrypted, remote service for all OpenCart installations. PM me for more info.


Newbie

Posts

Joined
Mon May 23, 2011 7:26 pm

Post by uksitebuilder » Sat Aug 06, 2011 12:25 am

Try: RewriteBase /store/

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by michelk » Sat Aug 06, 2011 12:28 am

Thanks uksitebuilder

I already did it... however I just found that may be mod_rewrite is not active... I have installed it w/ webmin but I am not sure it's actually loaded... more later...

http://www.emediacart.com
The emediaCart solution is a plug-n-play hardware-software e-commerce solution. It features a computer the size of a matchbox (4" x 2.5" x 2") running Linux and OpenCart.

Coming soon... emediaBackpack, the only automatic, encrypted, remote service for all OpenCart installations. PM me for more info.


Newbie

Posts

Joined
Mon May 23, 2011 7:26 pm
Who is online

Users browsing this forum: Bing [Bot] and 71 guests