hanya seorang newbe

Archive for the ‘wordpres seo’ Category

WordPress 3.1 database unstable – category disappears

a view days ago, i just find something weird in my blog. after upgrading from wordpress version 3.0.5 to 3.1, all Category disappear for no apparent reason. more surprising thing, sometimes it appears to Category suddenly and disappear again, and so on. and I concluded that WordPress 3.1 database structure is unstable.
until this moment I am still seeking how to restore to its original state. because after the upgrade to version 3.1.1 did not solve the problem.

several way for avoid duplicate content

duplicate content could disturb with the seo performance of our blog. then how do I fix this? we must see how duplicate content can occur on a blog. Duplicate content occurs when 2 or more urls in the blog we refer to something similar. both in the title, meta description, etc.

so, to minimize duplicate content, we can use several techniques. I know there are a few ways, as follows:

  1. The first way is to use the canonical link on our blog. if we use the wordpress engine, has lots of plugins that implement the canonical link, such as allinone seo, seo no duplicate etc. canonical link aims to give direct instructions to the robots to avoid confusion in to our web crawl.
  2. The next way is to modify the title, meta description, etc. on our blog. so it is not detected as duplicate content.

in essence, robots like little children who need to be directed properly. good direction that is favored robots so that they can properly index our blog. avoid duplicate content and enjoy blogging.

What is a WebHook and how to implementing

What is a WebHook?

The concept of a WebHook is simple. A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST.

A web application implementing WebHooks will POST a message to a URL when certain things happen. When a web application enables users to register their own URLs, the users can then extend, customize, and integrate that application with their own custom extensions or even with other applications around the web. For the user, WebHooks are a way to receive valuable information when it happens, rather than continually polling for that data and receiving nothing valuable most of the time. WebHooks have enormous potential and are limited only by your imagination! (No, it can’t wash the dishes. Yet.)

WebHooks are meant to do something. To get your imagination spinning with your own ideas, here are the three general ways in which WebHooks can be used to make your web more programmable:

Push: receiving data in real time

Push is the simplest of reasons to use WebHooks. As was just stated above, no more polling every couple of minutes to find out if there is new information. Just register a WebHook and receive the data at your doorstep as soon as it exists. It’s less work, less hassle, and you’ll probably even receive it sooner than if you were asking for it every couple of minutes.

Pipes: receiving data and passing it on

A Pipe happens when your WebHook not only receives real-time data, but goes on to do something new and meaningful with it, triggering actions unrelated to the original event. For example, you create a script, register its URL at a photo site, and have it email you when your mother posts a new photo. Or make a script that creates a Twitter message, and have it triggered by a WebHook whenever you add a new product on your commerce website.


Plugins: processing data and giving something in return

This is where the entire web becomes a programming platform. You can use this form of WebHooks to allow others to extend your application. Facebook’s Application Platform uses WebHooks in this way, and so does Google Wave’s robot integration. The general idea is that a web application sending out data via WebHooks will also use the response to modify its own data. At Facebook, when you access an app, Facebook sends a WebHook out to your application saying “Hey, someone’s accessing your application, what do I do?!” The application responds with, “Show the user this page…” Facebook does so, and the pattern continues in the same manner as you continue to use the application. At Google Wave, when you do something in a wave, any robot you’ve added as a participant is notified via a WebHook, and the robot has the ability to modify the wave in its http response. Implement WebHooks in this way in your application if you want to allow others to truly extend and enhance the abilities of your application.


How do they work?

By letting the user specify a URL for various events, the application will POST data to those URLs when the events occur. With the cheap availability of PHP hosting and even easier simple app/script hosting like AppJet or Scriptlets, handling the POST data becomes fairly trivial. How you use it is up to you and whatever you want to accomplish. Among other things, you can:

* create notifications to you or anybody via email, IRC, Jabber, …
* put the data in another app (real-time data synchronization)
* process the data and repost it using the app’s API
* validate the data and potentially prevent it from being used by the app


Why should I care?

As integrated as we perceive the web, most web applications today operate in silos. With the rise of API’s we’ve seen mashups and some degree of integration between applications. However, we have not seen the vision of the programmable web: a web where you as the user can “pipe” data between apps much like the Unix command line. Some say RSS is the answer. They are wrong. The heart is in the right place, but the implementation is wrong. RSS is still useful, but it is not going to bring us the true programmable web.

