title: How to redirect the page to another page using Id
body: <p>For suppose I want to redirect to homepage.php using an ID from the contact page,</p>
  
  <p>here the links are in header.php </p>
  
  <p>like this </p>
  
  <p><code>&lt;a href="index.php#my_blog"&gt;My Blog&lt;/a&gt;</code></p>
  
  <p>where it is working in homepage but not in the coantact page</p>
  
  <p>May I know how to resolve this</p>