Aleš Sýkora wrote – redirect 301 to www. + HTTPS://

2. 4. 2021 in
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www.domain\.tld$ [NC]
RewriteRule ^(.*)$ https://www.domain.tld/$1 [R=301,L]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More from category
Aleš Sýkora wrote
Automatic Post to Facebook From WordPress with Custom Fields
7. 3. 2019 in
If you want to post on your facebook page automatically when you publish the post & you want to use custom post types and custom fields made in Toolset Types - follow this post and see how easy it is.
Read More
Aleš Sýkora wrote
Checkbox with link for Accepting terms & conditions in toolset form
30. 8. 2019 in
The easy way how to add the checkbox with link to your Terms & Conditions or GDPR page.
Read More
Aleš Sýkora wrote
Display Child taxonomy link on taxonomy archive page
12. 3. 2021 in
Need to display a list of currrent taxonomy archive child taxonomies with links? You can use the wp_list_categories or get_categories. First approach -> using pre styled output with wp_list_categories. Second approach -> using custom html output with get_categories.
Read More
magnifiercross linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram