Permalinks

I found the tip to get permalinks working.

In your Apache Web Server configuration httpd.conf file, make sure AllowOverride is updated with the following for your DocumentRoot directory.


# This is needed for perma-links in WordPress
# AllowOverride controls what directives may be placed in .htaccess files.
AllowOverride All

When a .htaccess file is placed in the root directory for the app, it’ll get detected and executed by the Apache Web Server software. It can be used to alter the configuration of the web server to either enable or disable additional functionality.

Your .htaccess should look something like the snippet below, assuming your app is in the directory called wordpress.

#BEGIN WordPress

RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]

# END WordPress

This will allow links to look like permanent URL as opposed to a page reference.