Computer And Internet, Personal, Tips & Trick

This articles inspired to share from my experience when I need to created custom sitemap in XML format for some of my website. Basically we will using PHP to generated URL following the sitemap in XML format. Why should in XML format? because mostly a great search engine using sitemap with XML format as their standard.

So we will using PHP script to generated URL (others will follows standard XML format). Example we have site using PHP and MYSQL we will need to query data from MYSQL and then echo it as URL. The problem is because not all website using same structure I can not give you working scripts to generate sitemap as the result may not working for your site.

The good news, because mostly all website using same method (ex, PHP+mysql blabla) we can use same method to generated sitemap. First we need to make sure the first tag should be like this…

On the second line here comes your job to generated your site URL to listed. The last thing just the closing tag. If you meet problems just read the protocols for sitemap XML standard from here. Learn about each tag function and implement it as needed.

Next step, after we have PHP script that works to generated sitemap we need to make it looks like static sitemap. This trick can be done from your .htacess file by rewrite sitemap.php to become sitemap.xml, Just put this line on your .htacess file (if you don’t have it created one).

RewriteEngine on
RewriteRule ^sitemap.xml$ sitemap.php [L]

Done, it will rewrite sitemap.php to become sitemap.xml and looks like static sitemap. Next step, This sitemap will shown as XML in internet explorer but not in mozilla firefox so we need to declare it as XML. Just put this code on the first line..

header(“Content-Type: text/xml; charset=utf-8″)

Next, If you have more than 5,000 URL you can generated it and saved each sitemap and giving parent sitemap.

The result will shown like this sample:

In this sample I’m using PHP function to read folder and files because basically my site using folder and files to generated links. In another sample I’m using mysql query to generated my sitemap.

If yours company need someone to making scripts like this I can do it for $100 – $10,000 deppend on how hard to coding it. That’s my share for today, sorry for not blogging over a month. I promised will write more in the future.

Have a nice day :)

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Miscellaneous, Tips & Trick

Having automatic renewed sitemap like google sitemap plugins for wordpress is really needed when you want to get indexed faster on top 5 search engine. Anyway if you’re not using wordpress CMS then how to build your sitemap manually? Lucky you, there is a lot free sitemap generator out there. Small sites are easy and fast to generated sitemap in just minutes, but how if the situation is your sites big and…. said it have at least 1,000 static URL inside it. You will get crazy on waiting sitemap generator working for it and of course the problem will coming back again when you want to renew your big sites sitemap.

Wasting time and of course it will make you bored managed it. Anyway I just found out the beta google sitemap generator working on my VPS machine.  If you’re on shared hosting sorry this might not used unless your hosting provider want to help you. Now every time I updated my sites it’s will automatically renewed my sitemap without needed to work on it manually again. Just update the content and let sitemap generator created and submitted my sitemap to search engine automatically.

There is 2 beta version for google sitemap generator for windows and linux, In this article I will write for linux version only, because I didn’t try windows version.

Requirements:

  • Operating system. Google Sitemap Generator has been tested with the following types of Linux systems:
    • CentOS 4.6 (I run on CentOS 5 it has no problem at all)
    • Fedora 7
    • Debian etch r0
    • Mandriva 2007
    • Red Hat Enterprise Linux 3 (32 bit or 64 bit)
    • Red Hat Enterprise Linux 4 (32 bit or 64 bit)
    • SUSE Linux Enterprise Server 10.0 (32 bit or 64 bit)
    • Ubuntu 6.10 (32 bit or 64 bit)
  • Web server. Google Sitemap Generator has been tested with Apache web server versions 1.3, 2.0, and 2.2.
  • Disk space. You’ll need between 100MB and 1GB of free disk space; the number of unique URLs on your website determines the actual disk space needed. One million URLs require approximately 1GB of disk space.
  • Web server access. You’ll need administrative access to the web server.

Setup Your google Sitemap Generator:

Open this download list and downloaded files you need. Then following installation guide here just following it if you meet problem (usually in the last step I meet problem too but I fixed it) just try another package, if it still failed then you might try to install it with command option (look on number 3), Lastly if all fails the try to communicate in their groups and asking about your problem.

Once installation completed you have to setting your server SSL (for remote only, not needed if you managed it from local) then setting your port, normally 8181 but for security you might need to changed it, the restart your web server.

Configure/Manage Your google Sitemap Generator:

Just open http://<yourwebiphere>:<yourporthere> (local) or https://<yourwebiphere>:<yourporthere> (remote)

You will see something like this

ist-sitemap-1

Then just configure it, if you meet problem take a look on here. Now after you configure it just sit back and waiting the result if it not fit your need then must be there something wrong on your configuration, fix it then sit back again.

Done, Have a nice day! :D

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Miscellaneous, Personal, Tips & Trick

Hello everyone :) this is another good SEO plugins for 4images gallery systems. This sitemap generator can help your visitor or any SE bot found out detailed about your website. This can help you raise your pagerank and also in same time helping your page got indexed in Search Engine. I have tested this plugin on my wallpapers site www.innovativedesktop.com using 4images v1.7.4 and it’s working pretty good without any bug.

seo-sitemap.jpg

First, what you need for this plugin? You need to download this package first. Extract it then upload it into your hosting (default template name should be changed with your own template name)

Alright now we ready for installation:

1. Open includes/page_header.php

Find:

"media_url" => MEDIA_PATH,

Insert bellow:

Read More »

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Miscellaneous, Tips & Trick

Necessary or not necessary the answer is it NECESSARY!! Sitemap will not hurt you back? Why you’re not learn to optimize your SEO through sitemap. Learn from case, why visitor not come to your website? because your website is not visible!, Visible in here mean your website is hard to found by visitor who’s looking any information they needed. Through sitemap your website will got indexed and every time people search using specific keyword your website will showing in result.. that was I mean VISIBLE!

Take a look on my case on site www.ahuuy.com
seo.JPG

Look how my website can showing on position 3 using keywords “flash online games” (more data can be found through google webmaster tools about keyword and website position on each unique keyword) it’s have lot of factor in result from your website title, your domain name, your meta keyword, and last from your meta description.

I will not write about it right now.. but I will writing about sitemap now. Did you know first time my website not indexed already by TOP 5 search engine my traffic has never blow up. Until I submit my sitemap to TOP 5 search engine until today I satisfied with traffic result. XML sitemap is the standard for google,yahoo,live/MSN,ask and maybe other search engine.

If you want to blow up your traffic you can build your own sitemap. There is lot of free sitemap generator you can found… for reference I personally recommended you to look on this list http://code.google.com/sm_thirdparty.html for wordpress you can use this nice plugins http://www.arnebrachhold.de/redir/sitemap-home/ once you create it submit to google webmaster tool, yahoo site explorer, live webmaster tool, and ping some search engine to started crawler your website. Wait 1-2 month and see how your traffic can blow up. You can use google analytic to analyze your traffic.

Good luck :D

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS