Skip to content

Instantly share code, notes, and snippets.

Chris Mosca cmocha

Block or report user

Report or block cmocha

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cmocha
cmocha / .htaccess
Created Apr 14, 2016
Apache .htaccess Simple WordPress Settings
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# REWRITE WWW TO NON WWW
RewriteCond %{HTTP_HOST} ^WWW\.(.*)$ [NC]
You can’t perform that action at this time.