laptop1986
New Member
I have faced redirection criticality for one of my website .Here is it --I have to redirect http://local.port-all/antique/c-Furniture/m-Antique-Dining-Room-Tables.htmlto http://local.port-all/antique-c-Furniture-m-Antique+Dining+Room+Tables.htmlSo I wrote htaccess redirect \[code\] Redirect /antique/c-Furniture/m-Antique-Dining-Room-Tables.html /antique-c-Furniture-m-Antique+Dining+Room+Tables.html\[/code\]So it redirects to specific url. But there is a default rule set for the site ,\[code\] 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]\[/code\]So when my redirection works, it adds route at the end of the redirected url. That means after redirection it shows\[code\] http://local.port-all/antique-c-Furniture-m-Antique+Dining+Room+Tables.html?_route_=antique/c-Furniture/m-Antique-Dining-Room-Tables.html\[/code\]But I need only\[code\] http://local.port-all/antique-c-Furniture-m-Antique+Dining+Room+Tables.html\[/code\]after redirection which I did not get. I can not delete \[code\] _route_ from RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] \[/code\]as it created default route access of the site. So I need different solution.Please help.Thanks in advance