Forums

[resolved] I can't have too index.php ?? (3 posts)

  1. blurfun
    Member
    Posted 3 months ago #

    I creat a index.php to display the posts by date. It works.
    Then i creat index-2.php display the posts by random, i upload this file to FTP it's said "Error 404 - Page Not Found".
    BUT when i change the file name of index-2.php to index.php it works.(of course i have delete the old index.php first)

    Can somebody tell me how to solve this problem. I want browser can read all the posts by date but i also want they can choose read all the posts by random.

    Thank you so much.

  2. fonglh
    Member
    Posted 3 months ago #

    Create another page in WordPress and assign it a page template which randomizes the posts.

    http://codex.wordpress.org/Pages#Page_Templates

  3. blurfun
    Member
    Posted 3 months ago #

    thank you so much.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.