Wordpress Inner Pages throw 404 on Laravel Site -
i installed wordpress on laravel site , everythign working fine on laravel pages,wp dashboard , wp home page except on wp inner pages giving me 404 error.
i installed wordpress inside laravel directory called public/blogs.
here's htaccess on public/
<ifmodule mod_rewrite.c> <ifmodule mod_negotiation.c> options -multiviews </ifmodule> rewriteengine on # redirect trailing slashes... rewriterule ^(.*)/$ /$1 [l,r=301] # handle front controller... rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^ index.php [l] </ifmodule>
and here's htaccess on public/blogs wp installation
# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase /blogs/ rewritecond %{request_filename} -f [or] rewritecond %{request_filename} -d rewriterule ^.*$ - [s=35] </ifmodule> # end wordpress
and have code filters 404 page on laravel filer file. appreciated. thank you
Comments
Post a Comment