SZ WEB LOG

031115 kdi
Reduce page load to 3s! by eliminate fb like on footer and remove latest hot cars links with picture in sidebar.

image

021115 zc
Reduce spam and bandwidth by blacklist ip, connect cloudflare, install anti spam captcha and akismet. Success!
image

081115 zc
Block moldova via cloudflare

image
25062016
Netonboard server : 90% 4gb ram, 50% 6 cpu core, 100gb space, 2mbps
= max 60gb bwith on server & total 200gb bwith on cloudflare

How To Change Your Password In PHPMYADMIN Database – WordPress – The Easiest Way!

How To Change Your Password In phpmyadmin Database – WordPress – The Easiest Way!

Here is the most easy way to reset or change your password in the database! You dont have to encrypt the data etc. Just change your password in the database and ask for new password in login panel. Specially if someone have change the email value or you have forgotten your email or username.

First, login to your cpanel, click the phpmyadmin and search your web database. Click the database and browse wp-users.

How To Change Your Password In PHPMYADMIN Database - WordPress - The Easiest Way!

Click the pencil logo at the admin row to edit your data for admin user.

How To Change Your Password In PHPMYADMIN Database - WordPress - The Easiest Way!

Change the value of your email if you have forgotten your email address.

How To Change Your Password In PHPMYADMIN Database - WordPress - The Easiest Way!

Go to yourweb.com/wp-login.php > click lost your password? and enter your username and email.

Wait for the email and follow the instruction.

Login to yourweb.com/wp-admin and go to user tab. Edit your new password and done!

Problem When Installing WordPress In Your Local Server (PC)

PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 233472 bytes) in /var/httpdocs/blog/wp-admin/includes/schema.php on line 103

Ok, maybe this error occured when installing your wordpress website in your own PC as a server by using whether xampp or wamp.

Dont panic! There is a simple solution. You can see the error in “schema.php” but actually you need to edit it in “wp-admin/install.php”

There is a solution provided by another blogger but unfortunately many of us confused with the script written there and when you copy, you cannot fix the problem. Just because of the curly ( ‘ )

Just add this script after “<?php” in install.php file :

you must download and view this script in notepad file here and paste it in your install.php file

For example:

<?php ini_set(‘memory_limit’,’32M’);
define(‘WP_INSTALLING’, true);

Now you are done!

Happy installing!

_WebTips by Shufi

Web suffering very high bandwidth in a month! Time to put your signature

Waaa!!! Web kereta.info has nearly reaching its max bandwidth of 50 Gigabyte bandwidth on September 2008! Within first 5 days, the bandwidth already reach 5 Gig. If we calculate in a month basis, it will strike to 30 Gig at the end of the month! Oh.. Plus other high traffic web under my server, i think i Need to really get the dedicated server already. Hope that this site will not suspended because of over bandwidth.

What is the cause of over bandwith?

The main important cause of it is very high traffic and visitor visits on your website. But, some other unwanted bandwidth usage is from image fishing activity. Image fishing activity happened when there is somebody posts any of your image source from your web in another website that load the image directly from your web.

This guy really appreciate what you have done with your articles on your web and found that your picture is usefull. So, they decide to just copy the image url and post the image somewhere on the internet. Everytime the other web load the image directly from your web, at the same time, they use your bandwidth too much as the file transfer from your web to the other web also count as a bandwidth.

So, to take advantage of this unwanted cause of very high bandwidth, you can put a signature on every single picture on your web. Or, if you found that the web are using too much of your bandwidth, you can directly delete the image from your web server.

For KDI web, many of our pic are widely spread on the internet. Luckily we put some cute signature there. =)

Picture shows first 5 days bandwidth of my web kereta.info under mylisis.com server

How to unwrap and remove lines of your text or code? Love Notepad++!

How to unwrap and remove lines of your text or code?

This one what i love so much! When you can wrap and unwrap your wrapped text or code easily!

In the hard situation of editing my customer’s website, one of the private education in malaysia, I need to edit all the wrapped documents and it gives me a very hard moment. Now, it is soooooo easy coz i dont have to do it manually.

At first, i found the unwrap 1.7 software that cost USD19 to use it. Ah.. No way. I must search for the free one. I dont wanna crack that software anyway. So i found the “notepad++”. The far better than microsoft notepad. I dont wanna use a plugin in firefox coz i really dont like the firefox because of it’s too much ram and processor consuming than the avant browser.

So i use this notepad++ happily now..=) Peace..

Download your free notepad++ below:

http://www.download.com/Notepad-/3000-2352_4-10327521.html?cdlPid=10800351

How to create Favicon on your website tab and url

Ya haloo..

Hari ini saya nak share bagaimana nak buat favicon.ico image file untuk display pada laman web anda di bahagian url link dan tab window anda.

Apa tu favicon yer? ha.. nampak tak bila anda bukak web saya ni, ada si comel kucing kecik di sebelah url web saya dalam intrenet browser anda? pastu ada dekat tab window sebelah title web saya ni.. olo tomey2.. tomeynye kucing tu..

Caranya sangat mudah, pergi ke laman web ni:

http://www.html-kit.com/favicon/

buat satu gambar berbentuk square (segiempat sama) dan upload sahaja gambar tu ke laman web di atas dengan tekan butang browse.

Anda bukan sahaja boleh buat icon statik, malah boleh buat die bergerak lagi. Best kan?

Lepas tu, ikut arahan ni:

You can add a favicon to your web page by uploading favicon.ico to your
    website and inserting the following HTML tag inside the <head> … </head>
    section of your web page.

      <link rel=”shortcut icon” href=”favicon.ico” >

Haa..tada..kejap je dah siap kn.. kalo yang guna theme wordpress tu, masukkan script tu dalam header.php di bawah <head> ok?

Selamat mencuba! =)

How to create Favicon on your website tab and url

Berlagak sangat ke saya ni? -Tips index file untuk anda

Wow.. ada orang cakap saya belagak ke? haha.. Setakat 4000 visitor/month kat blog saya ni saya ckp nk blagak? What the.. Kalo cakap pasal web paultan yang dah ranking 185 dalam Malaysia or malaysia kini yang dah dapat top 13 dalam malaysia ataupun laman web utusan malaysia yang top18 dari segi traffic tu xpela nak belagak. Ni web KDI yang baru cecah 1600 visitor per day tu cam xde benda je nak banding ngan web2 bsar..

So kat sini saya xnak pembaca blog ni salah faham. Siapa yang nak salah faham, hentikan membaca blog saya. APA YANG SAYA CERITAKAN DI SINI HANYALAH UNTUK BERKONGSI “MY EXCITEMENT”. Bukan untuk belagak ke apa. Dah nama web ni pun “its about me, me and my excited journey”.. Aiyoo.. Amma.. Acha Saptriasa.. =)

Hu2.. Sapa yang x knal saya tu mungkin la selalu cakap saya berlagak. Tapi sape yang kenal saya tu die tau saya ni kuat bergurau n slalu epy..muahaha.. X suke orang keliling sedey.. wink!

Hmm.. Arini, sebabkan saya “belagak” sangat, saya kuar makan ngan family saya belanja dorang makan McD. Anak mana yang x happy tgk orang tua die happy. Mak saya cakap, ni 1st time dalam hidup die dapat makan McDonald.. Uh! Saya x tau pasal tu. Sebab selalu dia makan KFC. Tibe2 rase terharu. Saya memang selalu ada duit lebey blanja family makan macam2. Kalini saja nak bagi dorang rase ayam goreng McD tu. Sebab sedap sangat.

I’m Lovin It! huhu.. Kat sini nak promote ayam goreng McD yang spicy sahaja yer.. Lagi sedap dari ayam KFC. Sebab ayam KFC cepat muak. Ayam McD die punya pedas meresap ke tulang tu.. haha. Saya n kawan2 skang slalu sgt gi mkn McD. Rase2 cam kebulur je.. “Jom McD!” haha!. Ape nak jadila. Baru kurus cikit dah nak stat balik tabiat buruk nih.

