How can I make xyz.com/page1 to be home page?

Discussion in 'HTML & Website Design' started by adsjoint, Dec 11, 2015.

  1. #1
    I have setup a script that uses url/folder name as its home page.
    I want the index page to be above page or show above page's content.
    Does it require a htaccess rewire rule?

    Or is there another simpler option?
     
    adsjoint, Dec 11, 2015 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    While you could use a redirect or rewriterule to do this, I have to ask...

    Why didn't you just put it in the root in the first blasted place?
     
    deathshadow, Dec 12, 2015 IP
  3. Aatma

    Aatma Well-Known Member

    Messages:
    1,233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Last edited: Dec 12, 2015
    Aatma, Dec 12, 2015 IP