.htaccess - htaccess rewrite rule not working with magento -
this rewrite rule not working in .htaccess:
rewritecond %{request_uri} ^/magento/resultados-busqueda/ rewriterule resultados-busqueda/(.*) /magento/index.php/catalogsearch/result/$1 [l,qsa,nc]
if add together [r] flag, it's work fine, without [r] not work.
please help!!
sorry english.
thank you!
use below .htaccess snippet in $document_root/magento/.htaccess
:
options +followsymlinks -multiviews # turn mod_rewrite on rewriteengine on rewritebase /magento rewriterule ^resultados-busqueda/([^/]+)/?$ /magento/index.php/catalogsearch/result/?q=$1 [qsa,p,nc]
.htaccess mod-rewrite apache2
No comments:
Post a Comment