Redirect LO advocacy page to new url

Options
We have moved our advocacy efforts from LO to Phone2Action. Is there a way to redirect the old advocacy URL to our P2A page?
Tagged:

Comments

  • Erik Leaver
    Erik Leaver ✭✭✭✭✭
    Ancient Membership Facilitator 4 Name Dropper Photogenic
    Hi Kim,


    You can leverage javascript page redirects to redirect your old advocacy urls to P2A. If you use a dedicated pagewrapper for your advocacy pages, you could do a global redirect in the pagewrapper. If not, you'll need to add a javascript redirect to each action alert.


    I'm sure there are lots of redirect scrips you can use but here's a simple one I've used:

    <script type="text/javascript">
    <!--
    window.location = "YOUR-URL-HERE"
    //-->
    </script>
    Just put that as far up in the page that you can and you'll be in business.
  • You can add the below snippet to the pagewrapper's meta tags section. This code checks if you're on the admin side before redirecting, otherwise you could run into issues later if you ever need to go back and make edits to the original advocacy pages.


    [[?x3301x1017x::x[[S4]]x::

    <!-- Admin side, no action necessary -->

    ::

    <!-- Hide page content and redirect -->

    <style>

    body {

    display: none;

    }

    </style>

    <meta http-equiv="refresh" content="0; url=https://www.website.com">

    ]]

Categories