title: Add prefix to link url in wordpress
body: <p>I want to add image link on wordpress site which redirect the user to the another page of same url but with different prefix. for example
  page url is mydomain.com/post1234 when user click the image on this page it redirect the user to the url mydomain.com/md/post1234</p>
  
  <p>The following code print the current page url on every post page on site but i want to add "md" prefix in the url </p>
  
  <pre><code>&lt;a href="&lt;?php
  $Path=$_SERVER['REQUEST_URI'];
  $URI='http://www.example.com'.$Path;
  ?&gt;"&gt;&lt;img src="&lt;?php bloginfo('template_url'); ?&gt;/images/sgxx.png"&gt;Click Here&lt;/a&gt;
  </code></pre>
  
  <p>Pls suggest the correct code to do this.</p>