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.
Written by Erick Wright
Related protips
1 Response
Thanks man this helps
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#