title: How do I set base URL for all pages of my website?
body: <p>How do I set a base URL for my website and get it to include in every page?</p>
  
  <p>Is there a way for me to easily change a variable to be the base url for the website, such as <code>&lt;?php $baseurl = "http://www.website.com/website/"; ?&gt;</code>, and include this on every page so that all CSS, JavaScript, images and PHP includes follow this <code>$baseurl</code>?</p>