.htaccess file is a small Apache file that lets you do all sorts of funky things with requests made to your server.
A typical .htaccess file looks like this
# BEGIN wordpress
rewriteRule . /index.php [L]
# END wordpress
Wordpress rewrites the section between '# BEGIN wordpress' and '# END wordpress' from time to time. Hence any custom rules written by you must be written outside this section. Never place your own rules within the ‘wordpress’ block
Post a Comment