Simple Javascript redirect script needed
- or -
Post a project like this4743
£6/hr(approx. $8/hr)
- Posted:
- Proposals: 3
- Remote
- #68099
- Awarded
Description
Experience Level: Entry
Hi,
I need a script which I will put in the header of every page of a site.
It needs to perform the following task:
1) If ?p=pass is included in the URL then don\'t do anything - script ends. If it\'s not there then go to step 2.
2) Redirect the user to www.newurl.com/xxxxx where xxxxx is taken from the current URL. i.e. www.currenturl.com/xxxxx
If you know Javascript I\'m sure this could be done in half an hour or less.
Thanks,
Andrew
I need a script which I will put in the header of every page of a site.
It needs to perform the following task:
1) If ?p=pass is included in the URL then don\'t do anything - script ends. If it\'s not there then go to step 2.
2) Redirect the user to www.newurl.com/xxxxx where xxxxx is taken from the current URL. i.e. www.currenturl.com/xxxxx
If you know Javascript I\'m sure this could be done in half an hour or less.
Thanks,
Andrew
Andrew S.
99% (63)Projects Completed
77
Freelancers worked with
74
Projects awarded
44%
Last project
23 Apr 2023
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies