Page 1 of 1

[solved] Getting Rid of the Index.php

Posted: Fri Sep 14, 2007 3:14 pm
by slloyd
If I change the file to get rid of the index.php, will this change all existing links or just the ones I create from here on out?

Re: Getting Rid of the Index.php

Posted: Fri Sep 14, 2007 3:34 pm
by cyberman
I think it's "only" a question of URL rewriting you can do with mod_rewrite.

Re: Getting Rid of the Index.php

Posted: Fri Sep 14, 2007 3:38 pm
by slloyd
Please excuse my ignorance, but does that mean it will change my existing links?

Re: Getting Rid of the Index.php

Posted: Fri Sep 14, 2007 3:47 pm
by cyberman
mod_rewrite is an Apache / server module which allows the rewriting of URL which is shown.

Links will not changed.

Re: Getting Rid of the Index.php

Posted: Fri Sep 14, 2007 4:28 pm
by slloyd
So are you saying it just shows or doesn't show, but has no affect on the actual URL? I'm not sure I understand what you're saying.

I just changed it to true and it made all my links broken, so I had to change it back. I guess I answered my own question. Solved!

Re: [solved] Getting Rid of the Index.php

Posted: Fri Sep 14, 2007 10:44 pm
by Pierre M.
Hello,

the difference between internal and external URL rewriting is well explained in the mod_rewrite documentation ("From Old to New").

Actually,
all internal CMSms links are like /index.php?page=/some/path/leaf
and external links may be like /some/path/leaf.html thanks to mod_rewrite.

Pierre M.

Re: [solved] Getting Rid of the Index.php

Posted: Fri Sep 14, 2007 11:41 pm
by slloyd
I read the page you listed. Unfortunately, I have no idea what any of that means. All I needed to know was whether my existing URLs would change if I changed mod_rewrite to true. I don't know a darn thing about Apache, php or any other techy stuff! :) But I certainly appreciate you guys trying to explain it! Someday maybe I'll understand it.

Re: [solved] Getting Rid of the Index.php

Posted: Sat Sep 15, 2007 1:09 am
by calguy1000
Then google is your friend.

Re: [solved] Getting Rid of the Index.php

Posted: Tue Sep 18, 2007 6:06 pm
by halm
;)