1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Adsense code

Discussion in 'Guidelines / Compliance' started by Sahil72, Dec 26, 2016.

  1. #1
    I've applied for adsense and it's asking me to copy paste a code into my html after <head> tag, but when I go to wordpress theme editor, there are no HTML files only PHP files.
    SEMrush
    Where do I put it? How do I connect my website to adsesne?
     
    Sahil72, Dec 26, 2016 IP
    SEMrush
  2. Furquan Ahmed

    Furquan Ahmed Well-Known Member

    Messages:
    796
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    110
    #2
    You need to past this in header.php file above the closing <head\>
     
    Furquan Ahmed, Dec 27, 2016 IP
  3. pmf123

    pmf123 Notable Member

    Messages:
    1,413
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    215
    #3
    ?>

    adsense code

    <?
     
    pmf123, Dec 27, 2016 IP
  4. vicky paul

    vicky paul Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #4
    Best place for adsense is a sidebar, if your site has a sidebar then I suggest you, place ad code in the sidebar
     
    vicky paul, Jun 24, 2017 IP
  5. iwebsocial

    iwebsocial Well-Known Member

    Messages:
    1,580
    Likes Received:
    53
    Best Answers:
    4
    Trophy Points:
    120
    #5
    Place the code just after the <head> tag. if you are using WordPress then you can use WordPress header and footer file editor plugin.
     
    iwebsocial, May 1, 2018 IP