1
I own a blog and migrated platform (Blogger -> Wordpress) and I also changed the domain. For newer articles I do not face any problem, however articles older than one or two years, there are links spread across the web with the old domain.
I need to manipulate the URL as follows:
When the user accesses the link, for example:
http://www.site1.com/2015/05/artigo_a
You are shown a message saying that the blog has changed its address and a link is generated according to the URL of the active page (I prefer this to automatically redirect the user, however, I do not rule out this solution) :
http://www.site2.com/2015/05/artigo_a
The domain is different, however the structure of the URL is the same on both platforms.
I read some tutorials about this with PHP, however, in Blogger I can only work with HTML and javascript.
Is the old domain in your name? You have access to it?
– Sergio
Yes @Sergio, is a domain ".blogspot.com", the new domain is ".blog.br"
– Jamil Filho
I think it would be better to do this redirect where you have the domain registered. A simple "forward".
– Sergio
It turns out that the first (old) domain is on Google’s servers and the second (new) one is on a server I hired and in this case I can only redirect the domains registered on this server.
– Jamil Filho
What is the Google product/service you contracted? Can’t you download the domain? or simply park the phone and forward?
– Sergio