radishlab Posted March 17, 2021 Share Posted March 17, 2021 Site URL: https://partners.red.org/impact We have a page with slug /impact that we set as the homepage but apparently, the page's slug can't be removed resulting in duplicate content: https://partners.red.org/ https://partners.red.org/impact And since /impact still exists, I can't set up a redirect in URL Mapping. How is this supposed to be resolved? /Chris Link to comment
derricksrandomviews Posted March 17, 2021 Share Posted March 17, 2021 Set another page as homepage temporarily, then rename the page slug. At that point the orginal slug wlll cause a 404 error which can be redirected. Then Set the page with the new slug as homepage Link to comment
Guest Posted March 22, 2021 Share Posted March 22, 2021 I don't believe that solves the problem @derricksrandomviews I'm having the same realization as @radishlab. Because every Squarespace page requires a slug, including any page set as the site's homepage/index, the result is a duplicate homepage: One accessible at the conventional (and almost universally preferred 'mydomain.com/' and one accessible at 'mydomain.com/homepageslug' = duplicate pages/content. I came upon this trying to find a way to get my site's sitemap.xml to not use my homepage's slug in the URL - something I don't want Google to index and list as I (and I expect most) don't use their actual homepage's full URL with slug as their homepage address. Link to comment
derricksrandomviews Posted March 22, 2021 Share Posted March 22, 2021 (edited) A slug is required but it doesn't have to be the word "home" make it anything you want, but it cannot be left blank, but this does not make a duplicate page, not really, just two "addresses" for the same page. There is a very important distinction there. Edited June 22, 2022 by derricksrandomviews Link to comment
radishlab Posted March 30, 2021 Author Share Posted March 30, 2021 I believe a step was left out though from the March 17, 2021 solution: at the end of the stated process, after the original homepage (now with a new slug) is reset as the homepage, you can revert to its original slug, thus giving your newly created redirect rule a page to redirect. That step allows you to override the "you can't redirect a page that already exists" rule which was essentially the problem. So it's as if once a URL redirect in Squarespace takes hold, it will stay working. It's just not able to "take hold" — even though Squarespace allows you to add the rule to the URL Mappings list — if the page you're trying to redirect already exists. In other words, "/xyz" can be mapped to "/" as long as when such a rule is added to the URL Mappings list, "/xyz" doesn't exist. But if a page with slug "xyz" is created after the mapping exists (as in this case), the redirect will stay working. Link to comment
kinnoda Posted January 31, 2022 Share Posted January 31, 2022 @radishlab I just tried this and didn't work unfortunately. The redirect was working and then after following these steps, my /reviews link just kicked back in again. So annoying. Link to comment
AleksandraM Posted June 19, 2022 Share Posted June 19, 2022 (edited) @derricksrandomviews Hello, I have a question that I hope you can help me with. 🙂 I am setting my website and it is going to be a website with recipies. I created a home page and I am adding posts under this page. However every post I create has a slug ''home'' or any other if I rename it. This causes that every post I creat has a slug in its URL. For example, if my website was www.alexcooking. com every post that I create would have url www.alexcooking. com/home/applepie. This is just an example. I do not want this to happen. I would like that my recipies have this url www.alexcooking. com/applepie. I cant customise url because the ''home'' cant be deleted from sustomised url. I have already one website using wordpress and links are created automaticaly as the title of the post and that results in something like this www.alexcooking. com/applepie. Can you help me to understand how to get the same in Squarespace? Edited June 19, 2022 by AleksandraM Link to comment
paul2009 Posted June 19, 2022 Share Posted June 19, 2022 2 hours ago, AleksandraM said: Every post I create has a slug ''home'' or any other if I rename it. This causes that every post I create has a slug in its URL. I do not want this to happen. I would like that my recipes have this url www.alexcooking. com/applepie. I have already one website using wordpress and links are created automatically as the title of the post @AleksandraM On Squarespace all blog post URLs begin with the blog page URL slug. This behaviour is not something you can change. Of course you can use a different URL slug that matches your content, for example 'recipes' instead of 'home'. 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment