I have a controller named (for example) TheLink, and I can normally access it through mywebsite/index.php/TheLink. Is it possible to make a RewriteRule in htaccess to access it via mywebsite/index.php/The-Link without it redirecting to TheLink? So basically what I want it the URL to say mywebsite/index.php/The-Link (with dash) but use the TheLink controller. I've tried
RewriteRule ^The-Link$ index.php/TheLink [L]
but that just redirects me to the default CodeIgniter 404 Page