Find Jobs
Hire Freelancers

Creating a correct htaccess file that will do a 302 redirect of mobile users

$10-30 USD

Completed
Posted almost 9 years ago

$10-30 USD

Paid on delivery
I will soon begin creating a mobile friendly version of our primary website, and for this I need a proper htaccess file the will redirect of mobile users to our subdomain ([login to view URL]). I suspect it will be something along the lines of this (found it somewhere online): -------------------------------------------------- # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /[login to view URL] [L] </IfModule> # END WordPress Options +FollowSymlinks RewriteEngine on RewriteBase / # prevent looping RewriteCond %{HTTP_HOST} !^[login to view URL]$ # if the browser accepts these mime-types, it's definitely mobile, or pretending to be RewriteCond %{HTTP_ACCEPT} "text\/vnd\.wap\.wml|application\/vnd\.wap\.xhtml\+xml" [NC,OR] # a bunch of user agent tests RewriteCond %{HTTP_USER_AGENT} "sony|symbian|nokia|samsung|mobile|windows ce|epoc|opera" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "mini|nitro|j2me|midp-|cldc-|netfront|mot|up\.browser|up\.link|audiovox"[NC,OR] RewriteCond %{HTTP_USER_AGENT} "blackberry|ericsson,|panasonic|philips|sanyo|sharp|sie-"[NC,OR] RewriteCond %{HTTP_USER_AGENT} "portalmmm|blazer|avantgo|danger|palm|series60|palmsource|pocketpc"[NC,OR] RewriteCond %{HTTP_USER_AGENT} "smartphone|rover|ipaq|au-mic,|alcatel|ericy|vodafone\/|wap1\.|wap2\.|iPhone|android"[NC] # rewrite rules here RewriteRule ^(.+)\$ [login to view URL]$1 [R=302,NC] -------------------------------------------------- I need a functional version of this and an explanation of what the individual lines do.
Project ID: 7525287

About the project

5 proposals
Remote project
Active 9 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
Dear Employer, I will give you the solution in 5 mins, it's alredy worikng on my laptopn in development environment. Best Regards, Lajos
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
5 freelancers are bidding on average $23 USD for this job
User Avatar
Dear Hiring Manager, Thank you for this wonderful opportunity. Today Your job posting has caught my attention because I’m keenly considering your job post including these skills. I have excellent experience in Website Designing/Development. I believe my abilities would be perfect for your venture. I can finish this job within the necessary time frame. I am professional website designer/developer. I have years of experience in this field and can provide you my past sample work. I will be serving you with all my hard work and skills. I am expert in the following website designing languages:Joomla, Wordpress,Magento, HTML, PHP, CSS, PSD2HTML, Javascript. “Moving ahead, I can commit 30 hours/week for your job, and my everyday time are flexible. I’m very energized to provide my solutions for your job. Please you can get in touch with me immediately to talk about this place further.” I am mostly on the internet on google messenger and skype. We can talk about there in information in a fast way, if you are fascinated. I hope you'd give me this opportunity. Regards,
$25 USD in 1 day
4.9 (34 reviews)
5.4
5.4
User Avatar
Hello Hiring manager, Greetings.. I am very much sure to complete your job with out of the box quality. I have extensive experience with PHP development and I will be happy to deliver work of top notch quality in short span of time. I have long experience in WordPress, PHP, MySQL, Apache, HTML, CSS, Javascript, jQuery ... I DO NOT ASK FOR ANY MONEY BEFORE COMPLETION OF THE WORK COMPLETELY! Best Regards Anas Ryhan
$25 USD in 1 day
5.0 (5 reviews)
3.4
3.4
User Avatar
Hello i can do the htaccess file and start it immediately. I am a website programmer and website designer from Hong Kong, i am now working at a website design company. Please feel free to message me and select me if you are looking for someone who is good at designing(PHOTOSHOP), website building(PHP/AJAX/MYSQL/JavaScript/HTML/CSS), English typing (WPM ~50) and Chinese typing. I am newbie on freelancer.com, and I can start your job. I will be very very grateful if you can grant me a chance and i will offer you the best price and best service ever. *****I want 5 stars rating and you want best service, please select me :)*****
$21 USD in 1 day
5.0 (1 review)
0.0
0.0

About the client

Flag of DENMARK
Varde, Denmark
5.0
2
Payment method verified
Member since Dec 10, 2012

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.