Permalink and 404 after each deploy

Hi!

I’m finalizing our bedrock/capistrano migration but each time I deploy my wordpress app it doesn’t maintain any htaccess file, even though I created a .htaccess file in shared/web/ directory, it doesn’t recreate it anyway.

Any ideas? It’s our final step to go live with bedrock version with http://www.nois3.it!
Thanks!

You also need to add .htaccess to the linked_files here: https://github.com/roots/bedrock/blob/master/config/deploy.rb#L19

set :linked_files, %w{.env .htaccess}

edit: great looking site too!

1 Like

Thanks!
That worked like charm, I love bedrock, will blog about our migration as it finishes.