Last Updated: February 25, 2016
·
1.366K
· erick wright

Permalinks with a Heroku Wordpress site

Its important that when you get your Wordpress website up with heroku, that if you want to use permalinks that you type in your CLI "terminal on mac osx"

open .htaccess

then in the file you add

# BEGIN WordPress
<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /
 RewriteRule ^index\.php$ - [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /index.php [L]
</IfModule>
# END WordPress

to your file and save it.

1 Response
Add your response

Thanks man this helps

over 1 year ago ·