The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Automatically add javascript to all pages

Discussion in 'General Discussion' started by steve jacobs, Mar 22, 2017.

  1. steve jacobs

    steve jacobs Registered

    Joined:
    Mar 22, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    chennai
    cPanel Access Level:
    Website Owner
    Hi,
    I need to add javascript code to all the pages of website.
    Can we achieve this automatically add the script by using cPanel admin configuration?


    Thanks in advance.

    Regards
    Steve Jacobs
     
  2. SpaceCowboy

    SpaceCowboy Well-Known Member

    Joined:
    Jan 18, 2014
    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
    I'm no expert but i don't think this is cpanel territory.
    Looks more like your own website design.
    What kind of website is it? Wordpress?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,999
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This isn't supported, but you can search our forums for the term "mod_layout" and you will see threads on using a custom Apache module (and alternatives to this module) for forcing content on all or select websites.

    Thank you.
     
Loading...

Share This Page