Any way to restrict people that access a page to visit the main website?

[ad_1]

I’m making a portfolio page and I want to seal that page away from my other types of work, ideally people that would access the website through that ‘/portofolio’ page would be redirected to the same page if they try to go to the main website, but if people are coming from the landing page to the portofolio page they shouldn’t be restricted from going back to the other parts of the website.

​

Is such a thing possible?

[ad_2]
1 Comment
  1. Definitely possible, but might require some custom coding. You could setup a redirect that is triggered based on query strings. So for example, redirect users from the landing page by adding a unique key to the URL; eg: [example.com/?key=123456]), then check inside the redirect function if this key is available, and perform the necessary redirection. If you require additional check later on other pages, you can use cookies.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer