Last Updated: February 25, 2016
·
1.607K
· 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 ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

WordPress sites collect scripts from themes, plugins, and tag managers. A compromised plugin update can add a skimmer to every page without a change in your own templates.

Security insights from Cside