Redirecting www.domain to domain.com !?!?!?
-
I know I need to add code to my .htaccess file but that was already done…the problem is, where is the code suppose to be places within the rest of the file’s code? Please help… Here is my code : : : :
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.keihead\.com$ [NC] RewriteRule ^(.*)$ https://keihead.com/$1 [R=301,L]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Redirecting www.domain to domain.com !?!?!?’ is closed to new replies.