![]() |
Removing index.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Removing index.php (/showthread.php?tid=32348) |
Removing index.php - El Forum - 07-20-2010 [eluser]HSKrustofsky[/eluser] I know there are a million post on this, but I have been trying to use every example, and my problem has yet to be fixed. I have it to where it successfully removes index.php. The main home page loads, but when I click on a navigation link, nothing shows up like a dead link. Here is my .htaccess file: Code: <IfModule mod_rewrite.c> I checked my Apache settings, and mod_rewrite is activated, and I have already changed everything needed in the config.php file. I have no idea what else to do. Any suggestions? Thanks in advance. Removing index.php - El Forum - 07-20-2010 [eluser]KingSkippus[/eluser] Take the trailing slash off of your RewriteBase line. (/DCS instead of /DCS/) Honestly, I don't know that that's the problem, but in all of the RewriteBase examples I've seen on Apache's web site, they don't have a trailing slash. Also, what is the URL that is trying to be accessed when you click on one of your navigation links? Removing index.php - El Forum - 07-20-2010 [eluser]HSKrustofsky[/eluser] Did what you told me, didn't work. It's all localhost. Using WAMP right now. So my base_url is set to http://localhost/DCS/. Removing index.php - El Forum - 07-20-2010 [eluser]KingSkippus[/eluser] So when you hover over one of your navigation links, or you look at the HTML source, what is the href that it is pointing to? Removing index.php - El Forum - 07-21-2010 [eluser]HSKrustofsky[/eluser] Lets say I am going to the about page. The href is pointing to http://localhost/DCS/about. I think that it's thinking that there needs to have the index.php/ after DCS/, but not finding it. Could that be the issue? |