Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

.htaccess And Ads


  • Please log in to reply
2 replies to this topic

#1 hintswen

hintswen

  • Members
  • 57 posts
  • OFFLINE
  •  
  • Local time:03:48 AM

Posted 21 January 2006 - 10:33 PM

hi, i was wondering how to place some ad(s) on every page on a site without being abe to remove them from the code of the actual page(ie change the code of the page and take out the code for the ads) I was told that the .htaccess file could be edited to do this for me.

I have alo been told(by my host) that i can use .htaccess files. I was wondering if anyone can link me to a tutorial that can place my ad code at the bottom of every page(like how free hosts put their ads on a page, i'm trying to do something like that)

BC AdBot (Login to Remove)

 


#2 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:03:48 AM

Posted 22 January 2006 - 10:27 AM

I don't see how htaccess will help with ads as it has no effect on the page itself
just the directories, but here's the apache how-to for htaccess.
http://httpd.apache.org/docs/1.3/howto/htaccess.html

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#3 acklan

acklan

    Bleepin' cat's meow


  • Members
  • 8,529 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Baton Rouge, La.
  • Local time:02:48 AM

Posted 22 January 2006 - 01:54 PM

Insert a frame in your templet with the same URL. To change the ad, change the content of the file without rename it. I use to do this with my Limo company to update the event calender, or Specials page.
Have you thought about banner software?
"2007 & 2008 Windows Shell/User Award"




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users