Michela Posted May 8, 2023 Share Posted May 8, 2023 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, 2023 Solution Share Posted May 10, 2023 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Safe Posted May 22, 2023 Share Posted May 22, 2023 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, 2023 Author Share Posted May 24, 2023 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, 2023 Share Posted June 9, 2023 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 November 28, 2023 Share Posted November 28, 2023 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
tuanphan Posted December 4, 2023 Share Posted December 4, 2023 On 11/28/2023 at 8:29 AM, Enny.nz said: 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 🙂 Suppose your site is enny.squarespace.com You can enable safe mode by access enny.squarespace.com/config/safe Matthew26 and Enny.nz 2 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Enny.nz Posted January 2 Share Posted January 2 That's a neat trick. Thank you @tuanphan!! tuanphan 1 Link to comment
sreynolds Posted March 20 Share Posted March 20 This doesn't work for me. I've lot my event page completely now. It works for each event but I no longer have a main event page. sandyreynolds.com/events Please help. I've spent two hours on this today. All I want to do is have each event go to a separate page on my site. Link to comment
tuanphan Posted March 21 Share Posted March 21 5 hours ago, sreynolds said: This doesn't work for me. I've lot my event page completely now. It works for each event but I no longer have a main event page. sandyreynolds.com/events Please help. I've spent two hours on this today. All I want to do is have each event go to a separate page on my site. You mean you want to disable event main page or? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
OceanMind Posted May 20 Share Posted May 20 @tuanphan this code redirected just like a 301, but without the event being turned off and without entering a 301 in the URL mapping, thank you! I applied it to the event on July 30. oceanmindsangha.org. Does it function as a 301 for SEO purposes too or does it affect SEO in a different way? Or should I also create the 301 in URL Mapping? Or something else? I'd like to redirect the googlebots to the relevant permanent pages. I'm hoping these pages start showing up in google searches instead of the unique Urls in the calendar. What do you think? www.oceanmindsangha.org Link to comment
Squaredspace Posted August 6 Share Posted August 6 Hello. I'd like to redirect from an active landing page to another page, if possible. Basically, when a user first goes to the website, the landing page plays an "intro" video. This is really just a section page with a background video that loops. I currently have a link on that landing page that visitors can click to another page whenever they want to. But is there a way to redirect the visitor to another page automatically once the landing page video stops playing the first time? Currently on a Personal Plan, so using scripts in a code block won't work. https://ranunculus-fish-fhr3.squarespace.com Password: K0B0LD2o24! I have another landing page elsewhere on the website that I'd like to automatically redirect to another page, though I haven't decided if I want to keep that landing page. But if redirecting works, then I'd consider keeping it. https://ranunculus-fish-fhr3.squarespace.com/wellbore-diagnostics/kobold-connect Password: K0B0LD2o24! Any help is appreciated! Link to comment
tuanphan Posted August 7 Share Posted August 7 10 hours ago, Squaredspace said: Hello. I'd like to redirect from an active landing page to another page, if possible. Basically, when a user first goes to the website, the landing page plays an "intro" video. This is really just a section page with a background video that loops. I currently have a link on that landing page that visitors can click to another page whenever they want to. But is there a way to redirect the visitor to another page automatically once the landing page video stops playing the first time? Currently on a Personal Plan, so using scripts in a code block won't work. https://ranunculus-fish-fhr3.squarespace.com Password: K0B0LD2o24! I have another landing page elsewhere on the website that I'd like to automatically redirect to another page, though I haven't decided if I want to keep that landing page. But if redirecting works, then I'd consider keeping it. https://ranunculus-fish-fhr3.squarespace.com/wellbore-diagnostics/kobold-connect Password: K0B0LD2o24! Any help is appreciated! You can edit page > Add a Markdown Block (top or bottom of page) > Paste this code, change 5000 (5000 = 5 seconds) <script> setTimeout(function(){ window.location.href = 'https://google.com'; }, 5000); </script> Replace google with new page url Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Squaredspace Posted August 7 Share Posted August 7 Thanks @tuanphan, this works great! 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