New answers tagged htaccess
0
votes
.htaccess redirect from HTTP to HTTPS and add canonical
This should be able to redirect your non-https traffic to https.
Following resource at https://www.freecodecamp.org/news/how-to-redirect-http-to-https-using-htaccess can be more helpful.
RewriteCond %...
Top 50 recent answers are included
Related Tags
htaccess × 1685mod-rewrite × 418
redirects × 395
apache × 356
301-redirect × 254
url-rewriting × 196
seo × 165
wordpress × 139
php × 133
url × 95
apache2 × 95
https × 87
subdomain × 63
domains × 49
404 × 41
web-hosting × 34
security × 34
google-search-console × 32
robots.txt × 28
cpanel × 27
no-www × 27
web-crawlers × 25
html × 24
dns × 24
403-forbidden × 21