Remove folders from url using .htaccess issue
<p>Hi So I am trying to remove <code>includes/pages</code>from a url that looks like <code>http://localhost:8888/london/includes/pages/soho-london-guide/</code> For local dev. I am using MAMP and I've enabled <code>mod_rewrite</code> too.</p>

<p>So far I've been trying to use different techniques and here is a list of what I've been using (trying to make it work :((( )</p>

<pre><code>RewriteEngine ON
RewriteRule ^includes/pages/(.*)$ $1 [L,QSA]
</code></pre>

<p>Also</p>

<pre><code>RewriteEngine on
RewriteBase /
RewriteRule ^/includes/pages/(.+)$ /$1 [L,QSA]
</code></pre>

<p>Very very new to .htaccess and regex syntax so any help would be appreciated.</p>