This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteRule ^css/(.*) /wp-content/themes/roots/css/$1 [QSA,L] | |
RewriteRule ^js/(.*) /wp-content/themes/roots/js/$1 [QSA,L] | |
RewriteRule ^img/(.*) /wp-content/themes/roots/img/$1 [QSA,L] | |
RewriteRule ^plugins/(.*) /wp-content/plugins/$1 [QSA,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteRule ^css/(.*) /wp-content/themes/roots/css/$1 [QSA,L] | |
RewriteRule ^js/(.*) /wp-content/themes/roots/js/$1 [QSA,L] | |
RewriteRule ^img/(.*) /wp-content/themes/roots/img/$1 [QSA,L] | |
RewriteRule ^plugins/(.*) /wp-content/plugins/$1 [QSA,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteRule ^css/(.*) /wp-content/themes/roots/css/$1 [QSA,L] | |
RewriteRule ^js/(.*) /wp-content/themes/roots/js/$1 [QSA,L] | |
RewriteRule ^img/(.*) /wp-content/themes/roots/img/$1 [QSA,L] | |
RewriteRule ^plugins/(.*) /wp-content/plugins/$1 [QSA,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteRule ^css/(.*) /wp-content/themes/roots/css/$1 [QSA,L] | |
RewriteRule ^js/(.*) /wp-content/themes/roots/js/$1 [QSA,L] | |
RewriteRule ^img/(.*) /wp-content/themes/roots/img/$1 [QSA,L] | |
RewriteRule ^plugins/(.*) /wp-content/plugins/$1 [QSA,L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Zeus webserver version of basic Wordpress mod_rewrite rules | |
map path into SCRATCH:path from %{URL} | |
match URL into $ with ^index\.php$ | |
if matched set URL= - | |
match URL into $ with ^css/(.*) | |
if matched set URL= /wp-content/themes/roots/css/$1 | |
match URL into $ with ^js/(.*) | |
if matched set URL= /wp-content/themes/roots/js/$1 | |
match URL into $ with ^img/(.*) | |
if matched set URL= /wp-content/themes/roots/img/$1 |