I would like like to change the admin route or url
-
Please is it Possible for me to change the admin Route or Url?
for example
https://example.com/admin takes me to the admin page.
this url can easily be guessed by anyone .
I would love to change it to something different or move it to a sub-domain -
@THINKLIFE
ok allow us time, we will get back to you with the solution soon!
-
Hi @THINKLIFE,
There is route file i.e. 'packages/Webkul/Admin/src/Http/routes.php'. If you see that file, you need to change your prefix only,
Route::prefix('admin')->group(function () { ... }
to
Route::prefix('prefix-name-you-want-to-put-here')->group(function () { ... }
Important Note: As I am seeing the code structure there are several blade files in which 'url('/admin/dashboard')' is written so you need to replace it with the prefix as well.
However, we are working on it to make it single change which reflect to multiple areas.
-
@devansh419 thanks for your solutions
-
@Vaishali-Agarwal am still expecting a solution from you
-
Hi @THINKLIFE
I transferred your query to @devansh419 for a quick response,So he gave you the possible solution.
Kindly do the same as suggested by @devansh419 if still any doubt, don't hesitate to ask.Thanks
-
@Vaishali-Agarwal alright i appreciate