Blog is in the end an online diary which usually comes in the form of a website. Users can add postings from time to time. Blogs include photos, text etc. Blogs are in different templates, designs, background colors. You can make your own blog. There are websites like blogger.com which is owned by Google. It allows you to choose blog address and control your blog and post messages on to your bog. Other web users can subscribe to your blog and you can edit or control the comments. Blogs are in the form of personal diaries, new diaries, specific diaries some of them could be highly technical.
RSS (really simple syndication) is a style through which users can easily read your web feeds. With RSS Reader you can involuntarily download tales, news, log feeds to your desktop. For SEO, you can start to really get your blog postings subscribed by making information and appealing blogs. This will result in giving your information, links and site information out to the masses. Blogs are search engine friendly as they permanently contain the new content which is interlinked. Some successful blogs even come in the top of search engines on certain common searched keywords or terms with less effort as compared to websites. You can promote a site with a blog in an inexpensive way. Blogs are simple to maintain and update. It can be maintained by even those who do not have initial knowledge about making a webpage. Anyone can run a blog as it’s simple to update, edit text, add or remove links from pages. From SEO point of view blogs are straightforward, undemanding, and cost effectual way for achieving search engine ranking, online pointer and product or service sales. Blogs encourage repeat visits because they provide the fresh content. You can include links in blogs to make it standard from SEO point of view. You can feed blogs into other people RSS Feeders. In this way your blog becomes syndicated (subscribed to). Hundreds of people can subscribe to receive your blog when you publicize the URL of your blog feed of a well written and appealing blog. Thus people receive the blog postings written by you by clicking on the links into your website. In past it was trend of making personal homepages. But nowadays people are making their own personal blogs. Some blog interpret people personal thoughts, activities, and reactions. Some are in the form of a family news letter and some promote as their personal leisure activities. Other use is blog helps in building online communities of people with similar wellbeing. Blogs are also used as a news source in the form of online news papers. The major news agencies now have online news blogs of their own. Webmasters helps in providing webmasters count content to their sites. Blog becomes powerful source for SEO when it has keyword rich content and in imbedded links Thus Blogs provide feature search engine optimization. With the increase in the internet users there is increase in internet journals too. Most of these are in the form of blogs and now there are millions of blogs on the internet. And this figure is going to increase in the future. So the popularity of blogs is continuing to grow at a quicker pace. The reason for this is that blogs are gateway for visitors of a site to communicate and leave pointer to the publisher of the website.
Posts Tagged ‘Basic’
Whole Overview on Basic Concept of Blogs
Friday, January 22nd, 2010How to use mod_rewrite to simplify URL Rewriting in Apache – A basic guide to the mod_rewrite module
Thursday, December 31st, 2009URL Rewriting is the process of manipulating an URL or a link, which is send to a web server in such a way that the link is dynamically modified at the server to include bonus parameters and information along with a server initiated redirection. The web server performs all these manipulations on the glide so that the browser is kept out of the loop regarding the exchange made in URL and the redirection.
URL Rewriting can benefit your websites and web based applications by providing better security, better visibility or friendliness with Search Engines and helps in keeping the structure of the website more simple to maintain for future changes.
You can read about the theory and benefits of URL Rewriting from my Previous article, which can be accessed from here. In this article we will be taking a look at how we can implement URL Rewriting on an Apache based web server environment using the mod_rewrite module for Apache.
Mod_rewrite is one of the most favored modules for the Apache web server and there are many web developers and administrators who will vote this module as the best thing to happen on Apache. This module has a lot of tricks up its sleeve so that it can be called the Swiss Army Knife of all Apache Modules. Apart from providing simple URL Rewriting functionality for an Apache based website, this module arms the website with better URL protection, better search engine visibility, protection against bandwidth thieves by stopping hot between, hassle free restructuring possibilities and options to provide friendliest of URLs for the website users. This module due to its versatility and functionality can at times feel a bit daunting to master, but getting a through understanding of the basics can make you a master of the craft of URL Rewriting.
First and foremost you should have a properly configured Apache Web Server on your test apparatus. Mod_rewrite is usually installed along with the Apache server, but in case it is missing â?? this can be the case on a Linux apparatus where the mod_rewrite module was not compiled along with the installation â?? you will have to get it installed. For using mod_rewrite on your Apache box you will have to configure this module to load dynamically on demand made by Apache. On a mutual server you will have to contact your web hosting company to get this module installed and loaded on Apache.
On your local apparatus you can find if the module is installed along with Apache by having a look at the modules directory of Apache. Check for a file named mod_rewrite.so and if it is there then the module can be made to load in to the Apache server dynamically. By default this module is not loaded when Apache starts and you need to tell Apache to enable this module for dynamic loading by making changes in the web servers configuration file, which is clarified not more than.
You can make the mod_rewrite module load dynamically in to the Apache web server environment using the LoadModule Directive in the httpd.conf file. Load this file in a text editor and find a line similar to the one given not more than.
#LoadModule rewrite_module modules/mod_rewrite.so
Uncomment this line by removing the # and save the httpd.conf file. Restart your Apache server and if all went well mod_rewrite module will now be enabled on your web server.
Ok, now the mod_rewrite module is enabled on your server. Lets have a look at how to make this module load itself and to make it work for us.
In order to load the module dynamically you have to add a single line to your .htaccess file. The .htaccess files are configuration files with Apache directives certain in them and they provide distributed directory amount configuration for a website. Make a .htaccess file in your web servers test directory â?? or any other directory on which you want to make URL Rewriting committed â?? and add the not more than given line to it.
RewriteEngine on
Now we have the rewrite engine turned on and Apache is ready to rewrite URLs for you. Lets look at a sample rewrite education for making a question for to our server for first.html redirected to second.html at server amount. Add the not more than given line to your .htaccess file along with the RewriteEngine directive that we have added previous to.
RewriteRule ^first.html$ second.html
I will clarify what we have done here at the next section, but if all went well then any requests for first.html made on your server will be transferred to second.html. This is one of the simplest forms of URL Rewritting.
A point to note here is that the redirect is kept perfectly hidden from client and this differs from the classic HTTP Redirects. The client or the browser is given the impression that the content of the second.html is being fetched from first.html. This enables websites to generate on the glide URLs with out the clients awareness and is what makes URL Rewriting very powerful.
Now we know that mod_rewrite can be enabled for an entire website or a specific directory by using .htaccess file and have done a basic rewrite directive in the previous example. Here I will clarify what exactly have we done in the first sample rewrite.
Mod_rewrite module provides a set of configuration directive statements for URL Rewriting and the RewriteRule directive – that we saw in the previous sample – is the most vital one. The mod_rewrite engine uses pattern-matching substitutions for making the translations and this means a excellent grasp of Fixed Expressions can help you a lot.
Note: Fixed Expressions are so vast that they will not fit in to the scope of this article. I will try to write a further article on that topic soon.
The general syntax of the RewriteRule is very straightforward. RewriteRule Pattern Substitution [Flags]
The Pattern part is the pattern which the rewrite engine will look for in the incoming URL to catch. So in our first sample ^first.html$ is the Pattern. The pattern is written as a fixed expression.
The Substitution is the replacement or translation that is to be done on the caught pattern in the URL. In our sample second.html is the Substitution part.
Flags are optional and they make the rewrite engine to do certain other tasks apart from just doing the substitution on the URL string. The flags if present are certain with in square brackets and should be separated by commas.
Lets take a look at a more complex rewrite rule. Take a look at the following URL.
http://yourwebsite/articles.php?category=stamps&id=122
Now we will exchange the above URL in to a search engine and user friendly URL like the one given not more than.
http://yourwebsite/articles/stamps/122
Make a page called articles.php with the following code:
$category = $_GET['category'];
$id = $_GET['id'];
echo “Category : ” . $category . ” “;
echo “ID : ” . $id;
This page simply prints the two GET variables passed to it on the webpage.
Open the .htaccess file and write in the not more than given Rule.
RewriteEngine on RewriteRule ^articles/(w+)/([0-9]+)$ /articles.php?category=$1&id=$2
The pattern ^articles/(w+)/([0-9]+)$ can be bisected as:
^articles/ – checks if the question for starts with ‘articles/’
(w+)/ – checks if this part is a single word followed by a forward slash. The parenthesis is used for extracting the parameter principles, which we need for replacing in the actual query string, in the substituted URL. The pattern, which is placed in parenthesis will be stored in a special variable which can be back-referenced in the substitution part using variables like $1, $2 so on for each pair of parenthesis.
([0-9]+)$ – this checks for digits at the last part of the url.
Try requesting the articles.php file in your test server with the not more than given url.
http://yourwebsite/articles/coins/1222
The URL Rewrite rule you have written will kick in and you will be seeing the result as if the url requested where:
http://yourwebsite/articles.php?category=coins&id=1222
Now you can work on this sample to build more and more complex URL Rewritting rules. By using URL rewriting in the above example we have achieved a search engine and user friendly URL, which is also tamper proof against casual script kiddie injection sort of attacks.
RewriteRule flags provide us with a way to control the way mod_rewrite handles each rule. These flags are certain inside a common set of square brackets separated by commas and there are about 15 flags to choose from. These flags range from those which controls the way rules are interpreted to complex oneâ??s like those which sent specific HTTP headers back to the client when a match is found on the pattern. Lets look at some of the basic flags.
There are other flags too but they are complex to clarify with in the scope of this article so you can find more info on them by referring the mod_rewrite manual.
This directive gives you the bonus power of conditional checking on a range of parameters and conditions. This statement when combined with RewriteRule will let you rewrite URLs based on the success of conditions. RewriteCond are like the if() statement in your programming language but here they are for deciding whether a RewriteRule directiveâ??s substitution should take place or not. Things like preventing hot between and checking whether the client meets certain criteriaâ??s previous to rewriting the URL etc can be achieved by using this directive.
The general syntax of the RewriteCond is:
RewriteCond string-to-test condition-pattern
The string-to-test part of the RewriteCond has access to a large set of Variables like the HTTP Header variables, Question for Variables, Server Variables, Time variables etc so you can do a lot of complex conditional checking while writing directives. You can use any of these variables as a string to test by putting it in a %{string} format. Suppose you want to use the HTTP_REFERER variable then it can be used as %{HTTP_REFERER }.
The condition part can be a simple string or a very complex fixed expression as your thoughts is the only limit with this module.
Lets take a look at an example for conditional rewriting using RewriteCond directive:
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4(.*)MSIE RewriteRule ^index.html$ /index.ie.html [L] RewriteCond %{HTTP_USER_AGENT} ^Mozilla/5(.*)Gecko RewriteRule ^index.html$ /index.netscape.html [L] RewriteRule ^index.html$ /index.other.html [L]
This example uses the HTTP_USER_AGENT as the test string with the RewriteCond directive. What it does is that it uses the HTTP_USER_AGENT header variable to find the browser of the visiting user and match it against a set of pre known principles to notice the browser and serve different pages to the visitor based on the match result. The first RewriteCond checks the HTTP_USER_AGENT to find a match for the ^Mozilla/4(.*)MSIE pattern. This match will occur when a user visits the page using IE as browser. Then the RewriteRule given just under that statement will kick in and will rewrite the URL to server index.ie.html page to the IE visitor.
Similarly a checking is made for mozilla specific browsers in the second RewriteCond and the RewriteRule will do the substitution for index.netscape.html when a positive match is made on the ^Mozilla/5(.*)Gecko pattern. The third RewriteRule is there to catch other browsers. If both the first and second RewriteCond fails then the last RewriteRule will be considered. A point to note in the above example is the usage of the [L] flag with all the RewriteRule directives. This is used to avoid the cascading of applying the rules when a positive RewriteRule is applied.
Two flags which can be used to further control the way the RewriteCond directive behave are [NC] â?? case-insensitive â?? and [OR] â?? chaining of multiple RewriteCond directives with logical OR.
By using these two directives â?? RewriteRule and RewriteCond â?? you can implement a lot of powerfull URL Rewriting functionality on your website.
In this article we have taken only a brief look at the power of the mod_rewrite module. It is only a scratch on the surface but I hope it is enough to get you started on using this module on your web server environment.
Basic seo ( search engine optimization ) principles for Wordpress
Wednesday, December 30th, 2009
all you need to know about seo for wordpress
The Basic Components Of A Blog
Saturday, December 26th, 2009Are you curious about blogging? Do you feel it’s time you took the plunge and started a blog of your own? Here’s a straightforward beginner’s guide to the world of blogging.What is a blog?At a basic amount, blogs are websites in which individuals can write about themselves, their thoughts, feelings, and concerns about any subject that wellbeing them. For more details www.greatblogbox.com For example, a horse rider might have a blog about horse riding, and the contents of that blog would be all about how she learnt to ride, what equipment she uses, what her thoughts are about various aspects of riding, competing, or just enjoying her life with horses. A name else might have a blog about traveling, and he might post updates on the new places he’s seen, what he has experienced there, and what advice he offers fellow travelers. As you can imagine there is no limit to the types of blogs and thousands more are started each week.Regardless of the design of a blog, most will contain the following elements: * Posts – these are the updates added to the blog by the author or any contributor. They can be a few lines or a total article of several hundred words. * Comments – these are the responses and reactions from the blog readers to posts by the author * Plug-ins – optional extras that a blog owner can add in order to add to the features on the blog. These might be a plug-in which allows the author to show pictures or adverts in the sidebar of the blog, or it might be a touch that increases the likelihood of the blog being found by search engines. There are thousands of plug-ins available and more are being devised all the time. * Widgets – like plug-ins, widgets enhance the show or add to the functions on the site. For more details www.blog-link-generator.com For example, you might want to use the calendar widget so that a calendar appears in the margin of your blog and the days on that calendar are hyperlinked to the posts (updates) you added on that particular day. * Blogroll – a list of links to other blogs that the author recommends * Theme – each blog design is known as a theme. There are many hundreds unreservedly available and there are commercially produced themes which anyone can buy. Some bloggers even go as far as having a theme tailor made to their specifications. How do I get started?If you are familiar with using the Internet and sending email then getting started in blogging should be very simple for you. You don’t need to know how to build a web site and you won’t need to learn any new skills. All you need to do is register for a free blog at one of the many sites that place forward this service. For example, there’s Wordpress, Blogger, or Technorati. Once you’ve registered at one of these sites you can start one or several blogs. As a beginner you’ll probably want to start just the one for now so that you can learn the basics and get used to the various areas. Make excellent use of the FAQ pages and User Guides on any of these sites. They are generally clear and simple to know and are there to help you.Your First BlogSo you’ve registered and produced your first blog – now what? Well, this is the fun part, or the hard part depending on your point of view. The vital thing is to adopt the habit of posting as frequently as possible. Add fresh content to your blog as evenly as you possibly can. This will probably be simple at first, especially if you have started a blog about your favourite pastime or leisure activity. You’ll be enthusiastic and you’ll have plenty to say so by all means add plenty of posts, but keep a touch back so that you can keep up the momentum of posting as the weeks pass by.In my next article I will describe how to enhance the look and feel of your blog, how to interact with other bloggers, and how to make your blog more attractive to search engines so that people will find it. After all, you’ve chose to express yourself so you will need to know how to attract some blog readers!Copyright 2009 Ben LovegroveBen runs My Footwear; a blog site listing the best in men and women’s footwear, designer shoes and boots, socks, tights, hosiery, stockings, belts and other accessories. Frequently updated with the newest offers from a variety of UK footwear and hosiery retailers
www.building-blog-empire.comwww.blogers-guide-to-profit.com
Basic Form a Blog Contains These Features
Friday, December 25th, 2009A blog is an online journal usually a single page that you can post practically anything that you want. The simplicity of Blogs is what makes it attractive to the new person coming online and for more detail go to: www.atoz-about-rss.com.has no html experience and no website. Blogging makes it possible for an individual to go live on the web within minutes of setting up his or her blog.There are numerous blogging websites to choose from on the net. This gives first time users the option of unification a blogging community that appeals to their wellbeing.Experts predict that Blogs will ultimately take the place of square websites because of their simplicity and virtually no maintenance.Features like audio and video blogging make for added appeal as well as the ability to add mp3’s sometimes referred to as Blog Radio.A further advantage of blogging is that there are only a few templates to choose from. This eliminates the complexities of numerous individual pages. Making it simpler for blog users to make new pages, as it by now has fixed settings that include: slots for title, body of the post, category, etc.Bloggers have the frankness to express themselves how ever way they want, and the best thing about blogging, is that most blogging sites are free.Just search any blogging directory and you’d get a listing of a lot of blogging sites that are available on the net. It’s simple to search a blogging directory, because it is organized according to category. This way you would get exactly what you are after. Blogging is really for everyone. It is fun, simple and simple.Blogs have become an advertising medium. Getting traffic to your blog can be allotted simpler than getting traffic to a square website. A lot of entrepreneurs benefit from blogging by promoting their businesses on their Blogs, with millions and millions of people logging onto the net everyday, blogging has become a lucrative go. Some bloggers who run online businesses promote their merchandise online.Since all posts are archived, educators use Blogs to document education. This gives students, who may have missed a lesson or two, the ability to access those education and easily catch up with their assignments.But by far, the most standard blog type is the one that takes the form of a personal journal. This is the kind that is usually used by first time bloggers. Individuals who want to document the daily struggle of their everyday lives, poems, rants, For more detail go to: www.greatblogbox.com.opinions, find that blogging offers them a medium in which to express themselves.Bloggers usually communicate within themselves. This is one of the appeals of blogging. It makes a community of people sharing their thoughts, thoughts, and comments with each other.Blogs varying in topics, themes, and set-ups, can be found in blog directories. First time users who want to get an thought of what the blogging world is all about can browse through a number of Blogs using these directories. This way they’d get an thought of what these blogging communities are like.www.blog-link-generator.comwww.instant-blog-and-ping.com