Problems with URLs
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 1
- Joined: 02 Dec 2020, 10:56
Problems with URLs
I have a problem with the Aimeos implementation. To carry out my project, I have created a folder on my localhost, it is called "prueba", and to access the frontend, for example, the home page, the URL is "localhost / prueba / public /". The problem comes in the part of the store, to log in, you have to change the href in the code to access the login page. On the other hand, in the administrator part, I don't know where to change those URLs to be able to access it from the browser.
I mean, if i click in "Orders", the URL is "http://localhost/admin/default/jqadm/se ... er?lang=en", and if i change it manually like http://localhost/prueba/public/admin/de ... er?lang=en", it works.
I need help with this please.
I mean, if i click in "Orders", the URL is "http://localhost/admin/default/jqadm/se ... er?lang=en", and if i change it manually like http://localhost/prueba/public/admin/de ... er?lang=en", it works.
I need help with this please.
Re: Problems with URLs
The document root of your web site must point to the ./public/ directory of your Laravel application, not to the root of the application itself. Your current setup exposes the .env file including all your credentials!
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- طهمحمدعبدالتواب
- Posts: 1
- Joined: 10 Dec 2020, 10:52
Re: Problems with URLs
Did you find a solution? I have the same issue even after changing the env APP_URL to ...public/
Re: Problems with URLs
Changing the APP_URL is wrong. The document root of your webserver vhost must point to .../yourlaravelapp/public/, not to .../yourlaravelapp/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
