Please help me before i go bald

New to mod_rewrite? This is a good place to start.

Postby dportass » Wed May 08, 2002 9:18 am

Hi

I am constructing a computer peripheral review site in PHP which i feel is a quality language. My site is completely database driven and I pass a few arguments through the url to navigate around it.

The basic jist of it is that i would like to make the non member section static for search engines. the urls are like this

http://www.domain.com/index.php?node=13 ... rateid=736

Is it possible to mod rewrite this link and if so how can I do it without too much difficulty :smile:

I would appreciate any help any one could give me to solve this problem

Dave
dportass
 
Posts: 3
Joined: Tue May 07, 2002 4:00 pm
Location: England

Postby Brett » Wed May 15, 2002 10:16 pm

If you want the URL to be http://domain.com/13/234/736/ , perhaps you could do something like this:

RewriteEngine on
RewriteRule ^(d*)/(d*)/(d*) index.php?node=$1&review_id=$2&rateid=$3

Note, I have not tested this.
Brett
 
Posts: 82
Joined: Tue Jul 10, 2001 4:00 pm
Location: yohost.com


Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 23 guests

cron