wordpress change permalink day and name to post name without losing traffic

wordpress change permalink day and name to post name without losing traffic

Earlier I used date and name permalink structure for my blogs. Recently I got information about SEO URL tricks and I made decign to change permalink structure to Post name.
But with this produced many issues. Like google search result will go to old site URLs and My blog links are posted on other multiple blogs. That links will be broken and redirect to 404. Also I interlinked my other posts with other posts. They will go to 404 page.

If your blog pages will not found then google site ranking will go down.

Continue reading

Seting the default featured image using wordpress plugin – Default featured image

Seting the default featured image using wordpress plugin - Default featured image

Many people using featured images in there blog or sites. Setting featured images for every post is not possible for some times so creating the one default image and set that default image for all the posts is really good idea. Some times If you not have the default image then it is possible to break your wordpress theme or it does not look nice without featured image. In this article I will show you how to set the default featured image using wp plugin. Continue reading

How to show related articles without any wordpress plugin using category

In many blogs people are showing the related or linked articles. Showing similier or related articles will increaze your site SEO. More visitor will visit your site. For showing the related articles you need copy following code into your functions.php file. [php] // "Similier Articles" function wpapi_more_from_cat( $title = "Similier Articles:" ) { global $post; // We should get the first category of the post $categories = get_the_category( $post->ID ); $first_cat = $categories[0]->cat_ID; // Let's start the $output by displaying the title and opening the $output = '' . $title . ''; // The arguments of the post list! $args = array( // It should be in the first category of our post: 'category__in' => array( $first_cat ), // Our post should NOT be in the list: 'post__not_in' => array( $post->ID ), // ...And it should fetch 5 posts - you can change this number if you like: 'posts_per_page' => 5 ); // The get_posts() function $posts = get_posts( $args ); if( $posts ) { $output .= ''; // Let's start the loop! foreach( $posts as $post ) { setup_postdata( $post ); $post_title = get_the_title(); $permalink = get_permalink(); $output .= '' . $post_title . ''; } $output .= ''; } else { // If there are no posts, we should return something, too! $output .= 'Sorry, this category has just one post and you just read it!'; } // Let's close the and return the $output: $output .= ''; echo $output; } [/php] After that open your single.php file and use following code. [php] wpapi_more_from_cat(); [/php] Using above code you can show the related articles in your wordpress site.

How to show related articles without any wordpress plugin using category. In many blogs people are showing the related or linked articles. Showing similier or related articles will increaze your site SEO. Showing related article in wordpress site is always good for users to attract the visitors. Continue reading

Jetpack by WordPress.com wordpess plugin review

Jetpack by WordPress.com wordpess plugin review

Jetpack is the one of the most popular wordpress plugin. Jetpack is downloaded more then 5 millions times. Jetpack by WordPress.com wordpress jetpack has following features: Simple, concise stats with no additional load on your server. Previously provided by WordPress.com … Continue reading

Disable or Remove the comments to wordpress pages

Disable or Remove the comments to wordpress pages

Many people want to disable the page comments. Using simple code you can easily disable the comments for your pages by default. Here I written simple code. Using following code you can disable the comments for your wordpress pages. you … Continue reading

Disable comments on posts after certain commment count in wordpress

Disable comments on posts after certain commment count in wordpress

Many people want to disable the post comments for some posts which has too many comments. Using simple code you can easily disable the comments for your posts which has many comments. Here I written simple code. Using following code … Continue reading

Hook/Filter – In wordpress Admin -Add new Post section -Display the authors in a dropdown menu using wp_dropdown_users

Hook/Filter - In wordpress Admin -Add new Post section -Display the authors in a dropdown menu using wp_dropdown_users

One of my client faced issue with Autor drop down which is in Admin section

While creating the New post there was problem with the Author field. There are hundreds of irrelevant selections (users) and it’s difficult to select the right one.

Wordpress is by default showing all the users in author drop down. I don’t want to show the other users in author drop down. Continue reading

Using social button will slow down your wordpress site

Using social button will slow down your wordpress site

There are so many social button and social share wordpress plugins. Which are so beautiful and nice plugins.
But these plugin can cause wild swings in page load times and page load. Sometimes, facebook is busy and that icon slows down your page, sometimes it is twitter. Continue reading