Pretty urls ("index.php" redirect) not working for homestead or forge
Is it just me or pretty urls aren't working (e.g. mydomain.com/index.php will 301 redirect to mydomain.com).
On my homestead machine, nginx settings as follows
location / {
try_files $uri $uri/ /index.php?$query_string;
}
On forge its the same as well, I can type index.php at the end of my urls and it won't redirect. I'd rather not have Googlebot craw the index.php version too. Is there something I'm missing here?
Posted Aug 20, 2016, 8:51 AM UTC
110