How to Redirect in SharePoint using Alternate Access Mapping (AAM)?

Internal URL in SharePoint Alternate Access Mapping is used to redirect from one URL to another. Say for E.g. If you want to redirect or transform from "http://portal.crescent.com" into "http://intranet.crescent.com" use this feature! So, you enter "http://portal.crescent.com" in the address bar of your browser, and it takes you to "http://intranet.crescent.com"!

How to Add URL Redirection using Alternate Access Mapping?
Here is how to achieve web application redirect using AAM.

Update IIS Binding with the Redirect URL:
Once the SharePoint side entry is added, the next step is to add the binding in IIS. Go to IIS, locate your web application >> Edit Bindings >> Add the URL to the binding.

Now, open a new browser instance (or open a browser in private mode to avoid caching), Check the URL redirection in place! This redirect not just works for top level URL, but it works for all internal links as well.

This method of redirect can be used in SharePoint to redirect from HTTP to HTTPS.

How to remove the Redirect?
From the "Alternate Access Mappings" page, Just click on the redirect URL you had created, and in the Edit Internal URLs page, hit "Delete" button to remove redirection placed for the web application.

Beware of the browser caching: You may not get the changes immediately even you made some modification as above. Try opening a new private browser and check!

How to Redirect in SharePoint using Alternate Access Mapping (AAM)?
Reviewed by Unknown
on
July 09, 2016
Rating: 5

Total Views

Disclaimer

This is my personal blog. Articles written on this blog are from my experience for my own reference and to help others.

Do not reproduce my content anywhere, in any form without my permission. If any article written on this blog violates copyright, please contact me! If you have a more elegant solution on any of the topics discussed- please post a comment, I'll be happy to hear!

This site uses cookies to personalize content, advertisements and to analyze traffic.