You can serve your site on both protocols http and https. This might be problem if you care about SEO (duplicate content).
You can use 301 redirection to force users to be redirected from http to https. Old app will be slightly slower because of redirection but it will be working. This might be problem if you use POST requests. There is 307 redirection but I don’t have any experience with it.
Related Posts:
- WP REST API only returning partial list of users
- Slow REST API calls on self-hosted WordPress [closed]
- POST to a REST API from a wordpress form
- How to Securely and remotely Create new user in wordpress using Rest API
- how to get nonce using json api
- What is the official way to consume the WordPress API? (api.wordpress.org)
- How to get title tag of an external page with http api?
- WordPress JSON API Extend to Create Users [closed]
- Why aren’t tags and categories added in post request to WP Rest API
- POST request not going through?
- Need workaround for insecure XMLHttpRequest endpoint request
- WordPress Theme/Plugin Information API Response to Text and Button
- Extending the API I created to return category names
- Get full page HTML for a non-public WordPress page
- Send PUT remote request with BuddyPress checkbox
- This page didn’t load Google Maps correctly. See the JavaScript console for technical details
- This page didn’t load Google Maps correctly. See the JavaScript console for technical details
- What is an Endpoint?
- How to redirect all HTTP requests to HTTPS
- Constructing requests with URL Query String in Python
- Yahoo! Finance CSV file will not return Dow Jones (^DJI)
- @ converted to %40 in HTTPPost request
- Is there a developers api for craigslist.org
- Custom Tumblr theme wont save because of non-https urls?
- How do you get the API key for Locu?
- Getting “Handshake failed…unexpected packet format” when using WebClient.UploadFile() with “https” when the server has a valid SSL certificate
- ndroid 8: Cleartext HTTP traffic not permitted
- Why am I suddenly getting a “Blocked loading mixed active content” issue in Firefox?
- Https to http redirect using htaccess
- Postman Resolving “Invalid CORS request” for a POST Request
- WP Rest API – How to get featured image
- WordPress Rest API custom endpoint optional param
- WP function/filter for modifying http headers?
- Access WordPress API Outside of WordPress (command-line PHP)
- Create API for single sign-on with 3rd party site
- Why is WordPress redirecting from http to https on a local environment?
- Switch from https back to http
- Set up WP Authentication from External API
- How do I cache (core) API requests?
- Chrome Version 44.0.2403.89 m is trying to force HTTPS
- What is the best way to get directory path for wp-config.php?
- WordPress JSON output
- Retrieving pages with multiple tags using REST API
- how to authenticate for the REST API from a plugin and from command line
- External WordPress API
- WordPress API – Get Drafts
- How do I use the WP REST API plugin and the OAuth Server plugin to allow for registration and login?
- Serving HTTP and HTTPS from one installation
- WP set auth cookie using Ajax is not saved to browser
- Should I store external API data in my WP database or keep it as a transient?
- How to stop WP API endpoint from caching?
- Sending POST Request from server
- How to implement ERP (Enterprise Resource Planning) into WordPress?
- force http canonical tag on https pages
- List Table API – Safe to use?
- API integration with WordPress
- Upgrade to SSL Breaks Admin Dashboard
- How to get the attached gallery in the rest API?
- WP API : date_query parameter
- Gutenberg internal page link search box
- get WP-API by page id
- WordPress.org Support Forum API
- Sync posts from one WordPress site to another
- Authentication/API Questions
- Redirect www to non-www htaccess
- Custom route for WP-API gives “rest_no_route” value
- Connect external web app to wordpress
- How to get all posts (in chunks) via XML-RPC?
- How to add a custom parameter to a WP API default route?
- Get more than 10 posts in a specific category with the wordpress api
- “rest_no_route” – Debug error
- Remove HTTP: from the site URL and just keep // in it
- How are both HTTP and HTTPS versions displaying?
- Passing variables to new page
- utf8 encoding in json rest api
- Developing Themes with React/Angular
- WordPress – https : Css and Js files are not working (load on http instead of https)
- Authentication for a mobile app connected via wp-rest api?
- curl POST work with user meta but not the custom user meta
- Redirect from https to http or from http to https? [closed]
- Implementing the wp json-rest api
- WordPress API – count posts
- API in numbers?
- Does WordPress support a shortcode calling itself from within a shortcode call?
- Stuck with wp_remote_post sending data to an external api on user registration
- API for Post Stats for Self-Hosted WordPress using JetPack [closed]
- Create post with REST API in php with file_get_contents
- How to Hit External REST POST API in WordPress? [closed]
- How to get WordPress Plugins Data in PHP using Plugin API?
- Displaying Content with WP Rest API
- How to integrate Yelp API
- API getting null values with wp_remote_post
- Cant Access Website – Changed HTTP to HTTPs
- Where to find WordPress API changes for each version released
- I am trying to use the Theme Customization API but I keep getting an error
- How do I perform a “get” call to an external API, and then display the JSON results on a page in my WordPress site?
- Custom Post for Locating by Google Maps API
- How to Increase WordPress JSON API Speed?
- Extending WordPress REST API
- Access general settings trough wordpress files