Skip to content

Instantly share code, notes, and snippets.

View nick2687's full-sized avatar

Nick Clark nick2687

View GitHub Profile
@nick2687
nick2687 / .htaccess
Last active August 29, 2015 14:23 — forked from splittingred/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^(.*)$ rest/index.php?_rest=$1 [QSA,NC,L]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)$ rest/index.php [QSA,NC,L]
</IfModule>