Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Url rewrites #14

Open
rgrasby opened this issue Dec 21, 2023 · 0 comments
Open

Url rewrites #14

rgrasby opened this issue Dec 21, 2023 · 0 comments

Comments

@rgrasby
Copy link

rgrasby commented Dec 21, 2023

I was very happy to see a replacement for Scotchbox. I use to work with Scotchbox for WordPress sites. I have a WordPress site created using your Vagrant Lamp Stack, but if I turn on WordPress permalinks all pages and posts get broken. If I remove the rewrite rule as seen below in my htaccess file, the posts and page will will load just fine. Any idea as to why URLs with rewrite rules don't work? Thank you.

RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase /news/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /news/index.php [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant