/ Published in: Apache
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
RewriteEngine on RewriteCond %{REQUEST_URI} !^/public/ RewriteRule (.*) /public/$1
URL: http://roshanbh.com.np/2008/03/url-rewriting-examples-htaccess.html