liyanj / laravel_wordpress

Laravel 5.4 as Frontend, WordPress 4.7.2 as Backend (admin panel) . The Corcel is employed to retrieve WordPress data in Eloquent way. You nearly do not need to spend time developing backend.
7 stars 5 forks source link

Site not available error while accessing /admin #1

Open allandereal opened 6 years ago

allandereal commented 6 years ago

Hello, i get a site not available when i try to access /admin. the default laravel site at / works very well.

liyanj commented 5 years ago

Try to do as below: In table wp_options, update the option_value of both siteurl and home according to your site domain name. In my case, it is "http://test.laravel-wordpress.com/admin" because my VHost name is "http://test.laravel-wordpress.com". Pls ensure "index.html" takes precedence over "index.php". If you use nginx such as "index index.html index.php". You can discover the detailed reason in file laravel_wordpress/public/admin/index.html.