Are your hideous WordPress URLs frightening away your readers? Here is how to tame those unruly URLs:
- Create a .htaccess file in your main wordpress folder (the same one as index.php)
- Make the .htaccess file writeable
chmod 777 .htaccess - Ensure mod-rewrite is enabled for Apache2 (/etc/apache2/mods-enabled). There should be a symlink to /etc/apache2/mods-available/rewrite.load. If not, create it.
sudo a2enmod rewrite - Restart Apache2
sudo apache2ctl restart Login to your WordPress admin. Go to “Options” > “Permalinks” > select the one you want. (I chose “Date and name based” e.g. “http://www.example.com/2007/11/07/sample-post/”)- Reset the .htaccess file permissions
chmod 644 .htaccess



