Find Jobs
Hire Freelancers

Help me get a script working in WORDPRESS

$10-30 USD

Completed
Posted about 7 years ago

$10-30 USD

Paid on delivery
Hello, I have build a responsive mobile site with dudamobile and I want to get the redirect script they give to insert in the index page after the header but problem is its not working. I have inserted it but after login through mobile phone it does not work, still showing the normal wordpress page. The script is </script> <script src="[login to view URL]" type="text/javascript"></script> <script type="text/javascript">DM_redirect("http://m.************.se"); </script> Anyone that has any clue what could be wrong?
Project ID: 12819298

About the project

24 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Here is your solution. Replace [login to view URL] with your website. <?php $mobileDomain = "[login to view URL]"; $no_redirect = @$_REQUEST['no_redirect']; if($no_redirect != "true") { $agent = @$_SERVER['HTTP_USER_AGENT']; @ini_set('default_socket_timeout',1); $handle = @fopen("[login to view URL]" . urlencode($agent), "r"); @stream_set_timeout($handle, 1); /* check if we should redirect*/ $result = @fread ( $handle , 1 ); @fclose($handle); if ($result == "y") { $currenturl = "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; $mobileUrl = $mobileDomain ."?url=" .urlencode($currenturl); $mobileUrl=$mobileUrl."&dm_redirected=true"; header("Location: ".$mobileUrl); exit; } } ?> If it works please give me a review!
$10 USD in 1 day
5.0 (2 reviews)
0.0
0.0
24 freelancers are bidding on average $24 USD for this job
User Avatar
Hey sir, i want to discuss about job please hit me up in the chat, before you are awarded. I'm ready to start immediately, Please contact me and let's get this done! If you like my work then we can work long term:) Thanks!
$25 USD in 0 day
4.9 (111 reviews)
6.1
6.1
User Avatar
Greetings! From the information you have given in the project brief the script is using a redirect function from the linked script, and if the function is correctly written and script is being loaded it should work, but need to diagnose it further. Looking forward to hear from you!
$20 USD in 0 day
4.8 (69 reviews)
5.9
5.9
User Avatar
Dear Hiring Manager, Hope you are doing well. I have gone through the requirement and still need some more brief of the project. I have more than 6 years of experience in skills like Open cart, extension Implement/Integration, JavaScript, Css3, Html, Php with its entire framework. Please let me have template URL with list of customization/features. Please let me know when we can discuss it. I am confident to deliver you quality result as per your expectations. I hope we will do something great over here and will be able to keep the long term relationship too. I am looking forward for your positive response. Kindest Regards Gopal
$50 USD in 0 day
4.8 (38 reviews)
4.7
4.7
User Avatar
Hello, Hope you are doing well. I read your project description, Lets have a technical discussion then we understand, negotiate costing, timeline and then we proceed further. Also I shall show my past work when we discuss. Thanks!
$24 USD in 1 day
4.2 (14 reviews)
3.7
3.7
User Avatar
3 + years of exp in wordpress and php level .worked on more than 15 projects and delivered in time with best result and client satisfaction
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi dear, I just read your job description. I have good skill to convert html to word- press, create word press template and vast experience to php,wordpress,html,css,java etc.I can create a amazing design and fully responsive website for multivendor e commerce Website with live tracking dashboard for both seller and admin you. Thanks...
$25 USD in 1 day
5.0 (1 review)
0.0
0.0

About the client

Flag of SWEDEN
Huddinge, Sweden
4.6
73
Payment method verified
Member since Oct 6, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.