Created
October 10, 2016 21:10
-
-
Save BurlesonBrad/09a68fc84b1c80c78ce870e4826a9cec to your computer and use it in GitHub Desktop.
C to the Dils
This file contains hidden or 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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^carriedils\.com [NC] | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://carriedils.com/$1 [R=301,L] | |
// First line kinda obvious // | |
// Second line is the old URL // | |
// Line 3 is techinical server hooplah // | |
// This one says, "Yo. All three of my dubya's are gone. And, btw Google, this is a PERMANENT change (301) // |
@BurlesonBrad How do I incorporate that within this and not screw up everything?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're awesome.