prakash Posted April 7, 2008 Share Posted April 7, 2008 I was thinking from some time before is it possible to over-ride some values of code using .htaccess. seriously this is just for learning purpose and not willing to affect any others business. suppose some website will have different google adsense publisher ID as well a channel Id on each page so I wanted to override these values with .htaccess how could it be possible so far ?? any ideas.. Quote Link to comment https://forums.phpfreaks.com/topic/100006-help-is-it-possible-through-htaccess/ Share on other sites More sharing options...
wildteen88 Posted April 7, 2008 Share Posted April 7, 2008 You cannot affect other sites with a .htaccess file. Any settings in the .htaccess will affect your site only. Quote Link to comment https://forums.phpfreaks.com/topic/100006-help-is-it-possible-through-htaccess/#findComment-511402 Share on other sites More sharing options...
prakash Posted April 7, 2008 Author Share Posted April 7, 2008 may be you have mis-understood or may be I am not able to write clearly what I am suppose to say for this line seriously this is just for learning purpose and not willing to affect any others business. but this is not an issue is there any solution on .htaccess for that Quote Link to comment https://forums.phpfreaks.com/topic/100006-help-is-it-possible-through-htaccess/#findComment-511405 Share on other sites More sharing options...
wildteen88 Posted April 8, 2008 Share Posted April 8, 2008 I do not understand what you are trying to do? The .htaccess file is used to override server side settings which will apply for your site only. You cannot use a .htaccess file to modify code already within a html file. Quote Link to comment https://forums.phpfreaks.com/topic/100006-help-is-it-possible-through-htaccess/#findComment-512154 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.