Skip navigation

WordPress School: Forgetting the Post or Page Title

Badge - Learn WordPress with Lorelle VanFossen at WordPress School.In the last tutorial in Lorelle’s WordPress School I talked about WordPress addresses and URLs. In this tutorial, I want to cover what happens when a post or Page title is forgotten and left blank, and how that impacts the web page address. This discussion includes your first glance at the WordPress database.

We all do it. A slip of the memory, rushing to publish, the post title is forgotten, left blank. We hit publish, satisfied that everything is fine, our article flying out to the world of subscribers and social media, have a cup of tea to rejoice, then look at the front of our site and discover that the title is missing. Panic ensues.

Like the book said, don’t panic. This is all fixable, and survivable.

URLs - Forgetting the Post or Page Title - Lorelle WordPress School.

WordPress uses the MySQL database to contain and manage all the site’s options and data. When a post or Page is added to your site, the content and related data is stored in the database table and given an ID number, usually in sequential order. As covered in the previous assignment, the ID number becomes the underlying URL for that post.

http://example.com/?p=1234

This is the link for the post or Page ID for 1234.

Another new concept and WordPress term you need to learn is the slug, specifically the post and Page slug. This is the contextual version of the web page address such as this example featuring my-post-is-awesome as the post slug.

http://example.com/2015/02/my-post-is-awesome

When publishing a post or Page, if you forget the post or Page title, the ID becomes the post slug and the title is blank.

URLs - Forgetting post or Page Title - No Title and ID as post slug - Lorelle WordPress School.

This causes confusion for the reader as there is no post title to click on to view the whole post, and no post title to tell them what the post is about.

To fix this issue, simply updating the post or Page isn’t enough. It takes one more step.

  1. Edit the post or Page
  2. Add the title
  3. Under the title is the Permalink go to the end of the address and click the Edit button
  4. Write in the title of the post or Page. You may use spaces, upper or lower case, punctuation, and hyphens.
  5. Click OK. WordPress will automatically clean up the slug to a safe address.
  6. Click Update

Forgetting the Post or Page Title and Changing Post Slug.

Check the front view of your site to ensure the post title appears correctly.

What You Need to Know About Forgetting the Post Title

When you forget the post title when publishing, here are a few things you need to know.

  • Address Still Works: Whether the post slug is 1234 or dancing-the-night-away, a link to either address will find the post. This is part of what WordPress calls canonical URL.
  • Feeds: We haven’t discussed feeds yet, but these are contextual versions of your site picked by people using feed readers and syndication tools and services. Once a post is published in WordPress, it goes out immediately as is and the content isn’t updated. A visit to the site or a refresh of the feed will show the updates, but your post just went out without its title on.
  • Email Subscriptions and Followers: Subscribers to your site’s email notification and follow services just got a post without a title. They are fans. They will forgive you. Maybe.
  • Social Media: If the site is set up to push out notifications of new posts automatically to social media, it just went out without a title. Just make sure a title is there for when they come to read the article.

None of these things are fatal. Even I’ve done this more than a few times. We will all live and the show will go on, just avoid doing it in the first place. This is why I highly recommend working directly from the WordPress Publishing Checklist for the first few weeks or so of WordPress use until you learn to check all the little details before you hit publish.

Assignment

Lorelle's WordPress School Assignment Badge.Your assignment today is easy, with a second lesson in the mix.

  1. Create a test post on your test site. Not important for there to have content of value in it.
    1. Forget the title. Leave it blank.
    2. Do not set any categories or tags.
    3. Publish the post
  2. View the front page of your site. Do you see the post on the front page? Try to find a way to click it to view it as a single post pageview (just the post itself). Can you figure it out?
    • Look at the categories for that post. What is it? When you do not choose a category, what category does that post go into automatically? Is that a category you want on your site? Hmmm. Spoilers.
  3. Return to the Edit Screen tab and add the title. Update the post
  4. Switch to the post preview tab and refresh. Check for the post title. It should now appear.
    • Check the URL of the post. Does it show the new post title?
  5. Switch back to the Edit Screen tab and edit the post slug. Make it the same or different from the post title you just added. Click Okay, and update the post
  6. Switch to the post preview tab and refresh. Did the address change?

After experimenting with the post title and slug, you may delete the post from your test site.

Again, when working on your own sites and with client sites, remind them to add the post and Page title before publishing. It saves time and work later.

This is a tutorial from Lorelle’s WordPress School. For more information, and to join this free, year-long, online WordPress School, see:

Subscribe to Lorelle on WordPress. Feed on Lorelle on WordPress Follow on Twitter. Give and Donate to Lorelle VanFossen of Lorelle on WordPress.


11 Comments

  1. Posted February 28, 2015 at 9:17 pm | Permalink

    how can anyone forget the post title?

    • Posted March 1, 2015 at 7:29 pm | Permalink

      lack of caffeine in the system.

      • Posted March 1, 2015 at 7:31 pm | Permalink

        Lol that’s funny! But not everyone drinks caffeine.

      • Posted March 4, 2015 at 1:14 am | Permalink

        @Amanda: I thought I didn’t until I read that my tea has caffeine. Not much, but some.

    • Posted March 4, 2015 at 1:15 am | Permalink

      I’ve been doing this for a long time, Amanda, and I will be so focused on the content, I’ll space on the post title. It just happens. I’d like to say it was for good reasons, but I call them brain farts. 😀

    • Posted March 5, 2015 at 12:01 am | Permalink

      I write such long posts that I put up any kind of title in the beginning so I can find it in drafts easily. I often change the title as the post develops. (No lectures on blogs and attention spans, please. I have a following that likes reading my 2,000-4,000 word tomes. Not all of us are of the text and tweet generation. Some of us have actually happily slogged through Dickens and Melville. I do try to write shorter, but it seems to not be within me as this comment attests.)

      • Posted March 6, 2015 at 8:48 pm | Permalink

        Actually, do you know what the recommended post length is? Come on, guess! 😀

        As long as it takes to make your point. That’s the right length. The rest is just what someone made up.

        If you write well and your post is formatted in a way that pulls the reader through to the end, they will read to the end.

        Good for you!

      • Posted March 6, 2015 at 10:06 pm | Permalink

        I tell some of my followers I have a relationship with the posts as my posts write themselves until they are finished and when it happens, I feel it. I never agonize over was there something I wanted to say but didn’t. Upon proofing, I may edit a bit for clarity or find a way to expand on something, but I am generally happy with my efforts. Oh, bull. I’m proud of them. 😀

      • Posted March 6, 2015 at 10:36 pm | Permalink

        Be proud. That’s awesome. I love it!

        Just remember, never get in the way of the reader’s experience. That’s when web writing goes wrong. See the note on the other post.

      • Posted March 6, 2015 at 11:00 pm | Permalink

        Sighted sub. Sank same.

  2. Ankit Dixit
    Posted March 14, 2015 at 1:38 am | Permalink

    nice info.. loving it


2 Trackbacks/Pingbacks

  1. […] « WordPress School: Forgetting the Post or Page Title […]

  2. […] the tutorial on what happens in WordPress when a post or Page title is forgotten when publishing, you learned how the post slug becomes the post ID number. Correcting the post title involves also […]