Five tips for search engine optimization while making a website

Search Engine Optimization also known as SEO is one of the most important and most talked about issue regarding website development and designing. Today I’ll give you some hints and tips to make your good search engine optimized website. Everyone wants their website to come on the first two pages of search engines, mostly google.

Google has widely changed the way of search engine technology, therefore usually all the search engine optimization techniques are based on the studies of Google. By SEOing your website you will get a good page rank, or in other words your google page rank will increase.

1. Domain Name Selection

The very first step in setting up a new website is to get a very relevant domain name. Domain name counts a lot with the search (I am taking a carpets company website as an example in this article), so your domain name must properly represent your company and its area of business. The name of my company is MyCompany and we deal only in Carpets, so the best example of a domain name would be something like, or and so one…

2.URL and Filename of web pages.

The next step in setting up a website is to take care of the URL or filename of your web pages. Search Engine crawlers cannot go into your dynamic websites. What I mean by dynamic websites is that you must have seen that there is a question mark (?) and and sign (&) used in the urls. This is a bad thing if you see with respect to crawlers.

So what is the solution to it? The solution is to rewrite the URL. You can rewrite the urls using the .htaccess file. For .htaccess commands refer to my post on .htaccess important commands.

One more thing that you have to keep in mind is your url must not contain underscore (_). Usually what people do is that to separate words in a filename or url they put underscore in it. For example if your page is concerted with “Search Engine Optimization” so instead of keeping the filename “search engine optimization.html” people make it like “search_engine_optimization.html”. This is a bad technique to use underscore. Google and other search engines prefer hyphens/dashes (-) instead. So your filename will appear like “search-engine-optimization.html”.

3. Title of the Page

Page Title? Are you Crazy? lolz yes! The title of the page is quite important part of search engine optimization. Your page titles must be very relevant to the content of your page. For instance your webpage is related to products of your company, say for instance, carpets. Your product line is for instance woolen carpets, handmade carpets, Australian and New Zealand wool carpets, machine made, etc.

I would also like to mention about the most common mistake of people here. What should be the title of the main homepage of the website? That is the must trickiest thing. I have seen many websites around the Internet with the same mistake that everyone make and people still are not stopping themselves from doing that mistake again and again. Your homepage must NOT have the title like:

  • Welcome to my website
  • Homepage
  • Welcome to Company Website
  • Homepage – Company

What the hell is this? How can a search engine know that your company is selling carpets. The homepage of the website is basically the index of everything that your website is all about. So your homepage’s title must show that what type of website it is.

My Company – Woolen Imported, New Zealand & Australian Woolen Handmade Carpets, New York USA

Oh you must be noticing that why I wrote New York USA in the title. This technique is called Geo localization of your website. As earlier mentioned that SEO is all about how others will search your website, so put yourself as a searcher and think. You live in New York, USA and you want to see the Australian woolen handmade carpets in new york. What will you search in the search engine? See! Now you got my point.

4. Meta Tags

I want you to have a very good look at this above image and see the header section of the source code. I have marked every relevant tag with separate color.

  1. Orange Marked – is the data type of the html version that I used in making my website. There are different types of html versions that you can follow. (You can learn more about them on
  2. Red Marked – is the title of the page.
  3. Green Marked – are the keywords and description meta tags, I’ll discuss about it here.
  4. Blue Marked – is another meta tag. With this meta tag we let the search engine crawler to know that what should it crawl. So in the current screenshot I allowed the search engine crawler to crawl all my web pages and follow all the links on my website.
  5. Brown Marked – is the meta tag to let the browsers and crawlers know that what text encoding i am using in this html document.

Description and Keyword meta tags are quite a debatable. Some say that Keywords meta tag is necessary some say they are not. Well what I personally see is that keywords meta tag technology WAS used years ago. After Google came into action, they changed a lot of techniques in searching algorithms. But still, in some cases and some search engines it is seen that they are either totally dependant on keywords or they have a mixture of the website content, title, URL and meta tags. So I prefer, that one must use meta tags as there is no harm in using them.

5. ALT and TITLE Tags

Yes! I know that like 95% of the people don’t even know that they have to use the ALT and TITLE tags. ALT tag is basically an alternative. We put that alternative text in there so that, if by any chance the image is not loading up, then the browser see that text which is written in the alt tag. It is used in the images tag like:

<img src=”images/new-zealand-carpet.jpg” width=”300? height=”200?alt=”New Zealand Carpet” />

Now you must have noticed two things in this above line. One that I mentioned in red color and the other one is in blue. Red colored part shows you how to use the alternative tag. The second blue part is also a very tricky part. A backslash before the tag ends! Just keep one thing in mind that, “Every tag that starts, also ends“. Just like you have an anchor tag <a href=””> then you close that tag with </a>. So there are some unary tags which don’t have a closing tag like </a>. So in those cases we close the tag right in the starting tag with (/) at the end. Another example of such tag is the break tag <br />

Now coming to the TITLE tag. Title sub-tag is used usually in the anchor tags. Following example shows the usage of title tag:

<a href=”australian-carpets.html” title=”Australian Carpets”>Australian Carpets</a>
This blow image shows what this title tag do!

So you see it actually creates this pop up tag when you mouse over any link.

That’s all for now folks! I hope you all will follow these little techniques while building up a website and will get a really good search engine optimized result of your websites in the search engines.

Please follow and like us:
About shk

shk is a DevOps engineer with more than 12 years of experience in different organizations. He enthusiastic about learning new technologies and shares his knowledge through his blogs.


  1. Doing some web surfing and noticed your blog appears a bit messed up in my K-meleon browser. But fortunately hardly anybody uses it anymore but you might want to check it out.

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.



Previous Post:
Next Post: