Find Jobs
Hire Freelancers

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

$10-30 USD

Færdiggjort
Slået op næsten 9 år siden

$10-30 USD

Betales ved levering
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.
Projekt-ID: 8184090

Om projektet

6 forslag
Projekt på afstand
Aktiv 9 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
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 på 1 dag
5,0 (19 anmeldelser)
4,7
4,7
6 freelancere byder i gennemsnit $24 USD på dette job
Brug Avatar.
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 på 1 dag
4,8 (176 anmeldelser)
7,4
7,4
Brug Avatar.
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 på 1 dag
5,0 (3 anmeldelser)
3,1
3,1
Brug Avatar.
A proposal has not yet been provided
$25 USD på 1 dag
5,0 (1 bedømmelse)
1,9
1,9
Brug Avatar.
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 på 3 dage
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for UNITED STATES
Gilbert, United States
5,0
20
Betalingsmetode verificeret
Medlem siden sep. 30, 2010

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.