Find Jobs
Hire Freelancers

Apache mod_rewrite for more thant 10 querystrings URL

$30-40 USD

In Progress
Posted about 12 years ago

$30-40 USD

Paid on delivery
In my website I have a form with a lot of different parameters. The form is submitted using GET method. I get following URL (actually there are more than 25 parameters): [login to view URL] I want to redirect this url to SEF url (or something similar): http://www.domain.com/makemyday/arg1/arg2/arg3/////not/2012/high//asc/////1 Than i have to get all of the parameters from the last URL to the $_GET or $_REQUEST array in PHP. I have a code for 2 parameters (.htaccess): RewriteCond %{QUERY_STRING} ^aq=([^&]*)&sw=([^&]*) [NC] RewriteRule ^test\.php$ /makemyday/%1/%2? [R=301,L] RewriteRule ^makemyday/(.*)/(.*)/?$ [login to view URL]$1&sw=$2 [L,NC] But this code is not working with more than 9 querystrings and is also not working if query string is empty. WORKING: [login to view URL] NOT WORKING: [login to view URL]
Project ID: 1616789

About the project

2 proposals
Remote project
Active 12 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
Please see PM
$30 USD in 1 day
4.9 (14 reviews)
3.4
3.4
2 freelancers are bidding on average $30 USD for this job
User Avatar
Please check the PMB
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SLOVENIA
Bogojina, Slovenia
5.0
16
Payment method verified
Member since Jun 3, 2011

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.