User288213138 posted
Hi rajemessage,
but could not understand properly. can anyone explain it step by step by giving examples?
The RedirectPermanent performs a permanent redirection from a requested URL to a specified URL.
The RedirectPermanent is a status code in the header of the HTTP data stream returned by the server when the user or search engine sends a browsing request to the website server, indicating this Permanently transfer to another address.
Usually, it has the following application circumstances:
- You've moved your site to a new domain, and you want to make the transition as seamless as possible.
- People access your site through several different URLs. If, for example, your home page can be reached in multiple ways - for instance, http://example.com/home, http://home.example.com, or http://www.example.com - it's a good idea to pick one of those URLs
as your preferred destination, and use redirectpermanent to send traffic from the other URLs to your preferred URL.
- You're merging two websites and want to make sure that links to outdated URLs are redirected to the correct pages.
Hope this can help you.
Best regards,
Sam