melaniejaane Posted September 11 Share Posted September 11 Is it possible to create a rule that will redirect any 404 product pages back to the main shop page? My clients sells second hand goods so every product is a one off. It won't be practical or sustainable to create 301 redirects for every single item she sells. Thanks everyone! 😊 Link to comment
Solution creedon Posted September 11 Solution Share Posted September 11 Yes. It's covered right there on the URL Mappings panel and the support docs. Example. /store/p/[name] -> /store 301 Let us know how it goes. paul2009 and melaniejaane 2 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
melaniejaane Posted September 15 Author Share Posted September 15 On 9/11/2024 at 3:12 PM, creedon said: Yes. It's covered right there on the URL Mappings panel and the support docs. Example. /store/p/[name] -> /store 301 Let us know how it goes. Thanks @creedon I read the Support Doc on URL Mappings. When it repeatedly said using the [name] variable would "redirect all items" – and never specified deleted / disabled items – I thought it was a blanket rule that overrode inactive link redirection to actually redirect ALL items. I see this was a mistake now and the [name] variable works as you suggested. Thank you for clarifying this issue. 😊  creedon 1 Link to comment
creedon Posted September 16 Share Posted September 16 Quote I read the Support Doc on URL Mappings. When it repeatedly said using the [name] variable would "redirect all items" – and never specified deleted / disabled items Understandable. SS could enhance their doc to hammer home that redirects only work for pages that do not exist. Some more examples with some scenarios would also be useful. Maybe Sarah or Taylor could pass this on to the support docs folk? @Sarah_SQSP @Taylor_SQSP melaniejaane 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Taylor_SQSP Posted September 16 Share Posted September 16 14 hours ago, creedon said: Understandable. SS could enhance their doc to hammer home that redirects only work for pages that do not exist. Some more examples with some scenarios would also be useful. Maybe Sarah or Taylor could pass this on to the support docs folk? @Sarah_SQSP @Taylor_SQSP Hi Creedon! I will pass along. Thank you for flagging! creedon 1 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