I need your help in creating dynamic URL for SEO gains.. I tried to implement the following .htaccess on my present URL. But I got an 500 Internal Server Error
please where could the problem be? Thanks
Link
http://127.0.0.1/index.php?id=1
.htaccess
RewriteEngine on
RewriteRule ^index/([a-zA-Z0-9]+)/$ index.php?id=$1
Apache Error Log
Invalid Command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
/var/log/apache2/error.log
on Linux) - there will be an entry since it's a 500 error. Probably some configuration thing. – Ansaria-Z
andA-z
- which is weird. puta-zA-Z
– AnsariOption -Multiviews
to get it working properly. – Gerben