I have a blog and platform migration (Blogger -> Wordpress) and I have also changed the domain. For the newer articles I do not face any problem, however articles with more than one or two years, there are links spread over the web with the old domain.
I need to manipulate the URL as follows:
When the user accesses the link, for example:
You receive 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 than to automatically redirect the user, however, I do not rule this out):
The domain is different, however the URL structure is the same on both platforms.
I have read some tutorials about this with PHP, however, on Blogger I can only work with HTML and javascript.