Our WordPress plugin BAVOKO SEO Tools gives you a convenient way to edit the .htaccess file of your website in a dedicated editor.
If you make a mistake while editing the .htaccess file in WordPress, your website may become inaccessible. For this reason, BAVOKO SEO Tools also includes an automatic backup system, enabling you to perform a quick reset, if you have to.
Table of Contents
What is the.htaccess file and what can I do with it?
You can use the .htaccess file to influence the configuration of the Apache web server without having to access the main configuration file (httpd.conf) of the web server directly. In addition to access protection for files or entire directories, you can use .htaccess to define your own HTTP error messages, set up redirects, block access for certain IP addresses, ranges or host names and much more.
.htaccess in WordPress with BAVOKO SEO Tools
The editor for tweaking your .htaccess and robots.txt files must first be activated in the BAVOKO SEO Tools settings before you can use it.
- To do this, navigate to the “Settings” of BAVOKO SEO Tools.
- In the tab “General” check the box “Unlock Editor”.
After you have activated the WordPress Editor for your .htaccess file in BAVOKO SEO Tools, you should proceed as follows to edit the .htaccess file:
- Navigate to “Tools” >”.htaccess & robots.txt” within the plugin.
- Now you can customize the code in the text window with your own commands.
- By clicking on “Save” BAVOKO SEO Tools saves your changes.
Automatic Backup System for .htaccess
BAVOKO SEO Tools has its own backup system with which a backup copy of the .htaccess file is created automatically every time changes are made. That is because serious errors can occur on your website, if you do an incorrect change, especially within the .htaccess file.
In the event of errors occurring on your website after a change in the .htaccess or robots.txt, you can download the automatically generated backups of the two files from the following folder via FTP access, which you simply have to copy and paste to the main directory of your WordPress installation: /wp-content/plugins/wp-seo-keyword-optimizer/backups/
BAVOKO SEO Tools: WordPress SEO Plugin
with integrated .htaccess Editor
BAVOKO SEO Tool contains its own editor for the .htaccess file of your WordPress website and thereby enables a completely free and individualized search engine optimization. Create your own HTTP error messages, set up your own redirections or block access for specific IPs, if necessary. Thanks to the automatic backup system for those files, you can also easily reset your changes in the event of errors.