How to change Homepage URL?
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!
How to change Homepage URL?
Hi,
After installing Aimeos Laravel distribution the home page URL is http://www.example-domain.com/list. Why? And how can I change it?
Laravel version: 5.6
Aimeos version 2017.x
PHP version : 7.x
Thanks!
After installing Aimeos Laravel distribution the home page URL is http://www.example-domain.com/list. Why? And how can I change it?
Laravel version: 5.6
Aimeos version 2017.x
PHP version : 7.x
Thanks!
-
- Posts: 10
- Joined: 27 Jan 2018, 22:10
Re: How to change Homepage URL?
Check out Laracasts.com and look at how routing works.
Here is the Aimeos routes documentation: https://aimeos.org/docs/Laravel/Custom_routes
Add your routes to your routes/web.
Also take a look at Laravel documentation for which routing methods to use. view() and redirect() are good options.
Here is the Aimeos routes documentation: https://aimeos.org/docs/Laravel/Custom_routes
Add your routes to your routes/web.
Also take a look at Laravel documentation for which routing methods to use. view() and redirect() are good options.
PHP 7.1.14, Aimeos 2017.10, Laravel 5.5.39 (php artisan --version)
Re: How to change Homepage URL?
You can overwrite routes like this in ./routes/web.php like @gladgladwrap said:
Code: Select all
Route::match( array( 'GET', 'POST' ), '', array(
'as' => 'aimeos_shop_list',
'uses' => '\Aimeos\Shop\Controller\CatalogController@listAction',
'middleware' => 'web',
));
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: How to change Homepage URL?
Thanks!gladgladwrap wrote:Check out Laracasts.com and look at how routing works.
Here is the Aimeos routes documentation: https://aimeos.org/docs/Laravel/Custom_routes
Add your routes to your routes/web.
Also take a look at Laravel documentation for which routing methods to use. view() and redirect() are good options.
Re: How to change Homepage URL?
Many thanks for sharing such a nice post.
-
- Posts: 1
- Joined: 25 Apr 2019, 06:19
Re: How to change Homepage URL?
Thanks for this. while configuring one of my client site I am facing the same issue hope the above tips will fix it.