I've integrated Wordpress into my existing website and used WP JSON API to get the content from WordPress, but I don't want the WordPress itself to be available to my viewers.
When I refresh my website (myWebsite.com/blog
), it appends a slash (/
) and goes to myWebsite.com/blog/
, which goes to the WordPress website itself and does not show mine.
How can I make sure that it does not append a slash to the URL and does not go to the WordPress theme when I refresh the page?
define('WP_USE_THEMES', false);
- codex.wordpress.org/Integrating_WordPress_with_Your_Website then remove the WP specific items in your.htaccess
that do redirects