Forum Moderators: phranque

Message Too Old, No Replies

Help with htaccess file

         

Hekkaten

7:19 pm on Jun 13, 2012 (gmt 0)

10+ Year Member



Hello,
I have a "small" problem.

I have a php file, which creates an image:
For example - [anywebpage.com...]
But, I would like to change it to this format:
[anywebpage.com...]
(Some forums don't accept in [img] tags links without .png, .jpg etc., and that is the problem).
I read that it is possible to do with .htaccess file rewrite.
Maybe you know how to do it?

g1smd

8:02 pm on Jun 13, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The redirect/rewrite question has been asked several times in the last few days. Check recent threads.

As for changing the file type, that's a whole other question. You can't just change the extension and expect things to work. You'll actually need a scripted process to read in one file and create the other.

Please edit your post to follow the instructions in [webmasterworld.com...] as it is currently unreadable. It was only by chance that I noticed the .ttf in the question.