Unstoppable Domains

Mod_rewrite expert needed! Good $$ Small job.

Spaceship Spaceship
Watch
Status
Not open for further replies.

itnashvillecom

Account Closed
Impact
1
My .htaccess guy is out for the week, I need help.

I need to keep this directory structure as the user navigates my directory:

/region/city/category/page/t/

I tried this:

Code:
RewriteEngine on
RewriteBase /JOB/

RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

RewriteRule ^(.*)/$ directory.php?region=$1 [L,QSA]
RewriteRule ^(.*)/(.*)/$ directory.php?region=$1&city=$2 [L,QSA]
RewriteRule ^(.*)/(.*)/(.*)/$ directory.php?region=$1&city=$2&cat_name=$3 [L,QSA]
RewriteRule ^(.*)/(.*)/(.*)/(.*)/$ directory.php?region=$1&city=$2&cat_name=$3&p=$4 [L,QSA]
RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/$ directory.php?region=$1&city=$2&cat_name=$3&p=$4&t=$5 [L,QSA]

But only the first link works right. The others dont pass the variables correctly. I will pay $30 (paypal) and 150NP$ for the solution. Need imediately.

The process:

The user chooses a region, next page chooses a city, next page chooses a category, then next is pagenumber, then a last variable named $t.
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
My solution sent!
 
0
•••
Sorry, that didn't work.
 
0
•••
Hi,
Ive sent you a PM with my fix for it.
Let me know if it works fine for you :)


Thanks
 
0
•••
sent a second solution...
 
0
•••
smartie19889 got it first, thanks everyone!
 
0
•••
Glad it all worked for you :)
just awaiting payment.

Thanks
Jason
 
0
•••
Sent:D
 
0
•••
Payment Received.

Thanks again :) any other problems dont hesitate to contact me.

Thanks
Jason
 
0
•••
:td:
i'm the second one... the first of losers...
:tu:
 
0
•••
sorry itnashvillecom i just logged in for the day and saw your pm, I'm glad that you have resolved these issues.
 
0
•••
Status
Not open for further replies.
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back