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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below or buy me a coffee.

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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below or buy me a coffee.

Link to comment
  • 10 months later...

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.