When a link in my calendar is clicked, the url removes the question mark from index.php. I need the question mark in the url, because without it some of my page does not display. It’s hard for me to explain, but here is a code snippet:
{exp:channel:calendar switch="calendarToday|calendarCell"}
{if entries}<td class='{switch}' align='center'><a href="http://{day_path=kb/events}">{day_number}</a></td>{/if}
{/exp:channel:calendar}To see it in action, go to my homepage: http://www.myincfoundation.com
And click the link on Feb 16th in my calendar on the right hand side.
It goes to http://www.myincfoundation.com/index.php/kb/events/2013/02/16
and it should go to http://www.myincfoundation.com/index.php?/kb/events/2013/02/16
The only difference is that the question mark is removed from the link from my calendar. So the page you are taken to does not show my header image. If I add the “?” to index.php, my header image shows.
I found a forum here that explains that you could remove the question mark from expressionengine/config/config.php:
$config['index_page'] = "index.php?";I tried this and cleared my browser cache and clicked the link in my calendar again, but it still did not fix the issue of displaying my header image. Whether or not the question mark was added or removed from my config file, my header image still did not show.
What could be the problem here?