Hi to all
I need to filter between abc.co/abcd & abc.co/#abcd. I have an .htaccess file with the following:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
I have tried many variations of the .htaccess file, but I can never get the redirect to the index.php page. I have a virtual host on my local pc which is working correctly:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerAlias abc.con
DocumentRoot /var/www/abc.con
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Any help will be greatly appreciated.
Many thanks.