Jump to content

How to redirect from deleted page to external URL?


Lindor
Go to solution Solved by Sonya*,

Recommended Posts

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*
Link to comment
Share on other sites

  • Recently Browsing   0 members

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