We just need a simple way to get data out in real-time to let the user easily do whatever they want with it. That means no polling, no content constraints, and no XML parsing. That means no RSS. Using HTTP is simpler and easier to use. PHP is a very popular and accessible programming environment, so it’s likely to be used often for writing hooklets… getting data from a web POST in PHP is as simple as $_POST[‘something’]. And making the request to the user script is as simple as making an HTTP request, something already built-in to most programming environments. In fact, web hooks are easier to implement than an API.

However implemented (although the easier the more likely it will be adopted), having an output for the web will complement the input provided by the rising adoption of API’s. When you have both input and output, you have everything you need for apps to easily interact. This will encourage smaller, more focused apps that together with hook-enabled heavier apps will let amazing emergent creations happen!

How do I implement WebHooks?

Simply provide your users with the ability to submit their own URL, and POST to that URL when something happens. It’s that simple. There are no specs you have to follow.

Cara Aman Setting Plugin WP Super Cache mudah ter index spyder

Bingung setting wp super cache agar tidak mengganggu spyder yang akan meng crawl web kita? permasalahan ini sudah saya temui sejak mulai menekuni perguruan perbloggingan.:D heheh gak dink,

mau tau tips nya??

nie..

Caching of your wordpress files is very important to reduce the server and database load, especially in shared hosting scenarios. WP-Supercache, the next generation of WP-Cache is a powerful wordpress caching plugin.

WP-Cache 2 is a popular plugin that caches the pages of your WordPress blog and delivers them without accessing the database, but it still means loading the PHP engine to serve the cached files; WP Super Cache gets around that by generating html files that are served without invoking a single line of PHP!

WP-Cache had problems working on this blog and always ended up bringing the site down. After this site overloaded servers, I had to try installing WP-supercache to see if might work. The installation and activation went without a hitch, the blog was loading fine, but no pages were being cached!

WordPress Super Cache Not Working?

I looked up the Troubleshooting page and here is the checklist.

  1. Is wp-content writable by the web server?
    Yes. Looked for file permissions. All OK
  2. Is there a wp-content/wp-cache-config.php ?
    I deleted it earlier as preinstallation task (earlier installed by WP-cache). This was created there when plugin activated.
  3. Is there a wp-content/advanced-cache.php ?
    I was unable to delete this linked file via FTP as a preinstallation task (earlier installed by WP-cache). But it was still there.
  4. Make sure the following line is in wp-config.php define( 'WP_CACHE', true );
    This entry was deleted from wp-config.php as a preinstallation task (earlier installed by WP-cache) and now it was recreated back in the same place.
  5. Try the Options->WP Super Cache page again and enable cache.
    Done. OK. But the status is still same.
  6. Look in wp-content/cache/supercache/…
    Something wrong. No files there. No folder there.
  7. Anything in your php error_log?
    No.
  8. If your browser keeps asking you to save the file…
    Well Super Cache compression was disabled by default in the options and browser asked nothing.
  9. The plugin does not work when PHP’s safe mode is active.
    Ok. No problems.
  10. Your blog can be viewed with and without the “www” prefix.
    Blog set to view as www. No problem there.

Fix WP-Super-Cache Problems

Then I went about checking and here are the few tips that worked for me, and might work for you too.

1. No Supercache Folder – In #6 supercache folder was missing, so I had to manually create the folder as it was not there. I used FTP to login to my server using Filezilla and created wp-content/cache/supercache/. But still not working.

2. Change Settings – I tried working in HALF ON (Super Cache Disabled) mode, Super Cache Compression on and off mode, checked the .htaccess files for correct mod_rewrite rules (important to check!), but nothing worked.

2. Deleting advanced-cache.php. Then I realized that in #3, I was unable to delete advanced-cache.php. Though I believed the installation had rewritten on the linked file, it might have not.

The ealier wp-cache file was linked to wp-cache/wp-cache-phase1.php
but the supercache file should link to wp-super-cache/wp-cache-phase1.php

I thought this was the problem. But I was unable to delete it via FTP. So I used my newly acquired SSH skills and use PuTTY to get in and delete the file.
cd wp-content
rm advanced-cache.php

and the file was finally deleted. Disable and Activate the plugin, it generated a new advanced-cache.php with the new shortcut. I could have also tried
ln -s plugins/wp-super-cache/wp-cache-phase1.php advanced-cache.php

Guess what…. it started to work!!!

If that does not help you, look up the wordpress forums for more support.

ato ksini aja original article