WordPress.org

Ready to get started?Download WordPress

Forums

How to make changes so users won't see (3 posts)

  1. musicmakesmelosectrl
    Member
    Posted 1 year ago #

    I want to make some changes to my site without users being able to see. I want to work on a music player for the site, but I know it will take me a while so I don't want it on my main site until it is finished.

    I created a folder in my root directory called "secret" and created an index.php file there. I know you must require the wp-blog-header.php and call the get_header() and get_footer() functions for it to properly work. I then copied what's in my other index.php for the real site and pasted it in there as well.

    There are a lot of calls that my theme uses (like is_front_page() and others) that won't work properly in this new file hierarchy.

    My question is, is there an easy way to exactly replicate my front page so I can make edits to that php file so users will not see these edits until I am ready to release the fully finished page? I can't seem to get it to work correctly.

    Thanks,
    Jason

  2. Good Guy
    Member
    Posted 1 year ago #

    Two ways to do this:

    1) Make your page password protected;
    2) Make your page private.

    See this picture:

    http://tinyurl.com/9ctlwjr

    Hope this helps.

  3. musicmakesmelosectrl
    Member
    Posted 1 year ago #

    I don't think you actually read my post. I more so need to replicate my home page so I can make changes to that replicated page, and then any changes that I make and like I can put on the original one that people will see.

    For example... my website is http://www.startingtofeelit.com

    I want to create another page like http://www.startingtofeelit.com/secret/index.php that looks and functions exactly like my home page so I can edit that /secret/index.php page, and then after I like the changes, make them to the home page at http://www.startingtofeelit.com. Got me?

Topic Closed

This topic has been closed to new replies.

About this Topic