Support » Fixing WordPress » Domain redirect and mask ?

  • Hi, I’m having a problem and looking if someone can help, this is what I have:

    1. I created a complete WP website on for a client

    2. The client has and has nothing on it and want to redirect to

    I am looking for a way to do it with .htaccess, I found some other forum post here and I dont understand well, I have to modify the .htaccess file on right?

    I tried:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.thisdomain\.mx$ [NC]
    RewriteRule ^(.*)$$1 [R=301,L]

    And nothing happens, does this has something to do with domain propagation or something?

    Thank you
    Kind Regards

Viewing 1 replies (of 1 total)
  • You’re putting this in the .htaccess file on, right?

    Then I think you’d want:

    RewriteEngine On
      RewriteCond %{HTTP_HOST} ^$ [OR]
      RewriteCond %{HTTP_HOST} ^$
      RewriteRule (.*)$$1 [R=301,L]

Viewing 1 replies (of 1 total)
  • The topic ‘Domain redirect and mask ?’ is closed to new replies.