• 0

.htaccess file editing


Question

Hey guys and gals,

I've changed my domain name and wanted to update the .htaccess file.

Would the following code be correct?

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{HTTP_HOST} !^uvdesigns.ca/$ [NC]

RewriteRule ^(.*)$ http://webdesigner-toronto.ca/$1 [R]

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>

# END WordPress

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.