We’re launching a members-only WordPress site that is only capable of hiding pages/posts; however, part of our content is served up by an API that can’t easily be hidden.

My best solution thus far is to embed a meta redirect to the appropriate URL on a page that I can restrict using our Memberships plugin.

<meta http-equiv="refresh" content="0; url=https://www.example.com/?taxonomy=inventory" />

The only caveat to this method is that the URL is then exposed, and anyone could distribute the source.

Is there any way to use the meta redirect without rewriting the URL? I’ve tried a few things in the .htaccess file, but nothing has really yielded a viable solution.

Read more here: Meta Refresh without URL Rewrite


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: