Home › Forums › Back End › Use php (instead of .htaccess) to internally redirect to query string? › Re: Use php (instead of .htaccess) to internally redirect to query string?
January 4, 2012 at 7:36 am
#93976
Tcooper
Member
It’s not going to be possible to do exactly what you want with just PHP and no htaccess. At some point it will need to hit a PHP file and those are just directory URLs without doing so. Unless you literally made all the dirs and put an index.php in each lol.
You could do something like http://website.com/index.php/video/music-video and route everything through one file but then your URLs are ugly and the normal solution would be to use htaccess to remove the index.php.