Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

TECreasey's avatar

Secure URL using route name

Hi,

I have been searching for an answer for about 2 hours and slowly losing the will to live.

I have a Laravel 5.0.35 and within the application is an admin section. I want to secure the admin section with HTTPS. Is it possible to apply HTTPS to a Route::group?

Also, I have one other URL that I want to be HTTPS. How can I make a like to that route secure? At the moment I have:

{{ URL::route('book-a-billboard.quote.index') }}

I have tried using secure, but it doesn't like route names.

{{ URL::secure('book-a-billboard.quote.index') }}
0 likes
1 reply

Please or to participate in this conversation.