Introduction To HTACCESS
CONNECT WITH HBB ON SOCIAL MEDIA
HTACCESS stands for Hypertext Access. It is a directory-level configuration file used on Apache web servers.
By customizing the htaccess file, you can get the most out of your website’s functionality and can improve your search engine rankings through search engine optimization (SEO).
There are two common ways to access your .htaccess file :
1. File Manager : Login to your hosting account to access and modify your files. You can do this by using your web based File Manager.
2. FTP (File Transfer Protocol) : You can access through an FTP client software. I prefer Filezilla.
Browse to the root of your publicly viewable folder. This is mostly named as public_html or www. In this folder only your homepage located.
If you are already familiar with .htaccess, you can try these :
1. How To Create 301 URL Redirection?
How to Create A HTACESS file :
In some cases you won’t have an .htaccess file in that folder. You don’t need to worry for it. Creating a .htaccess is far simple.
1. Open Notepad or any other editor
2. Type the required code
3. Save it with an extension .htaccess
- There should be no text before the period. It has to be exactly “.htaccess”.
- It can also be saved without anything in it. HTACCESS file can also be a blank file.
Correct Permissions :
It is very important that your .htaccess file have the correct permissions for preventing others from modifying the file and take full control of your website/blog.
The permissions should be set at 644, rw-r-r. You can check the permissions by right clicking on the file and choosing permissions or CHMOD with the help of FTP Client Software.
Now you have created your .htaccess file. Watch out some worthy tutorials in upcoming posts to make your blog/website secure !
Want to discuss your queries and interact with experts? You can connect with HellBound Bloggers (HBB) Facebook group for free!
Join HellBound Bloggers (HBB) and get Instant Updates. We'll also notify you with Great Deals, Discounts and other Interesting Tips. We won't SPAM or SHARE your Email Address with anyone.
YOU CAN ALSO SEARCH FOR YOUR DESIRED TOPICS:
Thank you for reading! We welcome and appreciate your comments, but at the same time, make sure you are adding something valuable to this article. If you have any serious queries, suggestions or anything related to this article, feel free to share them, we really appreciate that.
But, if your blog comments are a random "Thank you", "Useful Post", or anything that doesn't actually upscale the article, then we'll be removing them and it won't be appeared below. Thanks for understanding and thanks for connecting with us. If you want to give us any feedback or report any errors, you can kindly contact us and we'll revert back soon.
- Facebook Comments
20 CommentsFacebook Comments