[solved] Getting Rid of the Index.php

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

[solved] Getting Rid of the Index.php

Post 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?
Last edited by slloyd on Fri Sep 14, 2007 4:28 pm, edited 1 time in total.
cyberman

Re: Getting Rid of the Index.php

Post by cyberman »

I think it's "only" a question of URL rewriting you can do with mod_rewrite.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Getting Rid of the Index.php

Post by slloyd »

Please excuse my ignorance, but does that mean it will change my existing links?
cyberman

Re: Getting Rid of the Index.php

Post by cyberman »

mod_rewrite is an Apache / server module which allows the rewriting of URL which is shown.

Links will not changed.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Getting Rid of the Index.php

Post 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!
Pierre M.

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

Post 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.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

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

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

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

Post by calguy1000 »

Then google is your friend.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

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

Post by halm »

;)
"One measures a circle, beginning anywhere" - Charles Fort
Post Reply

Return to “CMSMS Core”