Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Monday, 22 June 2009

Make Blogger Title More SEO Friendly

I was looking at some of the results from my blog in the search engines and noticed that owing to the length of my title the title pf the posts were simply not being displayed - hence probably not getting as many click throughs as it could.

I therefore had a search around and found the variables for setting descriptions etc from within blogger. If you look at my blog now you will notice that on the main URL it gives you the title but when you are viewing a post it gives you the title of the post!

This should make things stand out much better in the search engine results.

So here is the code you need to edit:

1. Go to the Edit HTML page from the layout tab in Blogger.
2. Look for the following in the header (should be very close to the top):



3. Now replace it with the following:



Job Done! It will now be interesting to see if I get an increase in traffic and possible ranking. If I do I will post about it.

Wednesday, 5 March 2008

Converting HTML to aspx tip

I need to convert some html to aspx. On the page were loads of images and as i moving stuff into master pages it was going to totally scre the directories up.

As you may know with a server control you can use the sqiggle/tilda (~) in a path so the server resolves the actual path for you when it generated the page.

What you can do to save a lot of time is rather than change all the image controls, for example, is just add a runat="server" to the html control and then do a search and replace on the image url to add the ~. This allows the existing alt text etc to be used without having to convert to a server control - which has different naming conventions for the attributes.