Social Icons

Pages

Showing posts with label Static Pages. Show all posts
Showing posts with label Static Pages. Show all posts

Monday, 26 August 2013

Blogger Magic: Pages Vs Posts

Not all blog owners know what pages are - nor how they differ from posts. We see confusion, in Blogger Help Forum: How Do I?.
How do I publish a post, which always appears on the home page?
or
How do I publish a post, which never appears on the home page?
or
How do I publish multiple posts on a page?
Long ago, we used workarounds, like publishing a post, using a future or past date. The workarounds would create a post which would always, or never, appear on the home page - but there were always side effects, from using either technique.

In 2010, Blogger gave us static pages - pages which are created and look like posts - but never appear in archive, label, or main page displays.

We were able to link to the static pages, using tabs lists and linklists, that we could create, as we liked. The pages editor has the same look and feel as the posts editor - and pages have the same look and feel as posts.

In 2011, they gave us the Pages gadget, a prebuilt XML gadget, which we use to index both posts and pages. In 2012, they gave us Custom Permalinks and Redirects, which let us use our posts and pages in imaginative ways.

Some blog owners construct blogs like static websites - until they run up against the Blogger static pages limit.

The static pages limit will be a problem, for those who never bother to note the functional differences between dynamic pages (also known as "posts"), and static pages (also known as "pages") - until their uncontrolled use of static pages restricts continued blog expansion.

Look at some examples of dynamic and static content.

This is a dynamic page URL, from this blog:
http://blogging.nitecruzr.net/2013/08/blogger-magic-pages-vs-posts.html
See the "/2012/04/"? That denotes a dynamic page, with a date.

This is a second dynamic page URL, from this blog:
http://blogging.nitecruzr.net/search/label/Pages
The "/search/label/" also denotes a dynamic page.

This is a third dynamic page URL, from this blog:
http://recipes.nitecruzr.net/
External pages are also dynamic, because their content is not controlled as part of this blog.

This is a static page URL, from this blog:
http://blogging.nitecruzr.net/p/topics.html
See the "/p/"? That denotes a static page. A static page can appear like a single post, with slight differences.

The limit on static pages is a resource issue. Static pages require specific resources, pre allocated to every blog. Increasing the limit on static pages, as with increasing the limit on number of labels, would require a change to all blogs. Such resources are limited, just as everything is limited, in some way.

Even if you can have only up to 20 static pages, you can index an unlimited amount of dynamic pages, using the Pages gadget, and adding "Web address" entries. There is no limit, with dynamic pages.

When you add the combinations of dynamic and static pages, with the possibilities of custom redirects, you get many different possibilities, and different possible advantages - and this will look like magic, to the untrained eye.

>> Top

Monday, 29 July 2013

The Mysterious Pages Index Gadget

We get occasional reports, in Blogger Help Forum: Something Is Broken, about a broken Pages gadget.
I created a new page - but when you click on the link, you get bounced back to the Home page!

When you look at the blog with the problem, it's easy enough to verify the report - just look at the URL behind the link, for the most recent page created. Indeed, it points straight to the Home page (base URL for the blog).

When this happens, there is a very simple workaround. Just create another page, identical to the problem entry.

Thinking of the past 4 years since the Static Pages feature was added to Blogger, I am betting that I have seen this report maybe 2 dozen times. That is, just enough to know that this is a problem - but nowhere enough to detect any pattern.
  • BlogSpot vs custom domain.
  • Template Name.
  • Template type ("designer" / "layout" vs "dynamic").
  • Position of Pages gadget ("Tabs" vs "Sidebar").
  • Geographical location of owner.
  • Dynamic vs Static page entry.
  • Number of pages.
I have not yet seen any obvious affinity, with this problem - mainly because it's reported too infrequently.

If your blog is affected by this oddity - and you feel like taking the time, I'd like for you to first try resetting the "Pages1" gadget, similar to resetting the Post Template aka "Blog1". If that does not produce an improvement, then try the workaround - add an additional page, identical to the broken one. See if that solves the problem.

If the additional page works better, then you can delete or hide the previously created (broken) page. My apologies to you, if the problem page is the 19th (or possibly the 20th) static page.

If you're here, looking for help with this problem, and it is now 2016 (or later), my congratulations to you for finding your way here.

>> Top

Monday, 21 January 2013

Removing The "/p/" From the URL

Ever since Blogger (finally) gave us the option to add static pages to our blogs, blog owners started asking
How do I make my pages URLs cleaner? The "/p/" in the URL is so messy looking.
Our typical response would be simple.
Sorry, you're stuck with the URL, as is, for a static page.
And, that was that.

Later, Blogger gave us the ability to redirect URLs within the blog - and that changed.

