Zoe Zoe
asked on
RewriteRule
When I tried to rewrite the code in .htaccess to clean my web URL, i found the below code works
RewriteEngine On
RewriteRule ^shirts/$ /2015.7.21/shirts/shirts.p hp
instead of
RewriteEngine On
RewriteRule ^2015.7.21/shirts/$ /2015.7.21/shirts/shirts.p hp
My project files are under /2015.7.21/ , Shouldn't the URL the browser is looking for be "2015.7.21/shirts/" instead of "shirts/"?
RewriteEngine On
RewriteRule ^shirts/$ /2015.7.21/shirts/shirts.p
instead of
RewriteEngine On
RewriteRule ^2015.7.21/shirts/$ /2015.7.21/shirts/shirts.p
My project files are under /2015.7.21/ , Shouldn't the URL the browser is looking for be "2015.7.21/shirts/" instead of "shirts/"?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.