Advertisement:

Author Topic: Rename index.php  (Read 66392 times)

Offline Thantos

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 16,163
  • Gender: Male
Rename index.php
« on: November 27, 2005, 11:17:01 PM »
To rename the forum's index.php file do the following:

Rename the actual file.
Open QueryString.php in your Sources directory
Find $scripturl = $boardurl . '/index.php';
And change index.php to whatever filename you want.

Offline Leipe Po

  • Sr. Member
  • ****
  • Posts: 700
  • Gender: Male
  • Bookmark Mod 1.0
    • PhpScripters(under construction)
Re: Rename index.php
« Reply #1 on: November 28, 2005, 01:21:07 PM »
wahaahaha i really needed this, and withing 3 mouse clicks found it, good job and thank a bunch
There is only one thing more importend to me then coding:
My Girlfriend

Microsoft - "You've got questions.  We've got dancing paperclips."

Offline Neol

  • Full Member
  • ***
  • Posts: 472
  • Gender: Male
  • ##########
Re: Rename index.php
« Reply #2 on: June 27, 2007, 07:53:37 PM »
What is the point of this?

Offline Flying Drupalist

  • Jr. Member
  • **
  • Posts: 294
    • http://www.miydai.com
Re: Rename index.php
« Reply #3 on: June 28, 2007, 12:13:28 PM »
You can build other front pages! OMG THANKS!

babjusi

  • Guest
Re: Rename index.php
« Reply #4 on: June 28, 2007, 12:36:22 PM »
Thanks for this tip Thantos

Offline Flying Drupalist

  • Jr. Member
  • **
  • Posts: 294
    • http://www.miydai.com
Re: Rename index.php
« Reply #5 on: June 29, 2007, 08:45:06 PM »
Really happy that Zeri YT bumped this. :D

Offline jkay

  • Semi-Newbie
  • *
  • Posts: 16
Re: Rename index.php
« Reply #6 on: July 06, 2007, 05:00:04 AM »
How do I create a index page that is of the same template as my forum?

Thanks!

Offline Osmonicar

  • Semi-Newbie
  • *
  • Posts: 27
  • Gender: Male
Re: Rename index.php
« Reply #7 on: July 06, 2007, 06:19:28 AM »
How do I create a index page that is of the same template as my forum?

Thanks!

Just copy the index.php I think?

Offline Harro

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,122
  • Gender: Male
  • I'm watching you
Re: Rename index.php
« Reply #8 on: July 06, 2007, 06:48:00 AM »
You'll have to create it.
Take a look at this topic for a bit more information.

Offline jkay

  • Semi-Newbie
  • *
  • Posts: 16
Re: Rename index.php
« Reply #9 on: July 08, 2007, 03:59:32 PM »
Thanks! I have successfully changed that. I need help with editing the link tree, any idea how I can do that?

http://www.simplemachines.org/community/index.php?topic=181497.msg1154676#msg1154676

Offline Harro

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,122
  • Gender: Male
  • I'm watching you
Re: Rename index.php
« Reply #10 on: July 28, 2007, 12:03:52 PM »
Just replied in that topic. Let me know there if you still need help with it :)

Offline heavyccasey

  • Jr. Member
  • **
  • Posts: 212
Re: Rename index.php
« Reply #11 on: August 01, 2007, 11:58:23 PM »
This was posted in 2005. Does it still work?

Offline Dragooon

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,738
  • Gender: Male
  • I'm bIn
    • ShitizGarg on Facebook
    • Dragooon on GitHub
    • dragooon on LinkedIn
    • SMF-Media
Re: Rename index.php
« Reply #12 on: August 02, 2007, 12:19:38 AM »
Yes it does work.

Offline whosline07

  • Newbie
  • *
  • Posts: 7
Re: Rename index.php
« Reply #13 on: May 13, 2009, 12:03:48 AM »
Quick problem with this, I changed the line to use forums.php instead of index.php, and it did in fact change the url's for the link bar to the correct ones, however none of them work.  Any suggestions?

Offline JBlaze

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,152
    • @fragicide on Twitter
Re: Rename index.php
« Reply #14 on: May 13, 2009, 12:12:13 AM »
You have to rename index.php as well...

Offline whosline07

  • Newbie
  • *
  • Posts: 7
Re: Rename index.php
« Reply #15 on: May 13, 2009, 12:14:39 AM »
Sorry to not mention that, but I did that as well.

Offline JBlaze

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,152
    • @fragicide on Twitter
Re: Rename index.php
« Reply #16 on: May 13, 2009, 12:16:53 AM »
What version forum are you using? If you are using 2.0 you may have to clear your forum cache.

Offline whosline07

  • Newbie
  • *
  • Posts: 7
Re: Rename index.php
« Reply #17 on: May 13, 2009, 12:18:41 AM »
That appears to have solved it thanks a bunch.

Offline JBlaze

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,152
    • @fragicide on Twitter
Re: Rename index.php
« Reply #18 on: May 13, 2009, 12:19:48 AM »
No problem :)

Offline MF30

  • Jr. Member
  • **
  • Posts: 119
    • Futebol Tuga
Re: Rename index.php
« Reply #19 on: August 25, 2009, 04:58:09 PM »
Thanks for the tip. :)