I have a .nl site which I want to change to .com This means that mydomain.nl will become mydomain.com
Since I have lots of incoming links to my .nl site and since it is well ranked in google I want to be sure to keep my rankings. I have heared that I can redirect my .nl site to my new .com domain permanently by moving all the site content from the .nl to the .com domain and then do a permanent redirect from my .nl to my .com domain through a .htaccess file
Will this strategy make sure that my rankings remain unharmed? Are there people in here who have tested this and can confirm to me that it works? And what specifc redirect should I use if I want all the inner pages of my .nl domain to refer to the correct inner page on my .com domain?
This is what I found on the internet, will this to the trick? I'm not sure what the first line if for...
RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]
Finally, I also want to change the structue of the site. However, I was wondering if it hurts if an inner page first gets redirected from .nl to .com and then when arriving at .com gets rewrited by the .htaccess on the .com domain to still a differnt url (within the same domain). An example:
mydomain.nl/myinnerpage.html gets redirected by the permanent redirect to mydomain.com/myinnerpage.html
and then the .htaccess file for the .com domain rewrites:
mydomain.com/myinnerpage.html to mydomain.com/myinnerpage/
I hope I did not ask to many questions, any help would be greatly appreciated!