This is the URL of the topics index in this blog ("labels", to use the Blogger native term).
http://blogging.nitecruzr.net/p/topics.html
Here are two alternate URLs, which also reference the topic index.
http://blogging.nitecruzr.net/topicindex
and
http://blogging.nitecruzr.net/topic-index
Click on each link, and note where you go.

To make the alternate URLs work, all that I did was use "Custom Redirects", and add two entries.
From: /topicindex
To: /p/topics.html
and
From: /topic-index
To: /p/topics.html
Of course, the address displayed will be the address published - not the address entered into the browser. You can't change the address displayed - you can only simplify what has to be entered. And, to maintain proper spam mitigation policy, you can only redirect within the base URL of the blog.

Other than that, the possibilities are almost endless.

>> Top

Saturday, 21 July 2012

Blogs, Written In Non Roman Character Languages, Have Trouble With Publishing Static Pages

We're seeing a few reports in Blogger Help Forum: Something Is Broken, from owners of blogs which publish in languages that don't use Roman characters, about problems publishing static pages in their blogs. Supposedly, with the affected blogs containing multiple static pages, the pages are all being published with the same URL.

The problem is thought to involve blogs published using the New Blogger GUI. Hopefully, by switching back to the Classic Blogger GUI, the problem can be worked around, until Blogger Engineering can diagnose and fix the problem.

We have a Rollup Discussion in Blogger Help Forum: Something Is Broken, where we are asking for details, from owners of blogs affected.
  1. What is the URL of your blog?
  2. In what language is the blog published?
  3. Are you using the New Blogger GUI?
  4. If you switch back to the Classic GUI, does that resolve your problem?
  5. In what city / province / country do you live?
Please answer as best you are able, to improve chances of Blogger Engineering finding and fixing the problem, as promptly as possible.

>> Top

Saturday, 30 June 2012

Blogger Magic - A Static Home Page, Video Demonstration

To better explain the process of setting up a blog with a static home page, I have produced a new video demonstration (somewhat improved, from the attempt earlier today). This is experimental, so be kind.

This is intentionally a silent video, because the recording process, used for displaying the screen, is very heavy on computer resources. Audio doesn't improve the experience.

See the How To page, in the demo blog, first:

My Static Home Page Demonstration Blog

And now, the video:

Nitecruzr Video: Setting Up A Blog With A Static Home Page

>> Top

Tuesday, 5 June 2012

Blogger Magic - A Static Home Page, Improved

For many years, Blogger blog owners have been asking for the ability to have a static Home page, on their blog.

We came up with a basic solution for that, a couple years ago. Last year, I packaged the procedure.
  1. Set "Show" to "0 posts".
  2. Add a static HTML / Text gadget.
  3. Tweak the template for the new gadget, to display only on Home page.
This was an obvious solution (to some of us) - but it's painfully complex, and it involves editing the template HTML. It's an interesting techie solution - and that's about it.

Today, I realised that Blogger recently gave us this option, in a far simpler solution, last month - but not so many people noticed it.

The "Custom Redirects" feature is just what you need, to create a static home page.
  1. Setup a Static Page. Use the dashboard Pages wizard, make a "New page", and select "Blank page".
  2. Use the "Custom Redirects" dashboard wizard, and redirect from the Home page to the new Static page.
  3. Work on the static home page, and make it attractive.

I setup a test blog - Nitecruzr Redirected Home Page Test, and added a Static page - "Static Home Page".
nitecruzr-test-redirected-homepage.blogspot.com/p/static-home-page.html

Having setup the static page, I redirected the Home page to the static page, using the "Search preferences" - "Custom Redirects" feature.
  • From: /
  • To: /p/static-home-page.html
  • Permanent: Yes

Edit "Custom Redirects".
  1. Enter "From:" as "/".
  2. Enter "To:" as "/p/static-home-page.html".
  3. Select "Permanent".
  4. Click the "Save" link.
  5. Hit the "Save changes" button.



And, that is it. You can see my test blog, as a basic demonstration.

Note that just as easily as redirecting the home page to any static page, you can redirect to any dynamic page (aka a "post"). So, you can pin a post to the main page, using Custom Redirects.

Once the "Home" page / tab is static, you can index the posts using any sidebar gadget - such as an Archive or Label index gadget. Or, you can index posts, as if they were pages.
  • Publish your posts to a given label - I used "Posts".
  • Add a label search entry, as a "Web address", to Pages.
Thus my Pages entry, "Posts".

Now, anybody can have a blog with a static home page, in 10 minutes (don't overlook steps #3 and #4, above - as I did, the first time). Click here, for more examples.


(Update 2012/06/30): See The Video, for a live demonstration.

>> Top