php - .htaccess directory exception -
right now, current .htaccess in root directory looks this;
rewriteengine on rewriterule !^email-blasts($|/) http://example.com/store/%{request_uri} [r=301] rewritecond %{request_uri} !/store/$ rewriterule (.*) /store/ [r=301,l]
i looking going example.com/ goto example.com/store/ allow access /email-blasts/ images , files within directory work well. correct way go it? because sure doesn't seem it's working!
thanks help!
replace rule this:
rewriteengine on rewritecond %{request_uri} !/(store|email-blasts)/ [nc] rewriterule ^(.*)$ /store/$1 [r=301,l]
Comments
Post a Comment