WordPress 301 redirect on homepage to different domain

[ad_1]

I cannot understand what you are describing. I stay with the .nl domain, the .com is never called. Have you changed anything in the meantime?

YEa jsut before you replied, someone told me to add this to the .htaccess file after line 3:

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

Which pretty much redirects non www domain to www, on which I did not have the issue in the first place.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer