I read all the documentation on how to remove index.php and I decided to go with the first method (include) and this is what my .htaccess file looks like:
RewriteEngine on
RewriteCond $1 ^(weblog|member|search|forum|site|embeds|products|events|about|contact|gallery|P[0-9]{2,8}) [NC]
RewriteRule ^(.*)$ /index.php?/$1 [L]I also made sure I removed “index.php” from my Admin -> System Preferences -> General Configuration -> “name of your site Index page” field. I went ahead and deleted any reference to index.php that I had in my embedded navigation templates and hardcoded the URLs. All was well until I noticed that my site was not linking to my stylesheet. I then came across a post that instructed me to add the “?” to the end of my index.php in my .htaccess file (i’m on godaddy shared hosting), and that did the trick.
So I’m almost finished getting rid of the index.php in my URLs! But I just have one little problem:
New and old weblogs are adding a question mark to the URLs. Does anybody know why this is happening? Or where I can go to get rid of it?
This is my site: http://www.pawsonpalmer.com/ (i have a redirect that takes users to the events page until I get more stuff done on the homepage). If you go to http://www.pawsonpalmer.com/products and click on any of the product categories in the main content section (not the side navigation) you’ll see it adds the “?” when you hover over any of the icons.
It’s also happening on the events page http://www.pawsonpalmer.com/events when you try to click on an actual post.
Any and all help will be greatly appreciated. Thanks