ItSolutionStuff.com

How to Set URL without Http of Other Site in Laravel?

By Hardik Savani • November 5, 2023
Laravel

you are working on laravel php framework and you want to give any other site URL. we can easily give url using a tag like href="https://www.facebook.com" but if you are work on laravel then it can't redirect on given URL because laravel always redirect on current site, but we have solution of this problem. How to set URL without http or https of Other site in Laravel Website?, i describe as under.

For example if you want to give facebook url then you can give this way :

<a href="//facebook.com" target="_blank">FB</a>

Try this.....

Tags:
Hardik Savani

Hardik Savani

I'm a full-stack developer, entrepreneur, and founder of ItSolutionStuff.com. Passionate about PHP, Laravel, JavaScript, and helping developers grow.

📺 Subscribe on YouTube

We Are Recommending You