I’ve placed a file on my website, which is accessible at
[url]http://www.mydomain.tld/misc/seo_test/index.php
I want to configure my .htaccess in a way that if someone visit either of the following URLs
[url]http://www.mydomain.tld/misc/seo_test/
[url]http://www.mydomain.tld/misc/seo_test-abc/
[url]http://www.mydomain.tld/misc/seo_test-123/
server should read /misc/seo_test/index.php on each request.
I’ve placed .htaccess into /misc/seo_test directory with following code, which is not working at the moment..
[code]
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^misc/seo_test-(.*)$ /misc/seo_test/index.php
Can you please fix this mod_rewrite code and also let me know if it’s ok to upload this .htaccess file into /misc/seo_test/ directory instead of placing it at ‘/’ (public_html)?