April 22, 2015 at 8:38 pm #4510
I am new to WordPress and can’t seem to find a good way to create a website or edit one without having to publish to see the change results. I know I can save as a draft but then I can’t use it to add to a menu because it will not show in the menu list of pages. Also, if a page is already published I don’t see a way to save as a draft. I only see the update button.
It seems like the only way to edit is to have two pages for every page. One that is used to edit and one that is published. Make changes on edit page and then when ready paste entire page on the publish page and update. For new pages I guess publishing doesn’t really make any difference if it is not referenced by a menu some where or by a link.
Am I on the right track here? I hope I am not and that there is a better way.
KenApril 29, 2015 at 1:45 am #4562
We highly apologize for late reply. I hope we still can help you with some suggestions.
If you are developing a site with not-too-many functionality, I think you are, more or less, in the right track. But still you can’t add your page (which you haven’t published yet) in the menu.
In development world, we use staging site. A staging site is:
“Staging site, in website design, is a website used to assemble, test and review its newer versions before it is moved into production – Wikipedia”
As it says, we used to have two sites with everything exactly same. One in production server, and one in staging server (server for staging site). We test in staging site and when we are done, we push the update in live site in the production server.
You can consider your localhost as your staging server too but it’s always better to have same server configuration in both the places. But if you work on localhost, you can move the whole site to production if you want and we have a wonderful FREE plugin called “Domain Replace” for replacing all URLs. Like replacing all existance of “http://localhost/” to “http://www.your-domain.com/”. You can download the plugin from here: https://wordpress.org/plugins/domain-replace/
I hope it helped. Feel free to ask if you have any other questions. Have a nice day.
TonyApril 29, 2015 at 2:02 am #4564
And Ken, during development phase, if you want to hide the site from visitors, you can use Maintenance Mode plugins so that only logged in users (mostly developers in this scenario) can access the site, others will see a landing page saying that your site is in maintenance mode. There are lots of plugins for taking your site to maintenance mode. This one seems to have a good rating: https://wordpress.org/plugins/wp-maintenance-mode/
You can always take a published page to draft mode. Please see the picture below, I hope you will easily understand.
TonyApril 29, 2015 at 2:40 am #4571
I actually did find a way to add a draft page to a menu. Do a search and draft pages will show and they can be added to a menu. I just don’t know what effect there is on the published site.
We us InMotion Hosting and I am doing the developing with WordPress in a subfolder to our current site that uses InMotion Hosting Site Builder. When I finish setting things up in WordPress we will replace the SiteBuilder site. I assume your plugin “Domain Replace” would not do that but would work after that in updating WordPress.
If you are familiar with InMotion Hosting would setting up a second subfolder work as the duplicate site and then would your plugin work? With your plugin does the test site become the new main site and the original site become the test site?
I don’t think the maintenance mode will work. It sounds like it will make the site unavailable and that is not what I want. I want my site to be functioning as normal while I work on the site in the background. When I am ready them publish the changes.
You suggest using the draft. If I have a current page published and then change it to draft does the original page continue to be displayed until I publish the new page information?
For your information I keep forgetting that I can’t reply to your emails and have it be posted. Be nice to have Not not to reply.
KenApril 29, 2015 at 3:00 am #4573
If a page is in draft, it is not published and not visible to the public.
Our “Domain Replace” plugin doesn’t transfer site. You should use it after transferring. For example, you have transferred from “http://www.your-domain.com/testing/” to “http://www.your-domain.com/”, now all your post images and other contents will still look in old url because those urls are already set in database. With domain replace, you can update all those in just one click.
If you don’t want your site to be inaccessible, then either you have to make copies of your pages for testing, or I’m afraid, you have to go for a staging site.
As you keep forgetting, we think many others can think in the same way. We are taking your suggestion seriously and will try to update our emails to remind everytime.
Have a nice day.
You must be logged in to reply to this topic.