Remove a page redirect

Overview

Administrators can remove alternate URLs that redirect to pages. This is necessary when two pages have the same redirect in place, which can cause third-party modules to fail.

Step-by-Step Guide

DNN 9.1.1 or newer

  1. Choose Content > Pages
  2. Select the page with the unwanted redirect.
  3. Choose Advanced > S.E.O. from the menu.
  4. Click the trash can for the desired row.

    page_redirect_screen.png

  5. If the page redirect had caused errors in a third-party module, clear server cacherefresh the page, and confirm that the module now works as intended.

Older DNN versions

Use SQL to find the TabID for the page and delete the unwanted redirect. In the example below, the page is called "inicio" and the TabID found is 23.

Attention: Always back up your database before executing SQL commands.

  1. Run the following query, using the page name in place of '%inicio%', to find the page's TabID.

    SELECT * FROM Tabs WHERE TabName LIKE '%inicio%'
    find_tabid.png
  2. Run the following query to find all the redirects for this page.

    SELECT * FROM TabURLs WHERE TabID=23
    find_redirects.png
  3. Run the following query to delete the unwanted redirect, in this case "/Noticia".

    DELETE FROM TabURLs WHERE tabid=23 and seqnum=2;
  4. If the page redirect had caused errors in a third-party module, clear server cacherefresh the page, and confirm that the module now works as intended. 

Comments

0 comments

Please sign in to leave a comment.