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

Adjust to get automatic url #25

Open
guibarbas opened this issue Feb 18, 2020 · 0 comments
Open

Adjust to get automatic url #25

guibarbas opened this issue Feb 18, 2020 · 0 comments

Comments

@guibarbas
Copy link

Hello friends, good morning.

Would it be possible to use this code below, to be able to insert the URL automatically?

//// EDIT THESE 2 LINES //// $redirection .= 'RewriteCond %{HTTP_HOST} !^www\. [NC]' . PHP_EOL; $redirection .= 'RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [L,R=301]' . PHP_EOL . PHP_EOL; //// STOP EDITING ////

Because as I use this on several sites, it is really annoying to keep modifying one by one.

appreciate

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

1 participant