A description for this result is not available because of this site’s robots.txt

Here we have lot of possibilities but solutions as following.

Solution1: Remove total robots.txt and add following robots.txt

User-agent: *
Allow: 
Sitemap: http://www.example.com/sitemap.xml

Solution2: Check weather urls contain ‘/’ at end , then your web master tool will treat your urls as directories.

Incorrect Url: http://www.example.com/home/

Correct Url:  www.example.com/home

Best PHP Framework for Custom Application Development

Yii

URL: http://www.yiiframework.com

Started: 2008

License: BSD

Yii was founded by a developer of Prado and it continues many of its conventions. Yii is very fast (leading in most benchmarks) and extensible, modular, and strictly object oriented. It has a rich set of features and decent documentation. It uses no special configuration or templating language, so you don’t have to learn anything apart from object-oriented PHP to use it. Also, unlike many other frameworks, it follows pure MVC architecture with data being sent directly from Model to View.

Moodle Data Error: Data Root is Invalid

This issue May cause with following scenarios:
Issue: In config file $CFG->dataroot is not setup.
Solution: Create a directory and configure in config file.

Issue:  moodledata not writable.
Solution: Check for moodledata directory in config file and make it writable with apache 777 permissions.

Issue: Object is becoming non object.
Solution: Issue is with php 5.3.2 version by upgrading php version  we can fix this issue.

Create Custome post type

As usually creating custom post type in wordpress is very simple. Just get into the follow post
1. for the first step just open function.php in your theme(U can find this one in your theme directory)
2. Add the following code to that file(function.php)

add_action( 'init', 'create_post_type' );
function create_post_type() {
	register_post_type( 'acme_product',
		array(
			'labels' => array(
				'name' => __( 'Products' ),
				'singular_name' => __( 'Product' )
			),
		'public' => true,
		'has_archive' => true,
		)
	);
}

That’s it u can find new custom post type in wp dashboard..
U have another option like plugin
With the following plugin also u can create custom post
http://wordpress.org/extend/plugins/custom-post-type-ui/

Find WordPress Category ID

In Simple Way you can find Category ID in WordPress
1. Login into wordpress admin Panel
2. Goto Manage Categories Page
3. Simply Edit category which you want to find the ID
4. Find URL : https://urdomain/wp-admin/edit-tags.php?action=edit&taxonomy=category&tag_ID=647&post_type=post
5. tag_ID=647 is the category ID

Disable Categories from WP RSS

To continue this process you must know the ID of category(find Category ID)
once you find the category Id which you want to exclude from your RSS follow steps
1. Open Function.php which you can find in your theme directory. If your theme doesn’t have , create one
2. Create filter like the follwing Way

function myFilter($query) {
if ($query->is_feed) {
$query->set(‘cat’,’-5′);
//Don’t forget to change the category ID =^o^=(in this 5 is the ID.) Keep ‘-‘ before the cat ID
}
return $query;
}

This filter excludes category from feed
3. Apply this filter to your Theme using ‘add_filter’ function

add_filter(‘pre_get_posts’,’myFilter’);

Create Custom Widget

class ktree_rsssocial_Widget extends WP_Widget
{
function ktree_rsssocial_Widget()
{
global $themename;
parent::WP_Widget(false, ‘ktree – Rss Social Media Widget’);
}

function widget($args, $instance) {
extract($args);
$faccount = $instance[‘faccount’];
// $msaccount = $instance[‘msaccount’];
$twaccount = $instance[‘twaccount’];
$ytaccount = $instance[‘ytaccount’];
$title = $instance[‘title’];

echo $args[‘before_widget’];
echo $args[‘before_title’] . $title . $args[‘after_title’];

?>

  • <a target="_blank" href="”>
  • <a target="_blank" href="”>

<label for="get_field_id(‘title’); ?>”>
<input style="width: 200px;" id="get_field_id(‘title’); ?>” name=”get_field_name(‘title’); ?>” type=”text” value=”” />

<label for="get_field_id(‘faccount’); ?>”>
<input style="width: 200px;" id="get_field_id(‘faccount’); ?>” name=”get_field_name(‘faccount’); ?>” type=”text” value=”” />

<label for="get_field_id(‘twaccount’); ?>”>
<input style="width: 200px;" id="get_field_id(‘twaccount’); ?>” name=”get_field_name(‘twaccount’); ?>” type=”text” value=”” />

<label for="get_field_id(‘ytaccount’); ?>”>
<input style="width: 200px;" id="get_field_id(‘ytaccount’); ?>” name=”get_field_name(‘ytaccount’); ?>” type=”text” value=”” />

<?php

}

}

