Đã hoàn thành

Redirect mobile users to a separate URL


i have a website which this function worked fine for a long time.

I had some code in the [login to view URL] to do the redirect, but it stopped working all of a sudden. This was working very well for quite some time, then we migrated the website to a new server and this happened.

We are supposed to have the mobile users direct to /url_name and desktop users to the main web page home page.

Site is in wordpress

I tried plugins, they don't work.

Here is the code.

/** function my_mobile_redirect() {

if ( wp_is_mobile() AND is_front_page() ) {

wp_redirect( esc_url(home_url('/home-mobile/')));




add_action( 'template_redirect', 'my_mobile_redirect' );**/

Kĩ năng: WordPress, PHP, HTML, CSS, Javascript

Xem nhiều hơn: know main web site base url magento, common problems mobile users, redirect 301 htaccess dynamic url, redirect losing users, joomla users log url, url home page name, java mobile entrar una url, htaccess redirect mobile users, problems mobile users, free sms send website 500 mobile users, send sms england mobile users, redirect 301 dynamic static url, user name password facility web site, redirect mobile users, redirect mobile users url, detect mobile redirect mobile url

Về Bên Thuê:
( 99 nhận xét ) Sydney, Australia

ID dự án: #20562432

Được trao cho:


Hello there, I'm Alex here, I am full stack senior developer working on web development using latest CMS (WP, Joomla, Magento) etc. Please contact me ASAP. Many thanks.

$30 AUD trong 1 ngày
(44 Đánh Giá)

19 freelancer đang chào giá trung bình $25 cho công việc này


c Hello onpointcreations,I have checked your requirements and I can help you on this project. We are enthusiastic team of developer a help you package for the successful execution of the project with minimum turnaround Thêm

$30 AUD trong 3 ngày
(399 Nhận xét)

No upfront payment. High quality. Less price. We have already designed, developed & successfully delivered many Websites for various business clients in the past. If you provide any reference website or requirements i Thêm

$20 AUD trong 2 ngày
(174 Nhận xét)

Hello Sir, I have read your job description regarding I have 6+ year of experience in this field. I have strong expertise to accomplish this project in decided time frame. Let's discuss in detail so that we never Thêm

$20 AUD trong 7 ngày
(136 Nhận xét)

I have experience of Website in PHP, Laravel, CodeIgnitor, Wordpress, Opencart, Woocommerce, Photoshop, Adobe Illustrator . We also have experience of making Android,Window and iphone application with ionic & phonegap. Thêm

$28 AUD trong 1 ngày
(163 Nhận xét)

Dear Sir/Madam  Greeting of the day…… My years of experience in building a complete website, web and mobile app solutions for both large and small business have given us a unique insight in creating the right website f Thêm

$20 AUD trong 30 ngày
(72 Nhận xét)

Hello, I have gone through your requirement, I can able to fix this issue right now. Please share me the FTP deatails :) I passed WordPress certification and completed more than 152 project successfully on Freelancer Thêm

$20 AUD trong 1 ngày
(118 Nhận xét)

sir message me i can fix this now i am php expert ... sir message me i can fix this now i am php expert ...

$20 AUD trong 1 ngày
(208 Nhận xét)

Hello How are you? I am very interesting about your project. I am expert Online Store design and development, also full time developer, can delivery satisfaction result in short time my good skills is PHP, MySQL,Wordp Thêm

$20 AUD trong 7 ngày
(51 Nhận xét)

Hello! I am a WORPDRESS expert I have checked your project description. I can fix it I guarantee the good result. I will wait for your reply. Thank you.

$20 AUD trong 7 ngày
(25 Nhận xét)

Hello, I am a java Developer.I also have strong knowledge of the skills listed below: 1- java, JavaScript, javafx, Html, CSS. 2- Native Application. 3- Mobile Application. 4- Web Application. 5- SQLite, MySQL. Thêm

$20 AUD trong 7 ngày
(59 Nhận xét)

Hi dear Nice to meet you. ✔I am interesting in your project. ✔I can build your project perfectly with my experience. ✔I am full time developer and my goal was always delivery perfectly results on time ✔I will do my be Thêm

$30 AUD trong 1 ngày
(28 Nhận xét)

Hi, Your requirements are fully clear to me and I am applying only because I meet all the requirements that you are looking for. I have been working as a wordpress developer and designer for more than 6 years and I kn Thêm

$30 AUD trong 1 ngày
(37 Nhận xét)

Hi there, I can easily fix this issue being a full stack web developer. I have got the skills required to do your project. Please initiate a chat to close this deal and I can then start working on it with your permiss Thêm

$50 AUD trong 2 ngày
(14 Nhận xét)

Hello, I am professional wordpress developer. I will fix this code or find or create new code. so that your site will get redirection based on desktop or mobile device. Thanks Sandip B.

$20 AUD trong 1 ngày
(28 Nhận xét)

Dear Sir! I am Web Developer with 5+ years of experiences working on the website. Especially, i'm a good PHP, WordPress, UX Builder, elementor, WP Bakery expert and I have rich expereience about web developing. I recen Thêm

$20 AUD trong 2 ngày
(12 Nhận xét)

Dear Client I see you're looking for Wordpress expert and I am here to discuss it with you. As a professional Wordpress developer and have many experiences for over 3 years. Here is my job history on wordpress. http:// Thêm

$30 AUD trong 5 ngày
(7 Nhận xét)

Hello, Please share the URL of the existing website as well as share the login details, I am ready to help you on this Right Now. Hardeep Singh

$30 AUD trong 2 ngày
(1 Nhận xét)

Hi, Hope that you are doing great. I would like to present my services for the task. I have over 5 years of web development experience. I can help you with the redirection. Looking forward to hearing back from you. Thêm

$25 AUD trong 5 ngày
(0 Nhận xét)