• Skip to primary navigation
  • Skip to main content

WebGuide4U

Photoshop | WordPress | Webhosting | Web Designing | Discount Coupon

  • Homepage
  • About Us
    • Author
  • Advertise
  • Free WordPress Installation
  • Contact Us
  • Show Search
Hide Search

How-To

[How-To Guide] Repair And Optimize WordPress Database

As a webmaster, it’s a nice thing to optimize blog’s database because optimizing a database improve the loading time of blog which indirectly improve’s the performance of database. Already many of them using WordPress plugins to optimize database but in this article I offer you a step-by-step guide to optimize database without using a WordPress plugin because already WordPress built-in Repair and Optimize functionality is available at the admin back-end.

Well you can check out this functionality by visiting

http://www.educationguide4u.com/wp-admin/maint/repair.php

(replace http://www.educationguide4u.com/ with your real blog/site url).

Step1: Login to your wp-admin section by visiting http://www.educationguide4u.com/wp-login.php

repair and optimize database + database + wordpress

Step2: Now simply type http://www.educationguide4u.com/wp-admin/maint/repair.php in a new tab of your browser. After typing this URL and hitting enter button, it ask you to add a piece of code to WordPress wp-config.php file as shown below:

database+wordpress+wp-config.php+php+webguide4u+wordpress troubleshoot

Step3: Add this code to WordPress wp-config.php file

define(‘WP_ALLOW_REPAIR’,true);

Step4: After adding this code just simply reload/refresh page and it will look like this:

database+wordpress+repair+troubleshooting+optimization+webguide4u

Step5: Now you can see a page with two options (screen-shot of step4) first one is “Repair Database” and second one is “Repair and Optimize Database”. Click on any of the option.

Step5.1: If you click on “Repair Database” option, WordPress will automatically look for some common database problems and repair them automatically by executing SQL queries in WordPress database tables.

optimize database3

Step5.2: If you click on “Repair and Optimize Database” option, WordPress also attempt to optimize the database. this improves the performance in some situations.

optimize database4

Caution:

Repairing and Optimizing database option can take long time and database can be locked while optimizing.

Hope this will improve your WordPress blog’s performance and let us know in the comments section if you face any problems while optimizing and repairing your WordPress Database.

Note:

Please backup your WordPress Database before making any action on database.

[How-TO Guide] Checking MySQL Installation Works On PC Or Not?

Already in earlier articles I have provided you a step-by-step guide on installing and configuring MySQL offline on your PC. Now in this article I provide you a step-by-step guide on checking MySQL Installation whether it works correctly on your PC or not. The easiest way to check out MySQL Installation and confirm that it’s working properly is to use the MySQL Command Line Client.

Step1: Click on “Start Menu” and select “All Programs”.

Checking MySQL Installation1

Step2: Now click on “MySQL” and select “MySQL Server 5.1”

mysql+run-sql-command+webguide4u

Step2: Now enter the MySQL password

mysql+installation-guide+password

Step3: The MySQL client displays the mysql> prompt on successful login.

mysql-starter-guide+installation-guide

Step4: Now run simple SQL command for example: Run “show databases;” and hit enter key on your keyboard. This simple command instructs MySQL to display the names of installed databases and they are 3.

mysql+sql-commands

Congratulations, you have successfully install MySQL and it is working correctly on your PC.

Do let us know in the comments section if you face any error while checking out your MySQL installation works correctly or not on your PC?

[How-to Guide] Configuring MySQL Offline On Your PC

Already in earlier article I had provided you a step-by-step guide on installing MySQL Offline on your PC. Now in this article I guide on configuring MySQL on your PC because without configuring it you can’t use it on your PC.

Follow the step-by-step guide to configure MySQL on PC.

Step1: Click on “Next” button to get started.

mysql+begineer's guide+database+wordpress

Step2: After clicking on “Next” button, you’ve to select “Detailed configuration” and click on “Next” button.

mysql+guide-on-mysql

Step3: Now select “Developer Machine” and click on “Next” button

mysql+wordpress+database+installation

Step4: After clicking on “Next” button you’ve to choose Database, select “Multifunctional Database” as u don’t know what you’re doing and click on “Next” button.

mysql-database+webguide4u+wordpress

Step5: Now don’t mess up the things and simply click on “Next” Button

mysql-authentication+webguide4u

Step6: Now select “Decision Support” and click on “Next” Button

mysql-installation-guide

Step7: Now select “Enable Strict Mode” for networking options and click on “Next” button.

mysql-starter-guide

Step8: Click on “Include Bin Directory In Windows Path” option and “Next” button to go ahead.

configure-mysql-windows

Step9: Now set the “Password” and click on “Next” button.

mysql-guide-password

Step10: Now click on “Execute” button to execute the things.

execute-mysql

Step11: Hit down the “Finish” button. Congratulations, you have successfully configured MySQL Offline on your PC.

MySQL-successfully-configured

You have successfully configured MySQL on your PC. Wait for next article which guides you to check out the MySQL installation works properly or not on your PC.

Do let us know in the comments section if you face any problem in configuring MySQL on your PC?

[How-To Guide] Install MySQL Offline On Your PC

MySQL, no doubt one of the most popular and widely used database/server which integrated with PHP scripts. MySQL is simple to use, which allows you to create and test web application without affecting the data on your live websites. This article guides on installing MySQL locally on your PC.

Follow the step-by-step guide and you will be able to install MySQL locally on your PC in few minutes.

Step1: Download MySQL installer from here

Step2: After Downloading the installer click on to start the set-up process as shown below:

mysql-starter-guide

Step3: After clicking on the next button, you will be ask to select the “Type of Set-up”. You have to choose only one out of three options available (I have chosen Typical Option).

mysql-options

Step4: Now simply click on “Install” button and this will install the “MySQL” on your PC.

mysql-installation-guide

Step5: After clicking on “Install” button, it will start installing it on your PC and take some time, (as shown below).

mysql-starter-guide

Step6: As soon as the installation process finishes,you will see a screen (as shown below). Now click on “Next” button to go ahead.

mysql-enterprise-edition

Step7: After clicking on “Next” button and it takes you next screen where you have to click on “Next”button again, as shown below:

mysql-monitor-service

Step8: After clicking on “Next” button, you’ll see the last screen which shows “Wizard Completed”. Congratulations – MySQL installed on your computer.

mysql-server-installed

You have successfully install MySQL on your PC. Wait for next article which guides you in configuring it.

Do let us know in the comments section if you face any problem in installing MySQL on PC?

[How-to Guide] Authors Profile Box At The End of The Post In Thesis Theme

As a thesis user I know the importance of having author’s profile box at the end of the post and it becomes much more of importance when you have guest posting on your blog or you have multi author blog. The author’s profile box will help the visitors in recognizing the author of the post. The author’s profile box will take the details from the admin panel of the user profile. So, I have come out with a tutorial that will help you out in adding the author’s profile box at the end of the post.

In this tutorial you will learn how you can add author’s profile box at the end of the post like this as shown in the screenshot:

Just follow these certain steps and you will be able to add author profile box at the end of post.

  1. Log-in to WordPress Admin Panel

2. Go to user panel and fill up your bio and whatever you like to display at the end of the post.

3. Now log-in into cpanel and use FTP, just simply copy this code and paste this code in custom_function.php file.


function post_footer_author() {
if (is_single())
{ ?>
<div>
<?php echo get_avatar( get_the_author_id() , 100 ); ?>
<h4>Article by <a href=”<?php the_author_url(); ?>”>
<?php the_author_firstname(); ?> <?php the_author_lastname(); ?></a></h4>
<p><?php the_author_description(); ?></p>
<p><?php the_author_firstname(); ?> has written <span><?php the_author_posts(); ?></span> awesome articles.</p>
<p>If you like this post you can follow WebGuide4U on <a href=”http://www.twitter.com/webguide4u”>Twitter</a></p>
<p>Subscribe to WebGuide4U feed via <a href=”http://www.webguide4u.com/feed”><b>RSS</b></a> or <a href=”http://feedburner.google.com/fb/a/mailverify?uri=Webguide4u&amp;loc=en_US”><b>EMAIL</b></a> to receive instant updates.</p>
</div>
<?php }
}
add_action(‘thesis_hook_after_post_box’, ‘post_footer_author’);

4. Now simply add this code in custom.css file like you have done for custom_function.php


.postauthor {background: #F5F5F5;
&nbsp;border-top: 1px solid #e1e1e0;
&nbsp;border-bottom: 1px solid #e1e1e0;
overflow: hidden; padding: 1.5em;
}
.postauthor img {border: 1px solid #e2dede;
float: left;
&nbsp;margin-right: 1.5em;}
.postauthor h4 {color: #666;
font-size: 2em; margin-bottom: 5px;}
.postauthor p {color: #515151; font-size: 13px;
margin-bottom: 12px;}.postauthor p.hlight {font-size: 11px;
text-transform: uppercase;}.postauthor p.hlight span {color: #CB3131;
font-size: 1.5em; font-style: italic;
font-weight: bold; letter-spacing: 0.8px;}
.custom .postauthor p {
fontsize:15px;}
.custom .postauthor p.hlight{
fontsize:13px;
fontweight:bold }

By adding both the codes you can simply add the authors profile box at the end of the post. If you faced any difficulty in this then let me know through comments section.

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 24
  • Page 25
  • Page 26
  • Page 27
  • Page 28
  • Go to Next Page »

Hit the ground running with a minimalist look. Learn More

WebGuide4U

All rights Reserved. Articles cannot be reproduced without permission from the author© 2026