the following Rewrite succeeds: (site.com/content/-seo-friendly-url)
RewriteEngine on
RewriteRule ^content-(.*)$ ./get_content.php?url=$1
but this example does not work: (site.com/content/seo-friendly-url)
RewriteEngine on
RewriteRule ^(.*)$ ./get_content.php?url=$1
I get a 500 Internal Server Error
and this gets a 404 Not Found
RewriteRule ^([a-zA-Z0-9-])$ ./get_content.php?url=$1
and this passes 'get_content' as the ($1) parameter to get_content.php with no error
RewriteRule ^(.*)$ get_content.php?url=$1
my goal is to pass the url to get_content.php without a prefix.