≡ Menu

[How-To Guide] Create .htaccess File For WordPress Blog

WordPress no doubt best blogging platform and WebGuide4U making it easier to get started with WordPress. Already I have shared lots of basic and some advanced tutorials on WordPress. Here is a quick recap:

Beginner’s Guide to WordPress

How to Guide on Installing WordPress

How to Guide on Installing WordPress Theme from Dashboard

How to Guide on Installing WordPress Plugin from Dashboard

How to Guide on Hiding Posts From Some Users in WordPress

How to Guide on Changing Auto-Generated Password in WordPress

How to Guide on Recovering Lost WordPress Password

How to Guide on Disabling Visual Editor in WordPress

How to Guide on Enabling keyboard Shortcuts in WordPress

How to Guide on Scheduling Post in WordPress

How to Guide on Renaming “Uncategorized” Category in WordPress

How to Guide on Repair and Optimizing WordPress Database

How to Guide on Changing Nameserver in Godaddy

How to Change cPanel Password in Hostgator

How to Guide on Changing Primary Domain in Hostgator

Advanced User Guide to WordPress

How to Guide on Installing WordPress Manually

How to Guide on Adding Multiple Blogs in WordPress 3.0

How to Guide on Enabling WordPress MU in WordPress 3.0

How to Guide on Enabling Multi-Site Option in WordPress 3.0

How to Guide on Creating Add-on Domain in Hostgator

How to Guide on Creating Revenue Sharing Blog

How to Guide on Reset WordPress Password From PHPMyAdmin

How to View Hidden Secret Options in WordPress

How to Guide on Back-Up WordPress Database by Using PHPMyAdmin

How to Guide on Deleting MySQL Database

How to Guide on Creating New User in MySQL Database

How to Guide on Repairing WordPress Database Using PHPMyAdmin

How to Guide on Optimizing WordPress Database Using PHPMyAdmin

All these guides help you to get started with WordPress and offer you get most from it. Now in this post I’m sharing how to create and upload .htaccess file on server.

Step1: Open your favorite text editor (I’m using notepad) and create a new file, name this file .htaccess

Step2: Now you have created .htaccess file and you have to upload this file on server. Log-in into cPanel by typing URL http://www.domainname.com/cpanel (replace domain name with your own domain name) and click on “File Manager” as shown below:

create-.htaccess+how-to-create-.htaccess-file

Step3: When you click on “File Manager” (in step 2), it open a new window (as shown below) and you will see your root directory.

create-.htaccess+how-to-create-.htaccess-file+wordpress

Step4: In root directory, click on “Upload” to upload the .htaccess file in root directory.

create-.htaccess+hot-to-create-.htaccess-file+wordpress

Step5: If you follow all the steps as guided you will see .htaccess file in root directory as shown below:

create-.htaccess+how-to-create-.htaccess-file+wordpress

Step6: Congratulations, you have successfully created and uploaded .htaccess file on server.

Remember

Don’t forget to rename .htaccess.txt to .htaccess

If you have any query do share in comment section or you can use Free WordPress Installation Service. Don’t forget to like on Facebook, so that you don’t miss any of .htaccess tutorials.

{ 6 comments… add one }
  • Very useful tip for a newbie.Thanks for sharing.

    • Thanks Lakhyajyoti for stopping and Commenting here.
      Yaa that’s useful, stay at WebGuide4U, lot of tuts coming on .htaccess. Hope you like them

  • Tia

    Thank you for this article. I was looking all over and then I found your article(s).

    One thing you need to do is to put the name of your site in the top place you have placed that ugly hostgator banner. I thought I had come to hostgator and was about to leave because my host is not hostgator.

    • Welcome Tia, glad you like the article.
      Thanks for letting me know about the disadvantage of putting a banner of Hostgator. Will move it sooner, stay at WebGuide4U because a lot more has to come on .htaccess

  • Asifa

    hi m asifa!
    i have uploaded my .htaccess file for my blog bt the rest of file content never works after uploading this file.guide me

Leave a Comment