Questions tagged url-shortener

Explore the latest questions and answers asked by our top developers.

Laravel redirect externally using http or https in the url

I have a domain: My Laravel 8 Production Project is setup to "force" SSL on the URL. I have set this up as follows: public/.htaccess #SSL force RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] and app/Providers/AppServiceProvider public function boot() { if($this->app->environment(‘production’)) { URL::forceScheme(‘https’); } } my .env file APP_NAME=NameOfApp APP_ENV=production APP_KEY=*hidden* APP_DEBUG=false […]

By toolnin
Categorised as laravel, laravel-8, redirect, ssl, url-shortener Tagged , , , ,

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us