Consider a scenario where you share a particular SharePoint link with your colleagues and other co-workers. Users have a tendency to bookmark frequently accessed URL's.
For some reason, this content on this page is moved and there is a new site/page which hosts the content now. If users access this page, they will get undesired results.
It will be a good idea to redirect the users to the new page (site collection, sub site, page) when the current bookmarked URL is accessed.
Follow these steps -
This page has shifted, you are being redirect to http://code2care.org <script> window.location.href = "http://code2care.org"; </script>
By doing so, the page will instantly navigate and redirect user to the specified URL.
Code2care'smission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.