Last updated on May 27th, 2018 at 10:08 pm
In our past tutorials we have talked about how to make your Oxwall join page appealing to both you and your users. What about those die-hard twitter lovers who will rather have their visitors see the sign-in page first before any other pages of the website?
Assuming you have just customized your sign-in page like the image above with a ‘register’ banner pointing to your join page and you want that page to be first thing your users see when they visit your website (landing page).
There are three ways to achieve this:
- The Oxwall way
- With a plugin
- and the ‘Manual’ way!
Note: If you need a sign-in page or registration page that is similar to Facebook’s, you can simply purchase the Facebook Clone Plugin and customize it to your taste. It’s safer to use because the pages will not be affected by platform update.
The Oxwall Way
The Oxwall way is the default method of locking your guest visitors out of the entire website contents. This way, visitors who are not logged in will only be able to access the sign-in page.
Since this method redirect guest back to the sign-in page when they follow an internal link, it is the ideal privacy setting if you don’t want non-registered members looking at your internal pages such as forum topics and blog post.
To activate this option, simply go to http://yoursite.com/admin/permissions
From the ‘Guests can view the site’ option box, select No and click save.
When you log out and try visiting your website as a guest, you will notice that you have been redirected to your sign-in page.
Awesome, right?
What if you want your guests to access other pages of your website with your landing page set to the sign-in page?
Well, you can either do this using a plugin or manual coding.
Set your Oxwall Sign-in Page as Landing Page with a Plugin
Using the Oxwall Set Sign-In Page as Landing Page plugin you can set your sign-in page as landing page directly from the admin menu settings page.
The plugin adds a sign-in menu to your top menu items. You easily set your sign in page as the landing page by dragging the Sign In menu to the first place.
Set your Oxwall Sign-in Page as Landing Page with Manual Coding
This mod uses a simple meta refresh code to redirect guest to your sign-in page when they visit your homepage (http://www.yoursite.com/). This method allows guests to access other pages of your website even while your landing page is the Sign-in page.
To proceed, follow the simply create a new static page on the main menu section by navigating to http://yoursite.com/admin/pages/manage
Click to find out more about creating and managing pages in Oxwall. Next, you will have to configure your page to look like the image below:
Page Title: Sign In
Menu Name: Sign In
Choose Local Page as your page address.
Visible For: Guest
Where you have Page meta tags, kindly copy and paste the code below:
<meta http-equiv="refresh" content="0;URL=http://yoursite.com/sign-in/" />
In the Page content box enter:
Welcome, click <a href="http://yoursite.com/sign-in/">here</a> if you are not redirected to the Sign-in page.
Replace yoursite.com with your website address and click the Save button.
Finally, go back to http://yoursite.com/admin/pages/manage and drag the menu item (page) you have created to the first place in the main menu section.
Done? You are good to go, no further action is required. You may want to try logging out to see if your changes worked for you.
Note: ‘Guests can view the site’ option must be set to Yes if you want guest to access other pages of the website.
Feel free to share this article with whoever it may concern or be of help to.
Did you get the answer you were searching for?
Save hours of searching online or wasting money testing unnecessary plugins, get in touch with me and let's discuss a suitable plan for your project. Best thing about this service is that you are never placed on hold and get to talk to an expereinced Oxwall/Skadate developer.
Get Answers for Free!
Ask a question related to this topic and get immediate answers from other community members in 48hrs or less. Contribute by answering members questions.
Ask Question
Premium Service
Whether it's a custom plugin, theme or dedicated support needed to get you started on your project, get professional 24/7 support tailored to your need.
Get in Touch
Or just leave a comment...