
External link not working in laravel blade
You can use http:// protocol to anchor tags which can be a problem in blade files for external links. That is why the external link may not work in your laravel blade view.
Answers 1
-
Add external link with http:// in laravel blade
<a href="http://{{ $anchorLink }}" target="_blank"> {{ $anchorLink }} </a>
0You have to pass http:// with your anchor link if your URL link of the anchor tag is not in a valid formats like with http://google.com or https://google.com
Random Code Snippet Queries: Laravel
- Remove array keys and values if it does not exist in other array in Laravel
- Laravel migration add foreign key to existing table
- Drop foreign key column in Laravel using migration
- Class 'Facade\Ignition\IgnitionServiceProvider' not found
- Laravel API response format
- How to start websocket server in laravel
- Get products with number of orders in Laravel
- Insert current date time in a column using Laravel
- Split an Eloquent Collection by half in Laravel
- How to get route name on visit URL in laravel
- Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails
- Get ids in array from users table
- Submit form without CSRF token in Laravel
- Laravel file size validation not working
- Array to string conversion laravel blade
- Update email with unique validation in laravel
- How to avoid duplicate entries in pivot table in Laravel
- Insert values in pivot table dynamically in laravel
- How to fill a column automatically while creating records in Laravel
- Get only 10 records from table in laravel
- Get current month records in laravel 7/8
- How to get specific columns using Laravel eloquent methods
- Convert input array to comma-separated string in laravel controller
- Target class [HomeController] does not exist
- Validation for multiple forms on same page in laravel