Code

You are currently browsing the archive for the Code category.

Grab the updated plugin forĀ  Google XML Sitemaps by Arne version 3.3.3, which now allows you to include non-WordPress pages on your site to be part of the sitemap for your web site. This is a great addition to the update, previously i had to hard code in pages that where not part of the WordPress infrastructure and each time you changed WordPress content you had to redo the sitemap again.

For a refresh on the previous post on Sitemaps check it out here.

Once in the plug in settings, go to the ‘additional pages’ section and add in your non WordPress URL and select a change frequency time,one last note is that if your blog is not your root directory but something like http://myurl.com/blog/ then once the sitemap is built in the blog directory you need to moved it up to the root directory.

sitemap-wordpress-plugin

sitemap-wordpress-plugin

Tags:

What IP belongs to me?

Not too sure of your external, public IP address?, can’t find it in the system or in the router…..

http://checkmyip.com/

Tags:

Flushing the DNS cache

When you have the propagation blues:

MS = C:\>ipconfig /flushdns

Linux = /etc/init.d/nscd restart

OSX Leopard + = dscacheutil -flushcache

OSX Leopard – = lookupd -flushcache

Tags: ,

So just about to publish that site and say hello to the world?

Just say hello to the validator first in case, there is something glaringly obvious that needs a tune up…

Get validated!

Tags: ,

There are some meta tags that are still important, well to some anyway, these are looked at by the crawlers and have a big impact on search engine results. When you address these tags you are starting the first steps to SEO your site.

The tags are Page Title and Description and these should sit right at the top of your html page, the Keywords tag follows and should be in there at least for convention sake. See the post earlier for some information on the keyword tag.

Read the rest of this entry »

Tags: , , , , ,

I used to think maintaining a sitemap was a royal pain before you could do it automatically with a range of tools. Sitemaps can have a visual html appearance so your visitors can get an overall look of your site and click through to the pages from there. But more importantly they are needed to help the search engines do their job properly of finding your pages and sticking you in their index.
Read the rest of this entry »

Tags: , , ,