4
Hello! how to change a url through htacess. wanted this url:
http://localhost/site/product/view/Mi00OTI/golbolaver
remain so:
http://localhost/site/view/Mi00OTI/golbolaver
4
Hello! how to change a url through htacess. wanted this url:
http://localhost/site/product/view/Mi00OTI/golbolaver
remain so:
http://localhost/site/view/Mi00OTI/golbolaver
2
A quick solution
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^site/view/Mi00OTI/golbolaver(|/)$ site/product/view/Mi00OTI/golbolaver
Read more on
Browser other questions tagged htaccess url friendly-url rewrite-url
You are not signed in. Login or sign up in order to post.