Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

How to Hide or Redirect a Blog Page *without* using a password


ToastyT

Recommended Posts

Hi there, anyone know a way to hide a blog page...that is, make it so visitors who attempt to go to, for example, sienaandtoast.com/podcast ...are just unable to see it, or are redirected to another page? What I'm trying to do is keep individual blog posts accessible, while blocking access to [the whole bird's eye view of all the blog posts] (which they'd be able to do easily if they just go to the blog page and see all of 'em there).

Unfortunately, a redirect from the blog page just doesn't work because "Redirects only work if the page you're redirecting from has been deleted or disabled." <- per Sqsp support article and, I also don't want to require a password for this.

Has anyone successfully done something like this? Thanks in advance for any insights!

Link to post
  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

You can insert JavaScript code to Page Header to create redirect without using redirect feature in SS Add to Page Header <script> window.location.href = "http://beaverhero.com"; </

You can add to blog page header, or try insert Code Block > Paste above code

Wow, that's amazing, thanks! But unfortunately, this code is "too powerful," in the sense that it also redirects [direct links to individual blog posts]. I still want people to be able to access the individual blog posts. I only want to redirect people who try to access the one Blog Page.

Link to post
6 minutes ago, ToastyT said:

Wow, that's amazing, thanks! But unfortunately, this code is "too powerful," in the sense that it also redirects [direct links to individual blog posts]. I still want people to be able to access the individual blog posts. I only want to redirect people who try to access the one Blog Page.

You can add to blog page header, or try insert Code Block > Paste above code

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post

Ahh! Thank you! It worked when I put the code into the "Post Blog Item Code Injection." That's pretty counter-intuitive, but fortunately, in the template I'm using (Brine,) this code loads on the blog landing page but NOT on individual blog post pages. Thank you so much again!

Link to post
  • 4 months later...

@tuanphan I tried your code to redirect a products listing page https://www.lynnemeade.com/gift-cards/, that is part of an index page, to a product item page https://www.lynnemeade.com/gift-cards/gift-card/. The product listing page only has the single product item page.

Error message occurred as follows:
1. "Script disabled" when inserted code in code block on product listing page header. It was only editable are on that page.
2. "Waiting for cache...Waiting for www.lynnemeade.com...processing request..." for over two minutes when testing redirect after inserting code in product listing page's Gear Icon >> Advanced >> Page header Code Injection.

What else can be done to enable redirect of one existing page to another?

Thank you in advance for your help

Link to post

If it is a whole page not just one post simply move it to the unlinked section of your site. It gets moved off the nav bar and can't be found then without knowing the url or there would have to be a link somewhere else on the site like in a summary block. I am doing just that with two summary pages, which allows me to create "two" blog pages as it were.  

my random views derrick Lee parker

Link to post

Thank you for your suggestion @derricksrandomviews. I've started to that redirect work around.

The shop page is an index page containing our seven products pages or "sub-shops", one being gift cards. There are two ways to place the gift card product item page on the index shop page. One uses a summary block on a single page, the other a product block. Both require a custom header and footer similar to the gift card page. Without custom CSS, if that's even possible, a summary block of products lacks the product variant and buy now button and links to the product item pages. A product block may work with the link to the actual gift card item page turned off. I'm going to test both types of blocks a bit more.

Simultaneous to that effort, I'd like to continue to explore a redirect.

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...