Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secure server converting all external links to HTTPS #53

Closed
BrainBoxLabs opened this issue Nov 11, 2017 · 3 comments
Closed

Secure server converting all external links to HTTPS #53

BrainBoxLabs opened this issue Nov 11, 2017 · 3 comments

Comments

@BrainBoxLabs
Copy link

BrainBoxLabs commented Nov 11, 2017

We have external partner links stored the database as full URLs (e.g. http://www.bellavistarv.com) that are being displayed on the website. The website is secure (https). With Laravel Page Speed disabled the external links on the website are exactly as they are in the database. When we enabled Laravel Page Speed on our website, those same external links are converted to HTTPS, which return broken URLs.

@johnhearfield
Copy link

Disable the TrimURLs module, since it removes the protocol at the beginning.

@joaorobertopb
Copy link
Collaborator

joaorobertopb commented Nov 13, 2017

Hi @BrainBoxLabs,

I recommend following the suggestion the @johnhearfield.

Do not register: \RenatoMarinho\LaravelPageSpeed\Middleware\TrimUrls::class

@BrainBoxLabs
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants