Any page as Index page? (7 posts)

  1. kiza
    Posted 9 years ago #


    How do you make a page as your index page?

  2. whooami
    Posted 9 years ago #

    you name it index.html, index.php, index.cgi, index.htm, index.shtml.. etc..

    or you use something like this in your .htaccess:

    DirectoryIndex myindexpage.html

  3. kiza
    Posted 9 years ago #

    I must have misdescribed my problem...

    I mean..

    In wordpress i can create pages, how can i say that one page i've just created has to be used as my default homepage (index)?

    Also, i've noticed when i create pages, these are set in alphabetical order on my sidebar automaticly which i don't want...


  4. modus
    Posted 9 years ago #

    If you don't mind that your url rather looks like a /directory/ instead of a page, this is what i just found:

    01 install and activate PermaLink Redirect http://fucoder.com/code/permalink-redirect/

    02 get the id of the page that should work as your homepage

    03 open options -> permalinks

    04 activate 'userdefined' and enter /%postname% in the field below

    05 set /. as the category base

    06 open your .htaccess and add the following:

    DirectoryIndex index.php?page_id=X # replace X with the ID of the desired page
    # Either WordPress already did it for you or enter this manually at the bottom of your .htaccess:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    Now your visitors are redirected to domain.xx/pageslug/ when they visit domain.xx/


    Now for your second question:

    Just enter a number in the Page Order field in the edit screen of your page. For your convenience, you should leave some room to move pages around, e.g. setting the numbers in steps of 10,20,30, ...

  5. Chris_K
    Posted 9 years ago #

  6. modus
    Posted 9 years ago #

    Actually i used http://www.semiologic.com/software/static-front/
    , but it kept widgets from being shown on the homepage, if you have set them to be displayed only on a page with that slug (using king text widgets), therefore i had to find a workaround.

    Didn't like to test the second one after this experience, though.

  7. alderic17
    Posted 9 years ago #

    Modus. I too have somewhat of a similar issue. I would like to make a page act just like my index page, but not replace the current. Meaning that myself and other authors can make posts on the page just like it was the main page, etc. The link to this page will still appear on the front page just like another page but when accessed it will require a password. I don't know where to start. Any advice?


Topic Closed

This topic has been closed to new replies.

About this Topic