|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Jun 2003
Location: Vegas
Posts: 3,243
|
Someone told me I can use .htaccess files to call google analytical code.. Has anyone don't this?
|
|
|
|
|
|
#2 |
|
Too lazy to set a custom title
Join Date: Dec 2006
Posts: 23,400
|
Done it, but its tricky because you'll be inserting code into the header... all your scripts in PHP will fuck up..
__________________
i like waffles |
|
|
|
|
|
#3 |
|
Confirmed User
Industry Role:
Join Date: Jun 2003
Location: Vegas
Posts: 3,243
|
ok.. but on static pages it works good.?
|
|
|
|
|
|
#4 |
|
Too lazy to set a custom title
Join Date: Dec 2006
Posts: 23,400
|
Yup, no problem.
Code:
php_value auto_prepend_file "/var/www/domain.com/google.txt" Enjoy.
__________________
i like waffles |
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: Jun 2003
Location: Vegas
Posts: 3,243
|
thanks..
Yea.. I some of my tours static.. so that would be great.. |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
That's what footers and layouts are for. So you don't have to modify 300 files when you want to make just 1 change. I hate it when I take over sites and they just copy and paste the same HTML over and over in every file.
|
|
|
|
|
|
#7 |
|
Confirmed User
Industry Role:
Join Date: Jun 2003
Location: Vegas
Posts: 3,243
|
Yea..
most of my sites have a footer.. and a header... however I know I can append and prepend.. I am just not sure how to inherit the .htaccess to subfolders |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
.htaccess already applies to subfolders
|
|
|
|
|
|
#9 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2003
Posts: 11,089
|
Too bad it messes up the PHP files. A way around that would be golden.
__________________
... |
|
|
|
|
|
#10 |
|
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,422
|
auto_append_file
|
|
|
|