JadeT Posted February 21, 2023 Share Posted February 21, 2023 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, 2023 Solution Share Posted February 21, 2023 (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, 2023 by paul2009 JadeT 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
JadeT Posted February 21, 2023 Author Share Posted February 21, 2023 Amazing yes it does! Thank you so much, what a relief! 🙂 paul2009 1 Link to comment
GrantL Posted November 28, 2023 Share Posted November 28, 2023 Great article. Wondering if I have 2 secondary domains domainA and domainB, would I also be able to redirect the home page to the primary, such as https://domainA/ -> https://primary/nz/home and https://domainB/ -> https://primary/nz/home ??? Thanks 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