{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":42488,"path":"platform-user-interface/service-portal/deactivate-portal.md","title":"Deactivate a portal","bundle":null,"doc_type":null,"release":"australia","body":"\n# Deactivate a portal\n\nTurn off access to a portal that you no longer want users to visit and optionally redirect them to another portal.\n\n## Before you begin\n\nRole required: sp\\_admin or admin\n\n## About this task\n\nAfter you deactivate a portal, users are either redirected to an alternate portal that you configure, or they receive a message that the portal is inactive.\n\nIf an alternate portal is selected, pages are redirected by replacing the URL suffix of the inactive portal with the suffix of the alternate portal. To confirm that users are redirected to the correct page, complete the following steps:\n\n-   Verify that all necessary resources, such as knowledge base articles and catalog items, are available on the alternate portal.\n-   If different pages are used on each portal, set up page route maps to map pages from the inactive portal to the alternate portal. For more information, see [Redirect a reference to a page ID](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/service-portal/reroute-page.md).\n-   If customizations exist for page redirects using the SPEntryPage script include or other methods, test these customizations thoroughly to confirm that there are no conflicts or remove the customizations. For more information, see [Single sign-on, logins, and URL redirects](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/service-portal/c_SPSSOLoginAndRedirects.md).\n\nTo support deactivating and reactivating public portals without search engines deindexing their pages, temporary HTTP 302 redirects are used for inactive portals.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Service Portal** &gt; **Portals**.\n\n2.  Select a portal.\n\n    **Note:** You can't deactivate the default portal on an instance or any portal configured as an alternate portal for an inactive portal. You can't deactivate or redirect to the Mobile Employee Service Portal \\(/mesp\\).\n\n3.  Select **Inactive**.\n\n4.  In the **Alternate portal** field, select an active portal to which to redirect users who attempt to access the inactive portal.\n\n    Multiple inactive portals can redirect to the same alternate portal.\n\n5.  Select **Update**.\n\n\n## Result\n\nIf you selected an alternate portal, users attempting to access the inactive portal are redirected to the alternate portal. They receive a message informing them that they've been redirected. For example:\n\n\\[Omitted image \"inactive-portal-message.png\"\\] Alt text: Message for users who attempt to visit an inactive portal and are redirected to an alternate portal.\n\nIf you don’t specify an alternate portal, users receive a message that the portal has been deactivated. You can customize these messages from the Message \\[sys\\_ui\\_message\\] table. For more information see, .\n\nTo reactivate a portal, clear the **Inactive** option.\n\n**Parent Topic:**[Managing portal access](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-user-interface/service-portal/portal-security.md)\n\n"}}