Hi guys,
First, thanks the Opencart Team. Opencart is a great program and help me achieve my E-commerce dream.
And now, I want to build a new site with Opencart 1.5.1.3, but some thing I can not solve by myself. So I ask for help and wish someone can help me. Thanks a lot.
The question is, I want to make the tag pages and search pages to be rewrite as the follow rule:
Tag pages
from http://www.domain.com/index.php?route=p ... g=keywords
to http://www.domain.com/tag/keywords
Search pages
from http://www.domain.com/index.php?route=p ... e=keywords
to http://www.domain.com/search/keywords
Please, please help for this question.
Thanks a lot and wish you all the best.
Sorry for my poor English.
RewriteCond $1 !^(index.php|images|robots\.txt)
RewriteRule /tag/(.*) index.php?route=product/search&filter_tag=$1 [L]
maybe you can search more info of rewrite
RewriteRule /tag/(.*) index.php?route=product/search&filter_tag=$1 [L]
maybe you can search more info of rewrite
Hi mosen7,mosen7 wrote:RewriteCond $1 !^(index.php|images|robots\.txt)
RewriteRule /tag/(.*) index.php?route=product/search&filter_tag=$1 [L]
maybe you can search more info of rewrite
Thanks for your reply.
But when I test the code you give me, it's not working.
I copy the code to the .htaccess file. And then there is a "500 Internal Server Error" happened.
Then I just copy the second line, no "500 Internal Server Error" happen, but not work as the top.
So, if you have another suggestion, please help.
Thanks for your help and wish you all the best.
If any others can help me with this, that would be nice and kindness.
Thanks R_D, But the post you give me just similar with my question.R_D wrote:take a look at:
http://forum.opencart.com/viewtopic.php?t=30366
is this what you are searching for?
I want make the index.php?route=product/search&filter_tag and index.php?route=product/search&filter_name to the seo friendly urls. And the search url is not rewrite by the default.
Who is online
Users browsing this forum: No registered users and 340 guests