Writing .htaccess rules to add www and https if they are missing in the url
$30-250 USD
Completed
Posted over 7 years ago
$30-250 USD
Paid on delivery
I need to added license to AWS server and now I have both versions of https and http.
Trying to redirect http to https. Server crashed when I add the rule. I am using cakephp that I think causes the problem.
Please do not bid if you don't know htaccess, cakephp and https. you will be interviewed.
Hello
This should work
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ [login to view URL]$1 [R,L]
Just note you must put that on top of .htaccess and to replace [login to view URL] with you real domain of course.
Thanks.
$30 USD in 1 day
5.0 (166 reviews)
7.2
7.2
7 freelancers are bidding on average $67 USD for this job
Hello,
You can use cloudflare if you want which will handle that for you.
Can you send me your htaccess file?
Would you like to have a Skype call?
Regards
Dimitris
Hi, i hope you're doing well.
I've just read your project's description and i would like to help you with it.
I'm an experienced web developer with the necessary skills for getting this job done.
Responsibility and quality guaranteed,
Torricelli
Hi employer. I am a professional developer in PHP, Wordpress, Laravel, Joomla, CSS3, HTML5, Jquery. I think i can do this project. Please hire me. You will contentment with my skills if you hire me. Thanks