properly rewrite url configuration for wordpress blog inside larvavel project -
on web root i've folder of laravel , folder blog containing wordpress project.
i access www.mywebsite.de/public/index.php url without specifying public/index.php.
to more specific i'm using wordpress backoffice, ideal rewrite www.mywebsite.de/wp-admin in www.mywebsite.it/blog/wp-admin/
thanks in advance help.
==============================
i deleted .htaccess file containing:
rewritecond %{request_uri} !public rewriterule (.*) /public/index.php/$1 [l] because assets folder/subfolder/files under public folder become unreachable.
-mywebsite.ext become mywebsite.ext/public/index.php ok
-mywebsite.ext/myroute become mywebsite.ext/public/index.php/myroute ok
-mywebsite.ext/images/funnyimage.jpg become mywebsite.ext/public/index.php/images/funnyimage.jpg not ok should mywebsite.ext/public/images/funnyimage.jpg
i cannot create excetpion each folder , subfolder distinguish them route.
wordpress mod-rewrite laravel
No comments:
Post a Comment