Removing index.php |
[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.
[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?
[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/.
[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?
[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? |
Welcome Guest, Not a member yet? Register Sign In |