php - htaccess rwrite images folder -
my web site opens normally, not load folder of images, css, js, etcs
the path right folder is: http://www.example.com/themes/leotrav/css/bootstrap.css"
but folder beingness loaded is: http://www.example.com/tours/themes/leotrav/css/bootstrap.css"
i want remove /tours/ loading images
how can alter this?
you can utilize rule first rule documentroot/.htaccess
:
rewriteengine on rewriterule ^tours/(.+?\.(?:jpe?g|gif|bmp|png|tiff|css|js))$ /$1 [l,nc,ne,r=301]
php apache .htaccess mod-rewrite redirect
No comments:
Post a Comment