Jump to content

Remove Blog Slug URL?

Go to solution Solved by paul2009,

Recommended Posts

  • 5 months later...
  • 4 months later...
On 4/25/2020 at 1:33 AM, SarahH said:

Can you (or anyone) give more details on how to do this as having the /blog slug is very annoying. I can't seem to see a section where it shows "display domain.com/post-name"

Thanks!

Sarah

Were you able to solve this issue too? I'd hate to have to create 400+ redirect links. Thanks!!

Link to comment
  • 7 months later...

I as well and hoping there's a solution to this. I have a massive blog that I'd dearly love to move over to Squarespace but it's essential that each post live on my primary domain so

domain.com/post-name

I've sent a note into customer care to see if this is planned for the near future

It has always been easy to do this on Wordpress

Link to comment
  • Solution
47 minutes ago, JudeG said:

I have a massive blog that I'd dearly love to move over to Squarespace but it's essential that each post live on my primary domain so

domain.com/post-name

On Squarespace, blog post URLs always begin with the Blog Page URL slug, for example, domain/blog-name/post-name. You cannot remove this.

However if you keep the post titles the same when you import them, you can move your blog to Squarespace without losing the original links.

To do this go to SettingsAdvancedURL Mappings then add the following single line of text, where "blog" is the name of your new Blog Page.

/[name] -> /blog/[name] 301

When you save your changes, all imported blog posts can be reached with their original links. For example, domain.com/post-name will automatically send the visitor to domain.com/blog/post-name.

You'll find more information in the Squarespace guide entitled URL redirects

Edited by paul2009

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
/[name] -> /blog/[name] 301 

This code works but it will put the blog slug back up on the address bar. Here is a link to one of my post using the above url redirect. My blog page which is in the unlinked section of my site is "stories" 

https://myrandomviews.com/paratrooper 

Watch the address bar when you click the link. Another quirk is that this redirect works intermittently. 

Edited by derricksrandomviews
Link to comment
On 11/7/2019 at 5:45 PM, scubascuba said:

No problem, managed to sort it.

For anyone else that needed help, this worked itself out on its own.

I checked the SEO meta description and saw it displayed domain.com/post-name anyway. Tried it for myself and it sent me to the post!

It works because your blog page is your home page. Squarspace hides the url slug for a home page. So if your page is "blog" it will hide that but display the post slug like "blog-1"       mydomain.com/blog-1

Edited by derricksrandomviews
Link to comment

Thanks for this - it's a good solution for the transition -  but moving forward, let's address new blog posts. Clients want to purchase a link in a post like this

mydomain.com/their-article

not like this

mydomain.com/blog/their-article

For new articles, my only option would be to have individual pages for each post. Given we post about a dozen a month, this would quickly become unwieldy.

Jude

Link to comment
  • 1 year later...
2 hours ago, WilliamCo said:

I would like a response to the same need that JudeG stated.

The answer today is the same as above:

 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
  • 10 months later...
  • 3 weeks later...

The issue is that SEO guides are pretty clear about how URLs affect the ranking of a site. The fewer layers between the domain and the keywords in the blog article's URL, the better. This is almost a deal-breaker.

Redirects are not a good alternative, as search engines also realize they're being redirected and count this against the page.

Edited by grantnoe
Link to comment
  • 3 weeks later...
On 4/13/2021 at 12:41 AM, derricksrandomviews said:
/[name] -> /blog/[name] 301 

This code works but it will put the blog slug back up on the address bar. Here is a link to one of my post using the above url redirect. My blog page which is in the unlinked section of my site is "stories" 

https://myrandomviews.com/paratrooper 

Watch the address bar when you click the link. Another quirk is that this redirect works intermittently. 

Hi Derrick, just coming across your answer from a couple of years back... but I don't follow what you've done with your link?  Is that link a blog post? If so, how did you manage to not show [blog-name] in the url?

Thanks

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Customisation Specialist | You Dream it, I'll Make it happen 
💻 1-2-1 Squarespace session 💻
👩‍💻 Custom Code help 👩‍💻
  I like coffee 

Link to comment
7 hours ago, melody495 said:

how did you manage to not show [blog-name] in the url?

As I explained in my earlier post, blog post URLs always begin with the Blog Page URL slug, for example, domain/blog-name/post-name. You cannot remove this. If you had a non-Squarespace site previously, that did not include the blog name, you can use redirects to send users to the new url, if they use the old url - but it doesn’t change the url - it can’t. 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
2 hours ago, paul2009 said:

As I explained in my earlier post, blog post URLs always begin with the Blog Page URL slug, for example, domain/blog-name/post-name. You cannot remove this. If you had a non-Squarespace site previously, that did not include the blog name, you can use redirects to send users to the new url, if they use the old url - but it doesn’t change the url - it can’t. 

Hi Paul, I understand. I was just curious about Derrick's url which is not showing [blog-name]. Thanks

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Customisation Specialist | You Dream it, I'll Make it happen 
💻 1-2-1 Squarespace session 💻
👩‍💻 Custom Code help 👩‍💻
  I like coffee 

Link to comment
2 hours ago, melody495 said:

I was just curious about Derrick's url which is not showing [blog-name].

Sure, I understand. The URL without 'blog' is a standard "layout" page, not a blog page 🙂

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
  • 4 months later...
On 4/12/2021 at 7:47 PM, paul2009 said:

On Squarespace, blog post URLs always begin with the Blog Page URL slug, for example, domain/blog-name/post-name. You cannot remove this.

However if you keep the post titles the same when you import them, you can move your blog to Squarespace without losing the original links.

To do this go to SettingsAdvancedURL Mappings then add the following single line of text, where "blog" is the name of your new Blog Page.

/[name] -> /blog/[name] 301

When you save your changes, all imported blog posts can be reached with their original links. For example, domain.com/post-name will automatically send the visitor to domain.com/blog/post-name.

You'll find more information in the Squarespace guide entitled URL redirects

Hi, currently transferring from wordpress to squarespace and thought I was plain sailing until I noticed squarespace add a blog slug to the url. I have a ton of blog posts currently all website/post title so does this mean I need to insert this code for every single post or does this one redirect automatically work for all? Thanks

Link to comment
2 minutes ago, PEN_72 said:

does this mean I need to insert this code for every single post or does this one redirect automatically work for all?

For all

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
17 minutes ago, paul2009 said:

For all

Thanks for your reply. To clarify, if I have 50 blog posts I need to do this procedure 50 times, or does adding this one redirect one time only, work for every imported wordpress post? Thanks and sorry to be a pain!

/[name] -> /blog/[name] 301
Link to comment
27 minutes ago, PEN_72 said:

To clarify, if I have 50 blog posts I need to do this procedure 50 times, or does adding this one redirect one time only, work for every imported wordpress post?

You use the rule once to redirect all posts 🙂.

If your blog is called something other than "blog" you can change it to match.

Edited by paul2009

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.