title: Apache Fallback instead of add_rewrite_rule
body: <p>My requirement is to do SEO Friendly URL for an existing site in Wordpress.</p>
  
  <p>For example,</p>
  
  <pre><code>Current URL: http://localhost/test/?pid=19971
  that is the page "test" is rendering the data from some custom plugin. 
  
  My new SEO URL : http://localhost/brand/sub_category/product_name
  Here, Brand, Sub_category and product_name is fetched from the pid..
  </code></pre>
  
  <p>I am populating the data using the following rewrite rule from functions.php,</p>
  
  <pre><code>add_rewrite_rule(MY_DYNAMICALLY_POPULATED_URL.'$ page-test.php?brand='.$brand_name.'&amp;sub='.$sub_category.'&amp;pname='.$product_name.' [L]', 'top');
  </code></pre>
  
  <p>In this code, the <code>page-test.php</code> is placed in the root directory and the data is rendered from that file by passing the <code>brand_name</code>, <code>sub_category</code> and <code>productname</code> to fetch the <strong>pid</strong>. So based on the <strong>pid</strong> each product page is rendered.</p>
  
  <p>This code is working fine for me, When I save the data automatically the data is written in <code>.htaccess</code> and page is rendering with the new SEO URL.</p>
  
  <p>But when my client needs it to do it by FALLBACK in Apache instead of <code>add_rewrite_rule</code> due to some load balancing issue.</p>
  
  <p>So can anyone help me how to do the same with <code>Fallback resource</code>.</p>