Michela Posted May 8 Share Posted May 8 Hi, We have a large scale education event that we want to have a full page dedicated to. I've found that event pages have significantly less customization options than standard pages, so I'm hoping to redirect an event URL to its own page. That way, the event still shows up in our Events tab, but has a more in depth page. I've tried going into Settings > Advanced > URL Mapping and entering this: /events/wild-fest -> /wild-fest 301 but it doesn't seem to be doing anything. How can I make this work? The main website is https://nocowildlife.org. Link to comment
Solution tuanphan Posted May 10 Solution Share Posted May 10 It works if wild-fest doesn't exist You can edit Wild Fest event > Add a Code Block > Paste this code <script> window.location.href = "/wild-fest"; </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Safe Posted May 22 Share Posted May 22 Hey Michela, I'm trying to do a very similar thing. Very limited customization on the event page so I would like to link it to its own page. Can you please provide a quick run down of what the process is. Is it tedious to do for every event, should this be an event platform? Cheers, Saif Link to comment
Michela Posted May 24 Author Share Posted May 24 On 5/10/2023 at 12:53 AM, tuanphan said: It works if wild-fest doesn't exist You can edit Wild Fest event > Add a Code Block > Paste this code <script> window.location.href = "/wild-fest"; </script> Thank you! On 5/22/2023 at 2:38 AM, Safe said: Hey Michela, I'm trying to do a very similar thing. Very limited customization on the event page so I would like to link it to its own page. Can you please provide a quick run down of what the process is. Is it tedious to do for every event, should this be an event platform? Cheers, Saif I don't quite understand why the above worked, but it did. I didn't change anything about the Wild Fest main page, just added this to the event page. Now it redirects and still shows up on the calendar. Link to comment
ICA Posted June 9 Share Posted June 9 Hi there, I am looking to find a similar solution to this problem. I am looking to get some help with redirects on our website (http://indigenousclimateaction.com). I am hoping to redirect this event page (https://indigenousclimateaction.com/events/healing-walk-2023) to this landing page (https://indigenousclimateaction.com/healing-walk-2023) as the event pages have limitations for design and layout, especially for a larger scale event. I have tried to use the redirect options from this resource (https://support.squarespace.com/hc/en-us/articles/205815308-URL-redirects), which seemed to do nothing. I learned this is because the event page is not disabled, however, I don't want to disable the event page as I want it to still show up in our "Events" page calendar. I looked into an option to insert custom code in to a code block on the event page following this forum (https://forum.squarespace.com/topic/242567-redirect-event-to-a-different-page/), but this seems to apply the script to the parent "Events" page, rather than just the event page, causing the entire parent page to refresh and redirect to the landing page, which is not desired. I am wondering if you might have a solution to this? Would greatly appreciate. Link to comment
Enny.nz Posted Tuesday at 01:29 AM Share Posted Tuesday at 01:29 AM On 5/10/2023 at 4:53 PM, tuanphan said: It works if wild-fest doesn't exist You can edit Wild Fest event > Add a Code Block > Paste this code <script> window.location.href = "/wild-fest"; </script> Hi @tuanphan, this works great, but if you want to undo it, you cannot access the post, as it will always redirect to the page. Any idea, how to get back into the post or event once you have added this snipped of code? Thank you 🙂 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment