Changing landing page of Drupal to some other port - drupal

I am using Drupal 9 and have implemented Keycloak authentication successfully. Drupal and Keycloak have their own login screens.
My Drupal app's login screen is at localhost/project-name/user/login. In my project I use just Keycloak's authentication and not of Drupal.
So I want to directly open Keycloak's login screen which is at localhost:8080/realms/..... instead of going to Drupal's screen and then clicking Keycloak login button.
In basic site settings of Drupal default front page it expects localhost/project-name to be present so I am not able to land directly to Keycloak's page.
I wanted to know is there any other way I can change the default landing page inside Drupal settings.

Related

How to enable redirect in Drupal 9 on launch of application

I have enabled Keycloak authentication in a website built with Drupal. As soon as I launch the website I want to redirect to Keycloak's login page if the user is not signed in.
Is there any way to achieve this as soon as I open the website
I tried making the default front page of Drupal website as localhost:8080 (which is where Keycloak's login page is present) but was unable to do it.
If you are experienced with writing custom modules, you can write your own implementation of event subscriber. Here is a good example of it:
https://drupal.stackexchange.com/a/223109/5644
If not, then I recommend the module https://www.drupal.org/project/redirect - I am not 100 per cent sure if it lets you to specify redirect only for anonymous but it is definitely worth trying.
I am assuming that the integration with the Keycloak service is working and out of scope of this question.

How to add login page in existing WordPress site

One website was already running in WordPress.
It's a static website.
Now I want to add a login page to this site.
WordPress admin panel login is different.
Now I m asking whoever has access to this site. without a login should not access this site.
I have tried with the ultimate member plugin.
create new login page also
Both cases navigation menu coming with this login page.
any suggestion to create a login page?
Use FORCE LOGIN plugin solve the issue.
Thank you all

Is there a plugin that requires login to view Frontend WordPress site?

We are creating a multi-vendor marketplace, we need our first vendors only to view the site and upload products to it before we launch it for the public to view. The thing is most plugins like Force Login, takes them to the WP-Admin. We don't want them to see the admin page, just only see the site as a front-end user with no access to see the backend.
Simply > Type Url > Get to a login page Landing Page (like how when you log into FB web there's a login page with info about FB) > Vendors Only can Log in a view the FRONT END only site > When time to launch, login in page comes down and visitors all can view it.
Its default feature of wordpress. do hire some developer if you are not aware of base functionalities.

Landing page for SilverStripe Website

I have a SilverStripe blog website set up on my domain and hosting. However, for now when people visit my URL I want them to come to a landing coming soon page as I want to do some marketing and create a small database of users prior to launch.
How can I do this without having to remove the SilverStripe Project from the hosting?
I thought it may be as simple as adding a new index.php page. However, even with this it comes straight into my blog website rather than the landing page I made.
One way to do this is by using this SilverStripe Maintenance Mode Module.
This module allows an administrator to put site in offline mode with 503 status to display a 'Coming Soon', 'Under Construction' or 'Down for Maintenance' Page to regular visitors, whilst allowing a logged in admin user to browse and make changes to the site.
You can customise the maintenance page to say whatever you like.

Login to wordpress website using an existing google

I have a wordpress site.
currently I don't have any login/registration page/form in our website.
I need to create a login page where user can login using an existing google account. it should be the only way to login to our website. Please note, I'm not talking about login page to wordpress admin pages...I'm talking about login page for website.
Steps:
1) user goes to my website
2) click login link
3) navigates to goole sign in page
4) sign in
5) back to the website , the user is logged in
Is there any WP plugin for such case.
TIA, Anna
Bear in mind that the login page for the WP admin pages is the default login screen for users as WP understands them. I don't know what you expect logged-in users to be able to do or see, but you'd have to manage that access at a different level if you're not using the WP users.
If you just want commenting but with Google logins (and others) I'd recommend Disqus.
You need to sign up with Google for this: https://developers.google.com/accounts/ There are several options there like using Google+ log-in, etc.
I haven't seen a wordpress plug-in for it, and even if there is, you'd probably have to register with Google somewhere in the above link because they need to give your specific website permission.
If you want to cut to the chase, look at this link which talks about installing the google button using HTML https://developers.google.com/+/web/signin/add-button

Resources