Support the ongoing development of Laravel.io →
Configuration
Last updated 1 year ago.
0

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]
Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

phpnetanel phpnetanel Joined 21 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.