Roots rewrite not working


i am new to roots and i can’t get roots rewrite to work on centos. i like the concept but having a hard time with the rewrite on my dev box

httpd.conf has been set ( symlink allow all)

roots plugin installed

nothing written is being written to htaccess (777)

normal themes work fine with pertmalink

thanks for your help guys!! :blush:

Revisit the permalinks page and try again.

The plugin doesn’t automatically flush on activation; an issue has been raised on GitHub but we’ve been focusing on Bedrock and themes.

Foxaii thank you for the reply. Your advice has worked for the htaccess which has been updated but still i can’t access the pages they are coming back with page not found. Also the styling is lost when i enable the roots rewrite plugin.

BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteRule ^assets/(.) /wp-content/themes/roots/assets/$1 [QSA,L]
RewriteRule ^plugins/(.
) /wp-content/plugins/$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

END WordPress


DocumentRoot: The directory out of which you will serve your
documents. By default, all requests are taken from this directory, but
symbolic links and aliases may be used to point to other locations.

DocumentRoot “/var/www/html”

Each directory to which Apache has access can be configured with respect
to which services and features are allowed and/or disabled in that
directory (and its subdirectories).

First, we configure the “default” to be a very restrictive set of

Options FollowSymLinks AllowOverride All

Thank you for your prompt reply.