I
am using the permalinks feature with %postname% in wordpress to make friendly urls from the posts. I put this code given by wordpress:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /investing/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /investing/index.php
</IfModule>
in the .htaccess file and everything works fine UNLESS the postname, ie title also has the word "investing" (the keyword in the url and the subfolder where the wordpress files are) in it, then it won't work and you get either a wordpress 404 page or the default error page.
Is there something I can add to the code to stop this happening?
My hosting company suggested adding the main url of the site to the blog post title and that does work but then the url is not very SE friendly.
thanks in advance
