Forum Moderators: open
one other related question.....
I havnt done this yet but im thinking about it.....
I want to make a selection of "stored off" pages as .htm files with the majority of content being made via PHP.
Can i use a image src command to call a PHP file that returns an image but also returns loads of other content as well?
Is this legal in the eyes of a search engine? Im not trying to hide anything i just want my static pages as .htm rather than PHP.
Thanks again
Dave
Can i use a image src command to call a PHP file that returns an image but also returns loads of other content as well?
Ehhhhmmmm (puzzled).. no?!
What you are looking for is (in case of an apache server) the mod_rewrite command that will simply be added to the .htaccess file. There's miilions of ressources out there - here at WW and google, but just to give you a quick starter:
With mod_rewrite you type in "anything your want" (for example mypage.html) in the browser's address field and this module looks up a completely different page (like myconstructedpage.php?var1=blablabla). You can do this file by file or with patterns.