JadeT Posted February 21 Share Posted February 21 Hi Everyone! I have a question relating to redirects. I have a client who has a previous website on a previous domain (for example myoldwebiste.com) and now wants their new website to be on a new domain (mynewwebsite.com). We need the previous website's page slugs to redirect to certain new website pages, so my question is: If I have mynewwebsite.com as the primary domain, and then myoldwebsite.com as a secondary domain that points at the website, if I create redirects in the URL mappings section that use the slugs from the old website and map them to a new slug on the new website, will this work and successfully redirect them? I know if I just used identical slugs it would redirect to the right place anyway, but this isn't an option in some cases (i.e. where a rubbish slug was used on the old site, or where we want to redirect to a specific new/different landing page on the new site). I feel like this sounds obvious, and I am guessing it will work, but don't want to promise the client that until I am sure. Thanks so much 🙏 Link to comment
Solution paul2009 Posted February 21 Solution Share Posted February 21 (edited) 23 minutes ago, JadeT said: I have a client who has a previous website on a previous domain (for example myoldwebiste.com) and now wants their new website to be on a new domain (mynewwebsite.com). We need the previous website's page slugs to redirect to certain new website pages...if I create redirects in the URL mappings section that use the slugs from the old website and map them to a new slug on the new website, will this work and successfully redirect them? Yes. If you have added mynewwebsite.com as the primary domain and you've added myoldwebsite.com as a secondary domain, you can redirect old page slugs to the new ones in Settings > Advanced > URL mappings. For example, you can redirect myoldwebsite.com/myoldslug to mynewwebsite.com/mynewslug with the following: /myoldslug -> /mynewslug 301 Does that make sense? Did this help? Please give feedback by clicking an icon below ⬇️ Edited February 21 by paul2009 JadeT 1 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
JadeT Posted February 21 Author Share Posted February 21 Amazing yes it does! Thank you so much, what a relief! 🙂 paul2009 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