I'm trying to get wordpress and laravel to run side-by-side and hitting a small issue.
Here's my code
# BEGIN Laravel
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/?admin/?.*$ index.php [L]
</IfModule>
# END Laravel
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp-index.php [L]
</IfModule>
# END WordPress
the wordpress pages work, apart from the homepage and the admin pages work (laravel), apart from if there is no '/' at the end.
Any ideas?
regards