mod rewrite - .htaccess to hide CSS/JS version -
I was wondering if it is possible to run a revised rule, which will hide a CSS version in a link tag.
former
link href = "css / global.css" rel = "stylesheet" type = "text / css"
I do not have anything on this topic to show in the past You may have received a 500 error: (
Thanks!
well I see no problem on the URL version but it might help you.
RewriteCong% RewriteCond% {REQUEST_FILENAME}! -f Released on Cash% {REQUEST_FILENAME}! - D RewriteRule ^ CSS / (. *) / (. *) \. Css $ / css / $ 2.css? V = $ 1 [QSA]
Allows you to:
& lt; link href = "/ css / 1.2.3 / global.css" rel = "stylesheet" type = "text / css" /> ;
Comments
Post a Comment