-
Hi, I'm struggling to deploy wordplate with apache. I tried to set the public folder as root in a .htaccess file. RewriteEngine On I can access to the website, but the assets are not loaded... Can anyone help me ? Thx |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I would recommend to use a hosting provider where you can set the document root of your project such as Fortrabbit or Laravel Forge. Another option is to edit the Apache configuration instead of |
Beta Was this translation helpful? Give feedback.
-
@iroshiva You should probably take a look at WordPress guidelines re .htaccess. Your RewriteRule was missing index.php for starters. |
Beta Was this translation helpful? Give feedback.
I would recommend to use a hosting provider where you can set the document root of your project such as Fortrabbit or Laravel Forge. Another option is to edit the Apache configuration instead of
.htaccess
file.