Bing Webmaster service is the basic tools that help you diagnose and track your site. Registration isfree.
Black hatBlack hat is a label used to describe the use of SEO techniques that are illegal,unethical, or of questionable propriety.
Bot (also known as Robot, Spider, or Crawler)A robot, or bot for short, is a software agent that indexes web pages. It is also calleda spider or crawler.
Canonical URLsCanonical URLs are URLs that have been standardized into a consistent form. Forthe search engines, this typically implies making sure all your...
pass information from page to page-best seo
PMA00:31
Adding information to the URL: You can add certain information to the
end of the URL of the new page, and PHP puts the information into builtin
arrays that you can use in the new page. This method is most appropriate
when you need to pass only a small amount of information.
1. Storing information via cookies: You can store cookies — small
amounts of information containing variable=value pairs — on the
user’s computer. After the cookie is stored, you can get it from any
Web page. However, users can refuse to accept cookies. Therefore, this
method...
Drupal-Optimizations
PMA03:34
While most optimizations to Drupal are done within other layers of the software stack, there are a fewbuttons and levers within Drupal itself that yield significant performance gains.
Page CachingSometimes it’s the easy things that are overlooked, which is why they’re worth mentioning again. Drupalhas a built-in way to reduce the load on the database by storing and sending compressed cached pagesrequested by anonymous users. By enabling the cache, you are effectively reducing pages to a singledatabase query rather than the many queries that might...
Dedicated Servers vs. Virtual Servers
PMA03:32
Dedicated physical servers are going to outperform virtual servers when it comes to network I/O, diskI/O, and memory I/O, even in situations where the virtual server supposedly has been allocated moreresources (CPU, disk, and memory) than a dedicated server of similar specs. An important factor toconsider is that in a virtualized server environment, the CPU, disk I/O, memory I/O, and network I/Ohave added I/O routing layers between the server OS and the actual hardware. And, therefore, all I/Ooperations are subject to task scheduling whims of...
Apache Pool Size
PMA03:31
When using Apache prefork, you want to size your Apache child process pool to avoid process poolchurning. In other words, when the Apache server starts, you want to immediately prefork a large pool ofApache processes (as many as your web server memory can support) and have that entire pool of childprocesses present and waiting for requests, even if they are idle most of the time, rather than constantlyincurring the performance overhead of killing and re-spawning Apache child processes in response tothe traffic level of the moment.Here are example...
Moving Directives from .htaccess to httpd.conf
PMA03:30
Drupal ships with two .htaccess files: one is at the Drupal root, and the other is automatically generatedafter you create your directory to store uploaded files and visit Configuration -> File system to tell Drupalwhere the directory is. Any .htaccess files are searched for, read, and parsed on every request. Incontrast, httpd.conf is read only when Apache is started. Apache directives can live in either file. If youhave control of your own server, you should move the contents of the .htaccess files to the main Apacheconfiguration file (httpd.conf)...
Defining a Block
PMA03:26
Blocks are defined within modules by using hook_block_info(), and a module can implement multiple
blocks within this single hook. Once a block is defined, it will be shown on the block administration
page. Additionally, a site administrator can manually create custom blocks through the web interface. In
this section, we’ll mostly focus on programmatically creating blocks.
The following properties are defined within the columns of the block table:
bid: This is the unique ID of each block.
module: This column contains the name of the module that...
XML-RPC
PMA03:24
A remote procedure call is when one program asks another program to execute a function. XML-RPC is astandard for remote procedure calls where the call is encoded with XML and sent over HTTP. The XMLRPCprotocol was created by Dave Winer of UserLand Software in collaboration with Microsoft (seewww.xmlrpc.com/spec). It’s specifically targeted at distributed web-based systems talking to each other,as when one Drupal site asks another Drupal site for some information.There are two players when XML-RPC happens. One is the site from which the request...
Drupal Bootstrap Process
PMA03:22
Drupal Bootstrap Process?
Drupal bootstraps itself on every request by going through a series of bootstrap phases. These phases aredefined in bootstrap.inc and proceed.
Configuration Sets global variables used throughout the bootstrap process.Database Initializes the database system and registers autoload functions.Variables Loads system variables and all enabled bootstrap modules.Session Initializes session handling.Page Header Invokes hook_boot(), initializes the locking system, and sends the default HTTPheaders.Language Initializes all the...
Requiring Cookies
PMA02:53
If the browser doesn’t accept cookies, a session cannot be established because the PHP directive
sessions_use_only_cookies has been set to 1 and the alternative (passing the PHPSESSID in the query
string of the URL) has been disabled by setting sessions.use_trans_sid to 0. This is a best practice, as
recommended by Zend see http://php.net/session.configuration:
URL-based session management has additional security risks compared to cookiebased
session management. Users may send a URL that contains an active session ID
to their friends by e-mail...