PDA

Click to See Complete Forum and Search --> : Help with htaccess modrewrite


neicedover1982
Jul 2nd, 2009, 08:54 PM
I am working on a site and I was hoping to use the htaccess modrewrite to make the site work better.

I want to be able to have a url as "url.com/12345/" where 12345 can be anything. I would like it directed to "account.php?id=12345"

also other urls like "url.com/12345/photos/" to go to "photos.php?id=12345"

there will be many other folders/sub directories.

The biggest problem is that my public server is www.url.com/htaccess but my testing server is www.url.com/test1/htaccess. I cant get the htaccess to work regardless of where the file is.

I hope you understand. I could really use the help.

Neato
Jul 4th, 2009, 01:03 PM
This post should be under XML, HTML, Javascript, Web and CSS (http://www.vbforums.com/forumdisplay.php?f=11).

None-the-less, I just had a similar question, which was answered here (http://www.vbforums.com/showthread.php?t=575063), hope it helps.