Anak sedara saya tu bleh wat prangai lak. Dah janji ngan saya xnak wat perangai kat luar masa makan tadi, sekali die g tumpahkan air coke saya abih basah meja n baju die. Ish2.. Bijak2… Die saya belikan mainan sukela sampai xbleh dok diam. Pastu gi la refill air yang tumpah tu. Pastu sume tgk saya cam tkejut. “sejak bile bleh refill air?” hu2.. Ni pon ramai x tau. Kalo makan kat McD mana2 pon, skang ni dah bleh refill water unlimited. caranya mudah je. “kak, tolong refill eh.. kasi penuh..” sambil buat muka x bersalah. Saya pon xtau dulu. ha2.. Pastu nak wat perangai x senonoh agi, kalao nak amik sauce kat situ, mintak extra penutup cawan air coke tu. Pastu tekan je tempat isi sos tu sekuat hati dan banyak kali atas penutup yang besar tu. Lebih cepat dan nampak lebih tamak. kui2.. Jangan bg tau manager McD tau. Nanti xbleh wat tabiat effisien tu agi. haha

Ok dalam membebel ni, saya kasi satu tips lagi sebagai hadiah kepada anda membaca bebelan saya. Untuk buat laman web, contohnya dalam wordpress untuk customer xdapat tgk dulu sbelum siap, bleh ubah filename “index.php” kepada nama lain seperti “indexx.php” supaya bila orang taip domain name websaya.com ke apa dorang x jumpe laman web tu. Tapi jangan lupa gantikan dengan temporary page supaya nampak lebih professional.

Cara nak buat temporary page, pakai dreamweaver je senang. Tulis la “maaf, laman web dalam pembinaan” ke apa ke.. pastu save dengan nama “index.htm” . pastu transfer ke server atau webhosting anda under www folder.

Nanti bila try bukak websaya.com kuar la file index.htm tu.. Tapi dalam masa yang sama boleh akses web yang anda sedang buat tu dengan url camni “websaya.com/indexx.php” . Tapi ada prob lain pastu. Anda mungkin x nampak post anda. Jadi untuk nampakkan balik, tukar jela balik indexx.php jadi index.php dan buang file index.htm.

Kenapa kena guna index file ye? sebab semua server atau hosting menyasarkan nama file “index” sama ada dot htm/html/php/asp/xhtml etc utk laman utama secara automatik. Tu dah memang standard.

Renung2kan.. dan selamat beramal.. =)

What is Meta Tag? How to protect / hide meta tag?

Ok, kali ni saya nak share something mengenai meta tag. Penting ke meta tag ni? Ada orang cakap “ala..x payah la buang masa buat meta tag tah ape2 tu”. Biarkan mereka kerugian. Jika anda seorang yang concern bagaimana untuk mendapatkan ranking tertinggi dalam search engine, meta tag adalah satu komponen dalam skrip html / php / asp yang sangat penting. Di bawah saya kongsikan artikel untuk setiap meta tag dan bagaimana untuk protect meta tag:

=======================================================

Meta Tag InformationAbstract Meta Tag:

Definition: The abstract meta tags and description meta tags are very similar to each others, except that the abstract meta tag is much shorter. The abstract meta tag shuold often be only one short sentence, which would describe the whole web page.

Example: <META name=”abstract” content=”SAMPLE”>

Author Meta Tag:

Definition: The author meta tag is used to describe who created the web page. It is often used with both author’s name and email address.

Example: <META name=”author” content=”Smith, John, [email protected]“>

Copyright Meta Tag:

Definition: This tag may contain copyrights, trademarks, patents, and other information to protect your intellectual property. The copyright tag is usually not considered as a qualified copyright of a web page, and will not protect your site’s content. Consult your lawyer before using this tag.

Example: <META name=”copyright” content=”SAMPLE”>

Description Meta Tag:

Definition: The Meta Description tag is one of the most imporant tags of all the meta tags. It shuold describe your web page with around 25 words or less. Some search engines will use this tag and publish it in their search result pages, usually below the title of your site.

Example: <META name=”description” content=”SAMPLE”>

Designer Meta Tag:

Definition: This tag is used for pointing out the designer of the web page. The designer tag is not used by any of the big search engines.

Example: <META name=”designer” content=”SAMPLE”>

Distribution Meta Tag:

Definition: There are currently three types of distribution tags: Global (the entire internet), Local (for local distribution only) and IU – Internal Use (not for public distribution). This tag should not be used for restricting distribution. If you do not want to publish your page in search engines, use the robot.txt method.

Example: <META name=”distribution” content=”global”>

Expires Meta Tag:

Definition: The expires meta tag is used to defineing the expiration date and time for the web page. If your page will not be valid any longer, then use this tag.

Example: <META name=”expires” content=”Tue, 25 Jun 2002 15:42:12 GMT”>

Generator Meta Tag:

Definition: Used for defining the name and version of the tool which the web page was made with.

Example: <META name=”generator” content=”SAMPLE”>

Keyword Meta Tag:

Definition: Search engines that are supporting meta tags will often use the keywords tag to categorize your position in the search engine result pages. It is strongly suggested that you do not abuse this tag. Do not repeat same words multiple times and do not use unrelated keywords.

Example: <META name=”keywords” content=”keyword1, keyword2, keyword3″>

Language Meta Tag:

Definition: Search engines that index web pages based on language often read this tag to determine which languages are supported. Often used for non-english and multiple language sites.

Example: <META HTTP-EQUIV=”Content-Language” content=”EN”>>

Publisher Meta Tag:

Definition: Very similar to the meta generator tag.

Example: <META name=”publisher” content=”SAMPLE”>

Refresh Meta Tag:

Definition: This tag is used for refreshing a web page. A delay value in seconds can be added, which after the page will be redirected to the refresh URL. Do not use this tag. Most search engines will only index the redirected URL.

Example: <META http-equiv=”refresh” content=”X;URL=http://url.com”>
(X = Delay in seconds)

Revisit Meta Tag:

Definition: The revisit meta tag determines how often a search engine should revisit the web page for re-indexing. Use only if you plan to update your content on a regular basis.

Example: <META name=”Revisit-After” content=”X”>
(X = Revisit in X days)

Robots Meta Tag:

The robots meta tag is used to determine if a search engine robot should index your page. With this tag you can determine if you want your page to be indexed or not and the links to be followed or not. In general, you should use the robots.txt method to restrict robots from accessing your pages, since the robots.txt method is more widely used.

Supported Tags: index | noindex | follow | nofollow
Example: <META name=”robots” content=”index,follow”>

Subject Meta Tag:

Definition: The subject of a web page. This tag is also not used anymore by the big search engines.

Example: <META name=”subject” content=”SAMPLE”>

Title Meta Tag:

Definition: Similar to the <title> tag, but this tag isn’t used by search engines anymore.

Example: <META name=”title” content=”SAMPLE”>

There you have it. As you can see the major search engines of today don’t rely on Meta Tags as much as they did in years gone bye. Their algorithms have advanced to the point where they use other factors that can’t be manipulated as easily as Meta Tags can be. However it’s still good practice to use the major tags outlined above such as Description & Keywords to define what your document is all about. Also some of the smaller search engines still rely on Meta information heavily.

The Meta Description is very important as this is the snippet of text that displays in the Google search results. So always try and make your Description enticing to click on, as well as being descriptive about your pages content.

=====================================================

How to protect my meta tag?

Saya tak pasti sama ada menyorokkan meta tag adalah satu tindakan yang baik atau dapat memberi kesan buruk kepada ranking web. Banyak pendapat dan banyak cara yang memusykilkan saya. Jadi, bagi sesiapa yang tahu dan mempunyai maklumat tepat mengenai hiding meta tag silalah kongsikan di sini. Selalunya ramai yang sorokkan meta tag untuk protect meta keyword dan description laman web yang berada pada kedudukan tertinggi dalam search engine. Tapi tidak pasti skrip yang mana boleh dipercayai dan memberi ruang untuk spider crawl website dan pada masa sama disable view source kepada visitor.

