title: Issue with Main Page Navigation not Updating after pointing site to directory
body: <p>I’ve built a site for a client using a one-page WordPress theme: motorarzt.com </p>
  
  <p>The main navigation on the home page uses Anchors to scroll to the different pages.</p>
  
  <p>I put WordPress in a directory /ma/ and then updated the index.php file and the htacess file as normal. On the main home page the URLS are working fine - and also working fine on the sidebar. </p>
  
  <p>The problem is when I go to a single page with this theme, the main navigation URLs are still showing the directory. Here’s an example: motorarzt.com/services/ </p>
  
  <p>The links should be <a href="http://motorarzt.com/#services" rel="nofollow">http://motorarzt.com/#services</a> NOT <a href="http://motorarzt.com/ma#services" rel="nofollow">http://motorarzt.com/ma#services</a> </p>
  
  <p>Really hoping someone here can help me out...wondering if this is an issue with how the theme is developed and how i may tweak/fix it. </p>
  
  <p>The theme developer provided me this code to add to the "extra javascript" area in the theme option panel - but it DID NOT work. Then he said he's no longer supporting it.</p>
  
  <pre><code>jQuery (document).ready(function($){
  $ ("#menu a").each(function(){
  var old_a = $(this).attr("href");
  var new_a = old_a.replace("ma", "")
  $(this).attr("href", new_a)
  })
  </code></pre>
  
  <p>thanks! 
  Lisa</p>