http://www.yourshop.com/index.html and not with index.php?route=common/home?
and also is it possible to automatically SEO the product pages in the .htacess because the store owner sometimes dont bother to fill up the SEO url field when adding a product,
I want a url like this http://www.yourstore.com/index.php?rout ... duct_id=56
to automatically be http://www.yourstore.com/product-electronics-56
using the using code techniques in .htaccess? any brillant .htaccess guru there?
Code: Select all
RewriteCond %{QUERY_STRING} ^route=common/home$
RewriteRule ^index\.php$ /? [R=301,L]
I have problem with SEO too. But it does not work in general. When I disable using SEO, every products and categories are appearing normally, WITHOUT problems.. But when I enable SEO in admin, it does not work.. when i click on the product that i clicked before, it writes PAGE NOT FOUND..
I think there could be a problem with a .htaccess? I have there
Code: Select all
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
______________________________________________________
http://www.vojtechzahorsky.com
if your store is in a folder like shop or store you will need to edit the line RewriteBase / to be RewriteBase /shop/vojtech25 wrote:Hey guys,
I have problem with SEO too. But it does not work in general. When I disable using SEO, every products and categories are appearing normally, WITHOUT problems.. But when I enable SEO in admin, it does not work.. when i click on the product that i clicked before, it writes PAGE NOT FOUND..
I think there could be a problem with a .htaccess? I have thereis it right or not? ThanksCode: Select all
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
______________________________________________________
http://www.vojtechzahorsky.com
What the hell is that?2010-09-02 22:01:34 - PHP Notice: Undefined index: query in /home/mysite.com/catalog/model/tool/seo_url.php on line 11
______________________________________________________
http://www.vojtechzahorsky.com
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
______________________________________________________
http://www.vojtechzahorsky.com
______________________________________________________
http://www.vojtechzahorsky.com
______________________________________________________
http://www.vojtechzahorsky.com
like "INSERT INTO `url_alias` SET query = 'common/home',keyword = ''home"
it would be easier.
Opencart Developer
- http://www.cnopencart.com opencart中文站
Users browsing this forum: No registered users and 67 guests