Skrip berikut mungkin boleh dicuba untuk hide meta tag anda :

Meta Cloak

Protect your information and media from copyright violation! This script requires SSI. With the use of SSI you can render meta tags invisible to human users. Spiders, the robots that visit and index your web site, will not be effected.

How it works.

SSI is parsed by the server before being transmitted to the end user. By declaring the HTTP_USER_AGENT variable, the script tells the server to print the meta tags to the page only if the visitor is a spider or robot. Specifically, the server will print the tags if the client (browser) is not Internet Explorer, Netscape or Opera. After uploading to your server, remove one of the lines to test the script. For example, if you are using Internet Explorer, remove this line :

<!–#elif expr=”$Agent = /MSIE/” –>

then view the source code of the page you just uploaded. Put the line back in it’s place, upload the page, then view the source code again. You will notice that you can not see the Keyword and Description Meta tags. Still sceptical? Create a test page and visit the Meta Tag Analyzer. Need to hide other valuable source code? Contact us with your requirements. We can develop custom cloaking applications to suit your needs.

<meta name=”Cloak” content=”PerlScriptsJavaScripts.com Cloak On”>
<meta name=”copyright” content=”2001, PerlScriptsJavaScripts.com”>
<!–#set var=”Agent” value=”${HTTP_USER_AGENT}” –>
<!–#if expr=”$Agent = /en/” –>
<!–#elif expr=”$Agent = /MSIE/” –>
<!–#elif expr=”$Agent = /Opera/” –>
<!–#elif expr=”$Agent = /Netscape/” –>
<!–#else –>
<meta name=”Description” content=”Type your description here”>
<meta name=”Keywords” content=”add, your keywords, here”>
<!–#endif –>
Place the code in between your <head> and </head> tags. You must leave the “Cloak” and “Copyright” meta tags in place, as per our policies.

DON’T DO this things to optimize your web site!

Pop! Web kereta.info mengalami masalah keyword ranking tibe2 jatuh mendadak sebabkan beberapa setting yang dah tertukar. Cuak giler.. aduih… Tapi punca masalah dah dapat dikesan dan mau ambil masa jugak untuk recover balik dari kemalangan nih. Tapi adsense earning still maintain. dah 130USD. lambat sikit naik sebab masalah ni. Harap google dan yahoo cepat2 crawl KDI dan recover balik semua database dorang utk naikkan ranking KDI. Uh! pedih sekali. hu2.. dalam jalan2 kat tenet, tibe2 jumpe artikel ni yang saya rasa amat penting untuk anda yang nak optimize website. jadi, sila ambil perhatian dengan artikel ini:

There are many ways to attract traffic from search engines. Some methods go too far and are known as “search engine spamming,” “spamdexing” and “spammage.” Below you will find some common spamming techniques that search engines frown on.

Keyword Stuffing – Keyword Stuffing involves the repeated use of a word or phrase in an attempt to increase a page’s relevancy. For example, one might place the following at the bottom of a page:

sports equipment sports equipment sports equipment
sports equipment sports equipment sports equipment
sports equipment sports equipment sports equipment
sports equipment sports equipment sports equipment
sports equipment sports equipment sports equipment

Continue reading

Problem WordPress Sidebar dropped down settled!

Basically, if your sidebar dropped down or messed up in your theme, it is because the <div> and  </div> code problem in your php. And it usually occur when you put page break or “more tag” to put only your first few sentences on your front page and enable the visitor to click to read more info.

To make things easily, avoid putting the more tag just after the text. You must separate it with paragraph. After your text, press enter to give space and select “paragraph” format. Only then you put the “more tag”.

sidebar drop

I’ve settled down this error on my new client’s project just now. Thank god i’ve found this clue on http://en.forums.wordpress.com/topic.php?id=23374 . And i found my own solution on that just like above tips.