This action might not be possible to undo. Are you sure you want to continue?
by Himanshu on December 5, 2009
X Hello fellow Delicious user! Feel free to bookmark this page for future reference if you like it! When I came to know about Wordpress I thought it is easier to download and install Worpdress on the server. I thought it is as easy as installing any general software on the PC. But when I tried it, I was bit confused. I learned several tutorials on the web but I was satisfied with none of them. I found the tutorial given on official Wordpress codex is most appropriate. But it lacks images and it is somehow difficult to understand in the first glance. Wordpress installation is not a very difficult process but it require some technical skills. You should know about computer work, Cpanel, My SQL, database terms. It also requires transfer files through FTP clients. If you think it is still difficult to install wordpress then lets make it easy by step by step tutorial which elaborate all the steps with the help of images side by side. Step 1) Install Wordpress Go to Wordpress.org (Wordpress official site) and Download the famous Wordpress software. Current version is Wordpress 2.8.6, click on the button and Wordpress will download on your PC.
A zip file will download on your PC. You can extract the file on your desktop. It contains a folder named Wordpress. If you see the folder there are many files.
Step 2 : Create a database and user I am using hostgator which comes with an inbuilt Cpanel. Login to your Cpanel account. Inside cpanel click on MySQL database:
1) Chose a username for WordPress and enter it in the UserName field. 1. 2) Choose a difficult-to-guess password (ideally containing a combination of upper- and lower-case letters, numbers, and symbols), and enter it in the Password field. 2. 3) Write down the username and password you chose in a notepad or plane paper. 3. 4) Click on Create User. Create Database:
1) Click on Jump to MySQL Database . 2) Create New Database (Named it Wordpress).
3) Under Databases, select your WordPress username from the User dropdown(if there are more than one users), then select your WordPress database from the Db dropdown(if there are more than one databases). Make sure All is checked under Privileges, then click Make Changes.
Step 3: Set up wp-config.php Now return to your Wordpress2.8.6 download file. If you don’t extract it on your desktop, extract it now. If you already extract it on your desktop then look at the files inside the Wordpress folder. You will find a file named wp-config-sample.php. You need to open this file and edit some lines inside it. You can open the file in any text editor. You can use Dreamweaver or simple notepad to edit some lines. 1) First of all rename the file from wp-config-sample.php to wp-config.php. 2) Open the file in your favorite text editor.
Enter your Database information DB_NAME The name of the database you created for WordPress . DB_USER The username you created for WordPress DB_PASSWORD The password you chose for the WordPress username. DB_HOST The hostname usually localhost DB_CHARSET The database character set, normally should not be changed DB_COLLATE The database collation should normally be left blank After editing, your new database looks like the image given below:
Here my DB_NAME is “wordpress” DB_USER is “username” DB_PASSWORD is “password” Warning: Don’t select so easy to guess username and password, here I am taking easy username and password just for illustration. STEP 4: Upload the file This is a process in which you need to upload the Wordpress files which you extract on the desktop (inside the Wordpress folder) to the server. You can do this with the help of your favorite FTP client. I use Filezilla to transfer my files to server.
Enter your web server IP address in hostname, your Username and password and click on Quickconnect button to connect Filezilla to the server.
Now you will see the folder with / symbol. Click on the + sign and you will see the folder public_html folder. Click on Click on public_html folder. This is the folder where have to upload the Wordpress folder (which you downloaded and extracted on your PC). Now you have to upload the Wordpress fileS. Before uploading you need to decide that in which location your website or blog will appear. 1) In the root directory of your web site. (For example, http://example.com/)
2) In a subdirectory of your web site. (For example, http://example.com/blog/)
If you want your blog to appear on http://example.com Upload all the contents of the wordpress folder (but not the directory itself) into the root directory of your web site. If you want your blog to appear on http://example.com/blog Upload the directory to your desired location within the root directory of your web site. Before uploading you can rename the Wordpress folder as “blog”. Or you can rename the folder after uploading the folder.
Step 5: Run The install script 1) Open your web browser. Either Chrome or Firefox. 2) Now in the address field type http://example.com/wp-admin/install.php . In place of example.com, put the name of your site on which you are installing Wordpress. Note : If you placed the WordPress files in a subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php. Click on Run
the Install Button.
Enter the title of your blog and email address. Also check the option “Allow my blog to appear in search engines like Google and Technorati.”
After installation of Wordspress you will get your username and password which you can change later.
All done. Now enjoy with the latest Wordpress. You can enter inside your Wordpress dashboard by entering http://example.com/wpadmin.
Do you find this tutorial useful. If you face any problem regarding installation you can discuss it in comment section. Also you can take benefit with our Services. Subscribe to Blogtechnika for more killer tutorials. Follow me on Twitter @techim.
How To Restrict Wordpress Admin Use By IP Address
by Himanshu on December 2, 2009
X Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic. Wordpress is precious for every Wordpress bloggers because their all precious hard work depends upon Wordpress files. But unfortunately their are many hackers present which are in continuous try to hack others blog just for fun. To save your blog from Wordpress hackers you need to take some solid step which assures security of your blog. In previous article I told you about Wordpress file monitor Wordpress Plugin which secure your blog by continuously monitoring Wordpress file. Now I am telling you a very secured way to save your blog from hackers. You can restrict your Wordpress admin usage according to giving right to certain IP addresses.
To use this method you need to bring few changes in your .htccess file. If you don’t know what is .htaccess file, you don’t need to worry about that. But first you need to select those IP addresses which you are going to allow for your Wordpress admin access. You can easily find your IP address on IP-Address. Note: If you have a multiple author blog then it may be very difficult to know everyone IP. Also if your IP is dynamic(changing time to time) then this is not a smart process for you. So avoid using this technique in those two cases. .Htaccess Part You can find .htaccess file on the root of your blog directory. Open your FTP client. I use Filezilla for that purpose. Login and look at the public_html folder. You will find .htaccess file inside it.
If you don’t find any .htaccess file inside the root folder, you don’t need to worry about that. You can easily create a .htaccess file with the help of notepad editor. To make a .htaccess file, open a notepad and insert following code: <Files wp-login.php> Order Deny, Allow Deny from all Allow from xx.xx.xx.xx </Files> Now edit this code by inserting your IP address in place of xx.xx.xx.xx. You can also add more IP addresses by adding a new line in the code. In the new line you have to write “Allow from xx.xx.xx.xx” and add any other IP address. So the new code looks like <Files wp-login.php> Order Deny, Allow Deny from all Allow from xx.xx.xx.xx Allow from xx.xx.xx.xx </Files>
Now save this code as .htaccess name. Note that don’t save the file in .txt format. Always save in .htacces format. Now after saving upload it to your Wordpress root folder. If your wordpress root folder already contains a .htaccess file then open the file and simply paste the code in the file. Now look at the wp-admin folder. If it contains .htaccess file then open it and paste the following code inside it: Order Deny,Allow Deny from all Allow from xx.xx.xx.xx Do the same process you have done in above step and add the .htaccess file to wp-admin folder. If your wp-admin folder doesn’t contain any .htaccess file then create a new file in a text editor, paste the code and rename it with .htaccess file and upload it inside wpadmin folder. So your both the upload are finish. Now your Wordpress is safe from hackers now. If you find any difficulty kindly ask it in a comment section.
Optimize your Wordpress Database With the help of WP-Optimize Wordpress Plugin
by Himanshu on December 4, 2009
X Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic. Are you a new user of Wordpress. You don’t know about how to play with your Cpanel. You don’t even understand about the terms MySQL, Frontend, Cpanel etc. You might ignore all these terms in your daily blogging life. But do you know that these are the important terms for the maintenance for your blog.
No no, I am not going to say you that go and take a lesson of these terms. I want to tell you about a Wordpress plugin which can automatically optimize your Wordpress database from the single click. This plugin is WP-Optimize Wordpress Plugin.
According to Developer of this plugin Everytime you save a new post or pages, wordpress creates a revision of that post or page. If you edit a post 6 times you might have 5 copy of that post as revisions. Imagine if your post or pages are long and big. It is a huge number of bytes thats on your MySQL overhead. Now WP-Optimize allows you to optimize and shrink your posts table by removing not necessary post revisions from the database. As example, if you have a post which is approximately 100KB data and you have 5 revisrions of that post, the total space wasted is about 500KB. And if you have 100 posts similar to it, you have 50MB database space wasted. WP-Optimize check the database tables thoroughly and figure out overhead and wasted spaces. You can shrink or get rid of those wasted space by the single click. Features of WP-Optimize:
• • • • • •
1) Remove the wordpress post revisions including post meta data garbage 2) Remove all the comments in the spam queue 3) Remove all the un-approved comments 4) Rename one username to another username, it’s designed to rename default “Admin” user to something else 5) Apply mysql optimize commands on your database tables without phpMyAdmin. 6) Display Database table statistics. Shows how much space can be optimized and how much space has been cleared.
How to use this plugin
After installing and activating the plugin. Go to Dashboard> WP- Optimize
You will headed to a page. I am dividing the page into three sections Database Optimization Option You can check the options given on the page:
Database Table reports You will see a detailed report showing Table size, status and space you can save by optimizing the table.
Optimization Possibility It displays the amount of space you can save by optimizing your database.
You can also change your admin username without going into the phpMyAdmin. Advantage of smaller database size 1) Advantage of small database size is that it can help to load your blog faster. It save most of the hosting space and most helpful for those who have limited hosting space. 2) You can play with your database without actual knowledge of MySQL. So install this Wp-optimize plugin and optimize your blog to have faster accessibility and happy blogging life. You can ask anything regarding this plugin in a comment section. I will happy to reply all your queries.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.