![]() |
[SOLVED] .htaccess Quick Help
Hi All,
I'm wondering, how would I rewrite this: image.php?u=# to sig_#.png Thanks! - Pc1203 |
Code:
RewriteEngine On |
Well, when I type "http://mydomain.tld/sigs/sig_9.png" I get a 404 error. I placed:
Code:
RewriteEngine On - Pc1203 |
I just tested it on my host and it works. I placed the htaccess file in the same directory as the image.php file.
Btw, I guess that # is only gonna be a numeric value? Maybe try: http://mydomain.tld/sig_9.png ?? Not sure where your image.php file is located. |
Ok, here's where it is:
mydomain.com/dev/profilesys/image.php I'm calling it from: mydomain.com/dev/profilesys/sig_9.png Here is what I want: mydomain.com/dev/profilesys/sig_9.png to point to: mydomain.com/dev/profilesys/image.php?u=9 - Pc1203 __________________________________________________ _______________ EDIT: Here is the "working" code: Code:
RewriteEngine on |
All times are GMT. The time now is 08:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|