title: AJAX page is not loading after giving <base href="/"> on page
body: <p>In my website, I edited the whole <strong>htaccess for making user-friendly url</strong>. But after giving the .htaccess file, style for the site is not taking. So I modified all my link of the site like, <strong><a href="http://www.sitename/foldername/filename" rel="nofollow">http://www.sitename/foldername/filename</a></strong>.</p>
  
  <p>my ajax code is:</p>
  
  <pre><code>if(this.id=="cl_onmem"){
              var ccat2='&lt;?php echo $cc2; ?&gt;';
                  $(".right_displayBx").html( ajax_csrh("cfilter1.php","omid=live&amp;ccat2="+ccat2); 
              }
  </code></pre>
  
  <p>my htaccess code is:</p>
  
  <pre><code>Options +FollowSymLinks -MultiViews
      RewriteEngine On
       RewriteBase /Classifieds/
  
      RewriteCond %{THE_REQUEST} ^GET\s([^.]+)\.php\s [NC]
      RewriteRule ^ %1 [R,L]
      RewriteCond %{THE_REQUEST} ^GET\s([^.]+)\.php\?id=([^&amp;\s]+)\&amp;title=([^&amp;\s]+) [NC]
      RewriteRule ^ %1/%2/%3? [R,L]
      RewriteCond %{REQUEST_FILENAME} !-d 
      RewriteCond %{REQUEST_FILENAME}\.php -f 
      RewriteRule ^(.+?)/([^/]+)/?$ $1.php?id=$2&amp;title=$3[QSA,L]
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME}.php -f
      RewriteCond %{QUERY_STRING} ^$
      RewriteRule ^(.*?)/?$ $1.php [L]
  </code></pre>
  
  <p>But after that, the <strong>ajax pages and other pages are repeating</strong> on the page and <strong>showing multiple pages on a single window</strong>..</p>
  
  <p>So I gave <strong></strong> on the top of the page...</p>
  
  <p>But after that <strong>ajax pages on my site are not working..it directly redirecting to the Index...</strong></p>
  
  <p>Anybody Please help me..</p>
  
  <p><strong>Thanks in advance...</strong></p>