Tag Archive for 'htaccess'

Creating Rewrite Rules

Creating Rewrite Rules (.htaccess)

Your server must have mod_rewrite for cruft-free permalinks to work. In addition, you must create a .htaccess file and place it in the directory in which your main index.php file resides, or make that directory writable so that WordPress can do this for you. For example, if your WordPress blog is installed at domain.com/wordpress/, put the .htaccess file at domain.com/wordpress/.htaccess. However, if your WordPress installation is in a subdirectory but your visitors access your site at the top level of your domain, place the .htaccess file at the domain’s root domain.com/.htaccess.

Continue reading ‘Creating Rewrite Rules’