add_action('widgets_init', create_function('', 'return register_widget("ktree_rsssocial_Widget");'));

Joomla instalation time issues

When installing Joomla it checks for configurations and PHP settings .
1. PHP Version >= 5.2.4(as per joomla version it looks for PHP Version)
Joomla is expecting php version of 5.2.4. click here to download requires php version.
just download and install the required Joomla version and restart Apache server

Joomla installation step by step guide

Joomla is a best CMS for WEB. We have lot of methods but installation using browser is the best and easiest way. Follow the easy steps and enjoy Joomla great features.

Step1:- Download latest Joomla version. Click here to download Joomla1.7

Step2:- Extract files and upload to your root folder. When you have finished uploading the files and folders, go to your homepage (http://www.yoursite.com or http://yoursite.com/joomla_folder). You should now see a pre-installation check page generated by Joomla.
first step is for select language jut select language click next

step3:- Now the following screens appears

everything is clear press next(Click here to solve installation issues)

step4:- this is just for agree the license press next.
before goto next step create a database using phpmyadmin
step5:- This step is ask for database details Enter the configuration of your MySQL Database(which just before created). The hostname of your database is usually localhost. This means the database server is running on the same computer as your web server. On occasions where localhost is not a usable database server, you will need to contact your administrator.
Host Name: Generally this is localhost
User Name: datbase username
Password : ****

Table prefix: Choose a table prefix or use the randomly generated. Ideally, three or four characters long, contain only alphanumeric characters, and MUST end in an underscore.
If everything is filled up press next
Step6:- This is optional step you can skip this.

Step7:- This step is for main Main Configuration. Fill the required details and press next.

Step 8: Now we need to remove the installation directory. Just press the “Remove installation” Folder button.

Admin Dashboard:- http//www.ypurdomain.com/administrator

installation is completed. enjoy the Joomla features.

Create custom wordpress page navi

Try this one
Paste the following code in function.php

<?php
#Page Navi

function page_navi($before = ”, $after = ”) {
global $wpdb, $wp_query;

$request = $wp_query->request;
$posts_per_page = intval(get_query_var(‘posts_per_page’));
$paged = intval(get_query_var(‘paged’));
$numposts = $wp_query->found_posts;
$max_page = $wp_query->max_num_pages;

if(empty($paged) || $paged == 0) {
$paged = 1;
}
$pages_to_show = 5;
$pages_to_show_minus_1 = $pages_to_show-1;
$half_page_start = floor($pages_to_show_minus_1/2);
$half_page_end = ceil($pages_to_show_minus_1/2);
$start_page = $paged – $half_page_start;
if($start_page <= 0) {
$start_page = 1;
}
$end_page = $paged + $half_page_end;
if(($end_page – $start_page) != $pages_to_show_minus_1) {
$end_page = $start_page + $pages_to_show_minus_1;
}
if($end_page > $max_page) {
$start_page = $max_page – $pages_to_show_minus_1;
$end_page = $max_page;
}
if($start_page <= 0) {
$start_page = 1;
}

echo $before.'<center><div class=”page_navi”>’.”\n”;
if ($start_page >= 2 && $pages_to_show < $max_page) {
$first_page_text = “First”;
echo ‘<a href=”‘.get_pagenum_link().'” title=”‘.$first_page_text.'”>’.$first_page_text.'</a>’;
}
previous_posts_link(‘&laquo;’);
for($i = $start_page; $i  <= $end_page; $i++) {
if($i == $paged) {
echo ‘<span class=”current”>’.$i.'</span>’;
} else {
echo ‘<a href=”‘.get_pagenum_link($i).'”>’.$i.'</a>’;
}
}
next_posts_link(‘&raquo;’);
if ($end_page < $max_page) {
$last_page_text = “Last”;
echo ‘<a href=”‘.get_pagenum_link($max_page).'” title=”‘.$last_page_text.'”>’.$last_page_text.'</a>’;
}
echo ‘</div></center>’.$after.”\n”;
}
?>

cal the following function where ever you want

 <?php page_navi(); ?>

use the following css for styling

.page_navi{padding:10px 0 10px 10px;}
.page_navi a,.page_navi a:link,.page_navi a:visited{text-decoration:none;border:1px solid #ccc;color:#2b74b4;background-color:#fff;font-weight:700;margin:2px;padding:2px 4px;}
.page_navi a:active,.page_navi a:hover{text-decoration:none;border:1px solid #2b74b4;color:#fff;background-color:#0F0;margin:2px;padding:2px 4px;}
.page_navi span.current{font-weight:700;border:1px solid #2b74b4;color:#fff;background-color:#03C;margin:2px;padding:2px 4px;}