Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1409 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Marketplace     Services Offered / Looking to Hire     Programming or Coding :

Mod_rewrite needed.

Thread title: Mod_rewrite needed.
Closed Thread    
    Thread tools Search this thread Display Modes  
08-23-2006, 07:00 PM
#1
Austin is offline Austin
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 353
iTrader: 5 / 100%
 

Austin is on a distinguished road

Send a message via Skype™ to Austin

  Old  Mod_rewrite needed.

I willing to pay like 5-10$ for someone to write a full mod_rewrite for my website. I have tried and tried and tried and cannot seem to get it to work. So if your interested then post and Ill get back to you.


sample url: url.com/index.php?a=blah/blah/blah.php

rewritten: url.com/blah/blah/blah.php

08-23-2006, 08:59 PM
#2
iisbum is offline iisbum
iisbum's Avatar
Status: Member
Join date: Oct 2005
Location: Clifton Park, NY, USA
Expertise:
Software:
 
Posts: 273
iTrader: 4 / 100%
 

iisbum is on a distinguished road

  Old

Haven't had a chance to test it, but try this:

PHP Code:
RewriteEngine on

RewriteCond 
%{QUERY_STRING}  ^a=(.*)$
RewriteRule  ^index.php$  /%[R
HTH,
Mubs

08-23-2006, 09:12 PM
#3
Austin is offline Austin
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 353
iTrader: 5 / 100%
 

Austin is on a distinguished road

Send a message via Skype™ to Austin

  Old

That didn't seem to work... see the problem I am having is the fact that the "blah/blah/blah.php" actually exists. But with mod_rewrite it doesn't seem to add it to that "index.php?a=" it just automatically goes to the existing file location. It needs to travel throught he "index.php?a=" so the template system can be applied.

08-23-2006, 09:15 PM
#4
Jordan Street is offline Jordan Street
Status: Member
Join date: Dec 2005
Location: Tampa Fl
Expertise:
Software:
 
Posts: 214
iTrader: 0 / 0%
 

Jordan Street is on a distinguished road

Send a message via AIM to Jordan Street Send a message via MSN to Jordan Street

  Old

nvm not at the moment

08-23-2006, 09:54 PM
#5
am9905d is offline am9905d
Status: Junior Member
Join date: Oct 2005
Location:
Expertise:
Software:
 
Posts: 61
iTrader: 1 / 100%
 

am9905d is on a distinguished road

  Old

You can make a request for a mod rewrite rule here

08-23-2006, 10:30 PM
#6
iisbum is offline iisbum
iisbum's Avatar
Status: Member
Join date: Oct 2005
Location: Clifton Park, NY, USA
Expertise:
Software:
 
Posts: 273
iTrader: 4 / 100%
 

iisbum is on a distinguished road

  Old

Well slap me over the head, I was taking your URLs the wrong way around.

So to rewrite this: url.com/blah/blah/blah.php
Into: url.com/index.php?a=blah/blah/blah.php

Use this:
PHP Code:
RewriteEngine on

RewriteCond 
%{REQUEST_FILENAME}                             !index.php
RewriteRule 
^(.*)$                                          /index.php?a=$[L

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed