301 Redirect from .com.au to .com with.htaccess
-
Hi,
I’m trying to redirect as site from .com.au to .com and the WordPress site appears to be ignoring both “Redirect” and “Rewrite”
I have tried
RewriteCond %(HTTP_HOST) ^mydomain\.com\.au$ [NC] RewriteRule (.*) https://www.mydomain.com/$1 [R=301]
and
Redirect 301 '/' https://www.mydomain.com
But the commands in the htaccess file appear to have been ignored. Is there any way to force a server with a wordpress site to do redirect?
Thanks for taking the time to read my post.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘301 Redirect from .com.au to .com with.htaccess’ is closed to new replies.