By using mod_rewrite is posible, just include this lines with your appropiate regular expression in your htaccess:
#Redirect base url of AngularJS app in html5mode
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/path/.+$
RewriteRule ^(path)/(.*) /path/#/$2 [R=301,L,NE]
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community