Find Jobs
Hire Freelancers

Perl script to modify URL and redirect

$30-50 USD

Terminado
Publicado hace más de 15 años

$30-50 USD

Pagado a la entrega
We have an e-commerce site hosted on a .[login to view URL] domain, which relies on perl scripts to do some important things. We want to move the whole site to our corresponding .com domain ( which I can do easily ... that's not the problem ! ). We have a number of referring companies who use? links into our e-commerce site which point to a perl script which ensures they get their commission on referred sales. What we need is a perl script which will parse the incoming link ( something like? [login to view URL]? ) and simply replace ".[login to view URL]" with ".com" then? redirect the user's browser there. All of the parameters like "SOURCE=TEST" have to remain intact in the new URL. ## Deliverables I'll need to understand exactly how this works ( lots of comments in the code are essential ) and will need the coder to also show me how to parse any other part of the incoming URL ... for instance later parts of the string include hex equivalents of non-standard characters ( like %2e instead of a dot ). As well as changing the TLD part of the URL, there are also other references later in the string that need amending. The FULL incoming URL looks something like this ... the bits that might need amending are in **bold red** : http://www.testsite.**[login to view URL]**/cgi-bin/[login to view URL]**co%2euk**%2facatalog%2f ... so the new perl script will be named exactly the same as the original script ( in this case [login to view URL] ) and will overlay the original on the original domain. The new script will then redirect the user to the new domain : http://www.testsite.**com**/cgi-bin/[login to view URL]**com**%2facatalog%2f NOTE that this is a generic example, SOURCE= will have different text according to the referring user, so the coder's script must take the WHOLE incoming URL and only change the bits in red ! The final code will be difficult to check using the 'live' e-commerce site, so I will set up dummy shops on different domains for testing purposes if this is required? ... that's why it is important I fully understand the code so I can amend it when we're ready to set it 'live'.
ID del proyecto: 3265859

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 16 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$17 USD en 10 días
5,0 (5 comentarios)
2,3
2,3
4 freelancers están ofertando un promedio de $24 USD por este trabajo
Avatar del usuario
See private message.
$34 USD en 10 días
4,9 (16 comentarios)
4,6
4,6
Avatar del usuario
See private message.
$21,25 USD en 10 días
5,0 (16 comentarios)
3,8
3,8
Avatar del usuario
See private message.
$22,10 USD en 10 días
5,0 (1 comentario)
2,0
2,0

Sobre este cliente

Bandera de UNITED KINGDOM
United Kingdom
5,0
1
Miembro desde feb 1, 2006

Verificación del cliente

Otros trabajos de este cliente

Access 2000 database
$30-100 USD
¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.