08. How to change url structure - ninacoder-info/music-engine-web-wiki GitHub Wiki

Music Engine allow you to change the url structure way easy.

Open routes/Frontend. open any file route you want to change the url.

For example Album.php

Route::get('album/{id}/{slug}', 'AlbumController@index')->name('album'); Route::get('album/{id}/{slug}/related-albums', 'AlbumController@related')->name('album.related');

You can change to

Route::get('your-text-here/{id}/{slug}', 'AlbumController@index')->name('album');

Or Route::get('your-text-here/{slug}/{id}', 'AlbumController@index')->name('album');

Or Route::get('/some-thing/your-text-here/{id}/{slug}', 'AlbumController@index')->name('album');

Or Route::get('/album/{id}', 'AlbumController@index')->name('album');

Just do not change the path 'AlbumController@index')->name('album');