Sitemaps are like a roadmap of your site for searchengines. It is an XML file that contain all the information a search engine needs to crawl your site. Creating one can be problematic but there are a large number of vendors that will provide the service for free.
I use and recommend gsitecrawler.com. Go to their site and download the software and install on your computer. Enter the URL of the site you want to generate a sitemap for and gsitecrawler will follow every link on you site. You also have the option of automatically uploading the sitemap to your site. The sitemap, once generated, is placed in a nominated directory on your computer ready for uploading.
Upload the site map to the top level folder of your site i.e. http://www.yourdomain.com/sitemap.xml and inform the search engines where it is. There are a number of ways to do this. You could add a line to to your robots.txt file like this - sitemap: http://www.yourdomain.com/sitemap.xml This will inform the search engines where your sitemap is.
Another way is to inform the search engines directly by pinging them.Here are the addresses:
Here is a great php tip for those who want to load a different image into your header every time the page loads. For example, you may have a folder of images that you want to rotate in your header or any element of your site for that matter. Here’s how to do it.
Place all your images in a folder and name them something like this:
pics/image1.jpg
pics/image2.jpg
pics/image3.jpg
Use the php rand() function to give your header an random id.
<div id="header<?php echo rand(1,3); ?>">
<!-- header content here --></div>
The rand function in the code above returns a random number between 1 and 3 which is what we want. So every time the page is loaded, we get an id of either header1, header2 or header3. In you CSS you can now markup like this.
We all know how important it is to get good rankings on Google and Yahoo. No matter whether you want to outsource your SEO or do it yourself, it is essential to know what not to do as well as what to do. So, without further adieu, here are the most common SEO mistakes that you must avoid at all times.
Link Spamming
This is poison for your site. OK, you’ll have thousands of links, but not quality links. Google loves links if they are authoritative but will penalise you if you have loads of crap pointing to your site. Forget the business of getting thousands of links to your site. Spend your time instead enhancing your site and you will be much better off in the long run.
All designers love experimenting with new textures and backgrounds. They are one of the first things visitors see when they go to your site so it’s always vital to have designs that won’t scare them away before they get to the content of your site. If your devoid of some backgrounds or textures, there are some great tutorials to get you going.
Something I found surprisingly difficult to find on the net is how to add custom 404 pages to your main and sub domains. A lot of people are scared of customising their pages due to the complicated nature of regular expression matching and .htaccess files.
So, what are 404 pages? If you try to browse to a non-existent page, this will cause a 404 error on the server and you will be directed to a 404 page. The problem arises for some when the server redirects your visitor to a 404 page they want to see rather than the one that you want. Take a look at a hostgator 404 page:
Not pretty, is it? This is a clever way for hostgator to make money on your sites and even direct traffic away from your site. Read on to see how to create your own custom 404 page and keep visitors at your site.
If you haven’t heard, google has been updating their indexing of websites lately. This does not affect the page rank of your site, but it is having a drastic effect on some unsuspecting sites traffic. Many sites are experiencing a free fall in their rankings to a point where their business’ are been wiped out.
Google does this if believes that a site has been naughty in it’s marketing techniques. It is not just spam sites that google now targets, but any site could become victim of the google curse.
How do you know if your site is a victim of this latest round of blood-letting? Check your index stats in the google search engine “site:yoursite.com”, and do a search for your targeted keywords in google. If you find a dramatic drop in your rankings or index pages, then the almighty google has purged your site.
This seems to be happening to the most unsuspecting sites. I have heard from Eamonn, the webmaster of telcojobs.eu, that overnight all his marketing efforts since he started the site have been for nought. “I noticed my traffic was way down this morning, but when I checked my keywords, they were nowhere to be seen!” said Eamon. “I’ve been working solid with article marketing for 6 months and now it’s down the tubes”.
It is the sort of news that makes a webmasters’ blood run cold or wake you in the night in a screaming cold sweat. I suppose the moral of the story here is never entrust you websites success in the hands of the google gods. Always look for diverse traffic from many different sources like banner ads, social networking and the other search engines like MSN and yahoo.
So, what do you do if your site is slammed by google? Well, you might have to bite your tongue and follow googles own guidelines.
Determine whether your site is still in our index - site:www.yoursite.com Verify your site ranks for your domain name - if it ranks poorly in the results, then google probably has penalised you. if this is the case, then you will be sent an explaination to the Message Center area in your webmaster tools, if you have set one up. Request Reconsideration - This will allow to post a rant directly to google, but your probably better off banging your head off a brick wall as it can take many weeks for google to respond. And don’t expect the gods to lift their curse.
jQuery is a very impressive way to add a touch of professionalism to your site and has really taken off with the advent of the Web 2.0 bandwagon. Here, I’ll show you how to add Collapsible Divs to your site AND to your wordpress blog.
Have a look at the Collapsible jQuery Example for wordpress we are going to use here.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam dictum diam in nisl. Nunc eu metus quis turpis elementum euismod. Maecenas ut est id nunc gravida volutpat. Fusce sit amet urna nec erat elementum viverra. Aliquam urna sem, accumsan in, vulputate at, egestas eu, felis.Ut risus.
Aliquam non magna fringilla justo varius scelerisque. Nam consectetuer lectus et urna. Cras a ligula elementum quam vulputate fringilla. Vestibulum lorem. Nulla neque sem, dictum a, fermentum in, suscipit at, nunc. Vestibulum vitae tortor in risus facilisis iaculis.
Nulla elit nisl, tempus vitae, pulvinar eget, consectetuer eget, enim. Nam condimentum. Nullam euismod, magna non posuere tristique, magna lorem hendrerit risus, a scelerisque quam enim quis quam. Sed id enim. Aenean eget orci.
I love this design. It’s bright and really draws you in. Even the ‘New’ logo has a hypnotic feel about it. The home page brings you tothe middle of the page, with the sky and moon above and the deep sea below.
Click on the octopus and umbrella at the bottom of the page!