It’s really up to you.
As a developer, I prefer working locally but if you do not develop but only add/remove/update themes and plugins, then a subdomain can be great.
This way, you can freely break your website without disturbing anyone.
Nowadays, lots of hosts providers are offering to create staging website in one click.
Regards
Related Posts:
- How to Work Seamlessly Between Development, Staging, and Production Sites in wordpress
- WordPress database synch between dev and prod
- Staging a WordPress site with WP-Deploy
- Best practice differences in DB options and wp-config between live, staging and local WordPress environments?
- Using second site as staging area
- Create brand-new re-designed site without affecting live site?
- Staging environment for pages only
- Multiple users working on WordPress admin at the same time [closed]
- How to sync staging to production but keep plugin settings
- WordPress Staging Site
- Staging only for Theme Files and Changes
- Staging Sites: What to push through?
- What are some tools for password protecting a staging site?
- Push from staging to live site?
- Staging site offline
- Locked out when attempting a migratoin
- how to move particular functionality to staging server
- Staging/production deployment on WordPress MultiSite
- git add only modified changes and ignore untracked files
- How to: Easily Move a WordPress Install from Development to Production?
- Best way to initiate a class in a WP plugin?
- Keeping WP database synced across multiple developers using git
- How do you avoid caching during development?
- Strategy On Building Plugin Using Eclipse
- DB connection error after copying a WordPress Multisite instance to a second location
- How do I add version control to my workflow?
- Staging sites, how do you manage synchronising updates in the DB?
- Ways of managing staging and production wordpress sites?
- WordPress as College Application System (Embark)
- Migrate Changes from a Staging Site to Production
- How to edit an existing WordPress theme? [closed]
- Pushing changes from localhost to live server?
- How do you add pages on a staging server, and then move them over to production
- WordPress Active and Development server best practices
- Change management solution for BP-based site?
- Cloning and syncing a WordPress website
- What actions affect files, DB, or both?
- Different color admin bars for dev, staging and production
- Staging Site: Made Public – Security Questions
- Is it possible to import a wordpress backup from a single site in to a multi-site configuration?
- Staging setup for multisite installation
- Best Practice for Syncing Local Development With Staging Development [closed]
- Clone plugins (and settings) to new installation?
- Why WordPress architecture is not pure object oriented and it don’t use MVC pattern? [closed]
- WordPress as thesaurus/dictionnary: what approach?
- Can I develop a WordPress site without a domain?
- Staging sites era: does it still makes sense to develop locally?
- WordPress Multisite – configuring a local development copy
- Is It Always a Best Practice to Decouple the Frontend from the Admin Area When Developing a WordPress Application?
- WordPress staging environment that syncs everything except posts?
- Override database config for WordPress multiblog
- Get Current Menu Location inside Nav_Walker
- Building plugin with changeable custom post type values…advice needed
- Move first half of posts to one parent page, second half to the other page
- WordPress & WooCommerce: Localhost, Staging and production environments and how to sync them without losing data
- Published site reverts without changes to theme
- Migrating hosts, 500 errors and plugin issues
- Localhost to Staging to Development Dynamic WP-CONFIG
- Setup 3 Sites To Connect To 1 Database and Share Data
- How to run subversion and staging environments when running WordPress
- Development environment
- Is there a way to test my code quickly in WordPress environment?
- Publishing WordPress from stage to production server
- production site routes to staging site after cloning
- How best to keep my localhost on Http while my Remote production is on Https
- Custom links in menus not working in multiple environments
- Clone WordPress site from development server to live server
- Custom Post Types database persistance. Why not?
- Getting posts by taxonomy
- How to add testimonials with an image?
- Google Analytics on a staging site
- How do I change the wpstaging.com domain to new domain without damaging the website?
- How to stage a redesigned site on a new webhost while the original site is still live? [closed]
- Select parent page and all its child page but exclude one specific child page
- What is the correct way to set up a staging server and use github for version control?
- Update Pages ONLY from Stage to Live (not products)
- wp-insert-post execute from server?
- Merging new theme and plugins from development site to production
- How to fix mime-type and (after disabling nosniff) 404 errors for css and js files in staging site
- Cloning production site down to local?
- WordPress Staging site is redirecting to live and lost the child theme
- Staging Session Randomly Switched from Secure (https) to Not Secure
- I have a lot of JavaScript erorrs after SSL someone can help me?
- Bedrock WordPress retro-porting to standard WP installation: is this allowed?
- Scripts/styles not loading on cloned WP Site when logged in
- Image paths wrong after migrating with wp-migrate-db-pro media files add-on
- One-way DB Migration Workflow
- How to query a staging database?
- How do I quickly move between 2 local installations and keep them in sync?
- Creating WordPress staging environment software
- Migrating site from stage to production server without particular dev. plugins?
- QA/Staging envirnoment for wordpress sites
- Theme/Plugin/Widget Data and Staging/Production Servers
- Graphic design changes on Staging before moving to Production?
- How can I start Plugin Development?
- Update WooCommerce product price periodically
- How to set up a development/staging site to make major changes to the theme then update on the live site?
- Settings > Permalinks – mod_rewrite ineffective if expression not preceded by /index.php/
- Hide my staging subdomains from search results without impacting the visibility of the root domain
- Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?