is there are anything to do to delete index.php from output html? This is not very "clear"...
In my case its channel array and I call {{entry.url}}... Any idea how could be this fixed / avoid?
Big TNX for any idea!
is there are anything to do to delete index.php from output html? This is not very "clear"...
In my case its channel array and I call {{entry.url}}... Any idea how could be this fixed / avoid?
Big TNX for any idea!
I'd suggest starting with the official docs on removing index.php from your URLS:
https://craftcms.com/support/remove-index.php
https://craftcms.com/support/why-index.php
And if that doesn't help, there are lots more environment-specific things here on Craft SE, you can check.
{{ entry.url }}, but everywhere else, the index.php is being properly removed?
– Brad Bell
Jan 31 '17 at 18:20
I had a case of this awhile back too. Craft will listen on whatever domain you point it to. If your site url (eg in Settings) doesn't actually resolve on the internet yet—or you have it pointed wrong—Craft will assume it doesn't actually work unless you tell otherwise. Drove me nuts for a couple hours one day until I retraced everything and realized I had the testing server URL still stuck in there.
In addition to what everyone else has written, I don't try to troubleshoot these kinds of issues using your regular web browser, use curl -I http://whatever to see what's happening.
test.whatever.com. On the Internet, maybe the DNS hasn't caught up but you had put an entry in your local hosts file to push it out to production. I admit, probably not common but worth thinking about. Some developers don't worry about pointing servers until the site is actually off staging and that switch can take some time.
– RitterKnight
Feb 06 '17 at 23:27
index.phpin URLs... do any of those address your issue? http://craftcms.stackexchange.com/search?q=index.php – Lindsey D Jan 30 '17 at 23:36