Find Jobs
Hire Freelancers

Simple web.config URL rewrite/redirect from non-www to www preserve http/https

$10-30 USD

已完成
已发布将近 9 年前

$10-30 USD

货到付款
We want to put code in [login to view URL] file that rewrites or redirects incoming traffic without ‘www” to “www” for both http and https (preserve http/https). To be clear: [login to view URL] should go to [login to view URL] [login to view URL] Should got to [login to view URL] We already put in the code below that works for http but is not working for https ([login to view URL] incorrectly goes to [login to view URL]) because the redirect hardcodes http and instead it must be built to use the original http or https in the redirect code. <[login to view URL]> <rewrite> <rules> <rule name="Add www" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions> <add input="{HTTP_HOST}" pattern="[login to view URL]" negate="true" /> </conditions> <action type="Redirect" url="[login to view URL]{R:1}" /> </rule> </rules> </rewrite> </[login to view URL]> This should be very simple for developer who understands the wildcards and rules. Must be done via web.config. All elements of code should be explained to us. Preference is to have code similar to above.
项目 ID: 8184090

关于此项目

6提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hello, Can you try to do it like this please: <[login to view URL]> <rewrite> <rules> <rule name="Add www" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions trackAllCaptures="true"> <add input="{HTTP_HOST}" pattern="[login to view URL]" negate="true" /> <add input="{CACHE_URL}" pattern="^(.+)://" /> </conditions> <action type="Redirect" url="{C:1}://[login to view URL]{R:1}" /> </rule> </rules> </rewrite> </[login to view URL]> Regards
$30 USD 在1天之内
5.0 (19条评论)
4.7
4.7
6威客以平均价$24 USD来参与此工作竞价
用户头像
Hi I can solve your issue via .htaccess as you can see i have done recently with www.classiciasacademy.com. Please check and let me know I can do it now. Thanks
$24 USD 在1天之内
4.8 (176条评论)
7.4
7.4
用户头像
Hello, I will be happy to help you with this. About me: I'm a 31 year old webdeveloper from Norway, with most expertice in PHP. - I have 15 years of PHP experience - I am the author of phpSec, A PHP security library. - I have 10 years of Drupal experience - I am the author of the Authy module for Drupal. I also know my way around the following technologies: JavaScript/jQuery, HTML, CSS, mySQL, Ubuntu, Apache, nginx, Git, CVS, SVN, Cisco, Bootstrap, Laravel and Drupal. I always write code with security in my mind. I work fast and test thoroughly. I will sign a "no disclosure agreement" if needed.
$25 USD 在1天之内
5.0 (3条评论)
3.1
3.1
用户头像
A proposal has not yet been provided
$25 USD 在1天之内
5.0 (1条评论)
1.9
1.9
用户头像
I would be greatly pleased to join your project for the post of Système adminitrator as I posses the required skills and experience in this arena. I have many years of experience working as a Système adminstrator in UCAO an science and technologie university in togo and I also have continual experience in programing Java, C++, PHP over the past few years. I have individual experience in working on arduino for a project which is steel in progresse. I also have great Experience in Cisco equipement configuration (router an switch) .I look forward to being hired by you.
$30 USD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Gilbert, United States
5.0
20
付款方式已验证
会员自9月 30, 2010起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。