Skip to main content

Putting The Post URL In The Title

This tweak isn't necessary in Blogger Beta - it's already there. That was a bit of a pleasant surprise, when I tested my first Beta blog. Why is it necessary here? I'll explore that question later.

For right now, let's focus on making this work. It's a pretty simple change. You have to edit the template, so start by backing the template up.

Now, go into the template editor, and find
<h3 class="post-title">
<BlogItemUrl><a href="<$BlogItemUrl$>" title="external link"></BlogItemUrl>
<$BlogItemTitle$>
<BlogItemUrl></a></BlogItemUrl>
</h3>

and replace that with
<h3 class="post-title">
<a href="<$BlogItemPermalinkUrl$>" title="permanent link">
<$BlogItemTitle$>
</a>
</h3>

Save, then Publish. Simple enough?

>> Top

Comments

Mary said…
Yes, quite simple! Thanks!
jen said…
I can't thank you enough!!! I've been trying to find out how to do that for a year!

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Add A Custom Redirect, If You Change A Post URL

When you rename a blog, the most that you can do, to keep the old URL useful, is to setup a stub post , with a clickable link to the new URL. Yo! The blog is now at xxxxxxx.blogspot.com!! Blogger forbids gateway blogs, and similar blog to blog redirections . When you rename a post, you can setup a custom redirect - and automatically redirect your readers to the post, under its new URL. You should take advantage of this option, if you change a post URL.