|
Posted by Stan McCann on 10/02/19 11:17
"Tony" <someone@somewhere.not> wrote in
news:119nnludt6ke73c@corp.supernews.com:
> "KiwiBrian" <briantoz@ihug.co.nz> wrote in message
> news:d7fi1q$f1v$1@lust.ihug.co.nz...
>> Thanks folks for the replies so far.
>> I was hoping that my Home Page link could go to a special page
>> which had a .php extension and contained the appropriate snippet of
>> php and was automatically actioned.
>> Is this another option?
>> I use this method at present to funnel all outgoing links to a site
>> that I want to monitor the number of visits to from my site using
>> Statcounter. If this method is an option, what would I need in my
>> intermediate page in place of the a href link, which in testing I
>> have triggered manually. I hope I am being clear.
>> TIA
>> Brian Tozer
>
> If you're set on keeping the HTML extension, all I could suggest is
> using JavaScript instead of PHP.
Or set index.html as simply a redirect to index.php?
You'd get better help if you would explain what you are trying to
accomplish. Is there some specific reason for not changing index.html
to index.php? A lot of links hard coded to index.html for instance?
If that is the reason, a redirect should work.
--
Stan McCann "Uncle Pirate" http://stanmccann.us/pirate.html
Webmaster/Computer Center Manager, NMSU at Alamogordo
http://alamo.nmsu.edu/ There are 10 kinds of people.
Those that understand binary and those that don't.
Navigation:
[Reply to this message]
|