Support » Fixing WordPress » Any page as Index page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • whooami

    (@whooami)


    Member


    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

    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…

    Thanks

    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]
    </IfModule>

    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, …

    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.

    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?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Any page as Index page?’ is closed to new replies.