Skip to main content

Homepage settings

How can I make "portal" my default homepage?

I went to Dashboard > Settings > Reading > Static Page > Select page.. but cannot find Portal

Feedback please.. thanks

Mat β€Ž

Insta Net /portal slug it is not a WP static page so you can't set it as default in the WP-Admin but you can do it with FluentAuth plugin - redirect all logged users or Subscribers role to url: domain.com/portal

https://fluentauth.com/

If you don't know how to use it then watch the YT by David McCan - awesome explanation (+for me David is a Legend - I am a Big fan of him) that is why I put this link in the unofficial Starter Guide

https://www.youtube.com/watch?v=5t_8rvtrkk4

Insta Net

ok thank you.. I will review this video to learn more about it πŸ™‚

Hoang Hxn

Insta Net You can also redirect pages with SEO Plugins.

Mat β€Ž

Hoang Hxn, BTW: fCommunity it is not a static page so I am not sure if this will work with any SEO plugin for SEO purpose when the /portal is open to Public. When it comes to setting a home page it might work.

Ps. I had a custom 404 snippet that redirected all traffic to my contact page but in this case I could not access the /portal slub since it is not a static page. Once O disabled that snippet then everything works as expected. Not sure if it was on my end or this is the design and wanted behaviour.

Hoang Hxn

Mat, I use Redirect and set 307 it works fine

Mat β€Ž

Hoang Hxn, good to know - either this was fixed or my 404 was too crazy (I bet it was the second answer)

use code snippet for 404 redirects to the main page url (Apex domain) and if 404 redirect is active I cannot access Login url /portal. Once I disable 404 redir then I am able to see and login via /portal. Just letting you know.

Ps. I will try to replicate the code just for fun and see

Insta Net

Hoang Hxn,thanks