Are you a Google Analytics enthusiast?
More SEO Content
Posted 05 January 2006 - 10:24 AM
I tried just adding the code to my .htaccess but it didn't work.
Posted 05 January 2006 - 10:41 AM
Make sure to tell them why you want it to work that way, so that they're clear on the fact that all you're trying to do is load a very small tracking module. This should relieve any fears they may have.
Posted 25 January 2006 - 04:23 PM
I contacted my host and they told me to include the following in my .htaccess file and everything would work fine:
However, still when I go to http://www.pipsqueak...1?link=tracking the tracking script doesn't work.
Is my host not configured properly and they misunderstood my question? Am I missing something else? I'm pulling my hair out over here trying to figure it out!
Thanks in advance for any help.
Posted 25 January 2006 - 07:22 PM
A quick test, just in case they're forcing use of long php tags. Where your opening <? tags are that will tell the server that php follows, try using <?php instead.
For example, your require statement would end up looking like:
You would need to do the same thing at the beginning of the include file too if this works.
If you want to see your PHP configuration, create a new file in your editor and place the follwing in it:
Name it whatever you want with a php extension, then upload it to your site. When you call it up in your browser the function should give you lots of details about how PHP is configured. And a few about how Apache is configured. You can even see from this info if short_open_tag is enabled or not.
It's been awhile since I had to deal with it, but I think the one you're looking for in the Apache configuration section is mod_mime. If memory serves that's the one that will allow AddHandler instructions.
Posted 26 January 2006 - 02:14 PM
I'll post in the forum for my hosting company and see if anyone knows anything more.
Does anyone have this code working on their server? I just wonder if it's something in the code that's not working right. Or maybe I set it up wrong. Who knows!
Posted 26 January 2006 - 06:08 PM
(Look for the line that starts with $sql = and says INSERT into link_tracker & #40; to find this one. You can safely change the & #40; into an opening parentheses character.)
This isn't in any way related to your problem though. Yours is that the server isn't preprocessing the php require statement at all. If it was, we wouldn't be able to see it in the source code of your page.
Posted 26 January 2006 - 06:30 PM
I understand what you're saying about the server. I figured that out when I deleted the include file and it made no difference.
So, I'll bring up these problems with my host and also talk to the creator of the modification I'm running with X-Cart that converts my .php pages into .html. I think the answer may lay with however his code works.
Thanks for everything Randy. Hopefully I can report back soon that I got this silly thing working!
All the Best,
Posted 27 January 2006 - 09:48 AM
Thanks for all your help. I'm off to research other options!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users