Jump to content

How to redirect from deleted page to external URL?


Go to solution Solved by Sonya*,

Recommended Posts

Posted (edited)

If you have Pages, delete the page, create another one with the same slug. Manual HTML, no suite wrapper, no page wrapper and add in into the content:

{{\IPS\Output::i()->redirect( [YOUR_EXTERNAL_URL], NULL, 301);}}

This would redirect to the external URL with 301 HTTP code. Adjust the code as you need.

Edited by Sonya*
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...