Log in

View Full Version : Rename memberlist file


alexgeek
01-21-2008, 09:47 PM
If I rename memberlist.php to members.php how can I change this in settings so that no pages point to memberlist.php anymore?
Thanks!

Will i have to do a find and replace in phrases?

Freesteyelz
01-22-2008, 12:03 AM
Have you tried using the "Replacement Variables"?

/memberlist.php to /members.php

alexgeek
01-22-2008, 04:49 AM
That's a good idea.
Cheers/

Marco van Herwaarden
01-22-2008, 09:43 AM
What is your goal with renaming the file?

alexgeek
01-22-2008, 03:05 PM
I want a cleaner URL for it.
Also I'm editing the file so that it automaticaly sorts by post.. or is there an option for that somewhere?

Marco van Herwaarden
01-23-2008, 08:22 AM
Renaming to get a few charaters off from the URL? That seems like too much work for "nothing". Also this will lead probably to many problems when upgrading etc.. I would not advice to do so.

Freesteyelz
01-23-2008, 10:09 AM
If it's a cleaner URL can't he use a Custom URL Rewrite Rule rather than renaming memberlist.php?

alexgeek
01-23-2008, 05:15 PM
If it's a cleaner URL can't he use a Custom URL Rewrite Rule rather than renaming memberlist.php?
That's basically what im doing.

Opserty
01-23-2008, 05:33 PM
Create members.php and just redirect to/include memberlist.php?

Plus, you should try and refrain from file edits and it will mean a lot of work when it comes to upgrading (copying over file edits from the files)

alexgeek
01-23-2008, 08:54 PM
That's a better idea, will do that