Find Jobs
Hire Freelancers

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

$10-30 USD

Selesai
Dibuat hampir 9 tahun yang lalu

$10-30 USD

Dibayar ketika dikirim
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 Proyek: 8184090

Tentang proyek

6 proposal
Proyek remot
Aktif 9 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
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 dalam 1 hari
5,0 (19 ulasan)
4,7
4,7
6 freelancer menawar dengan rata-rata $24 USD untuk pekerjaan ini
Avatar Pengguna
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 dalam 1 hari
4,8 (176 ulasan)
7,4
7,4
Avatar Pengguna
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 dalam 1 hari
5,0 (3 ulasan)
3,1
3,1
Avatar Pengguna
A proposal has not yet been provided
$25 USD dalam 1 hari
5,0 (1 ulasan)
1,9
1,9
Avatar Pengguna
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 dalam 3 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED STATES
Gilbert, United States
5,0
20
Memverifikasi Metode pembayaran
Anggota sejak Sep 30, 2010

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.