- Issue created by @erwangel
- Default Drupal front page is the Views page /node which list all the "promoted to front page" nodes, i.e. almost all nodes. this leads to a huge number of pages with /node?num_page, a useless listing of poor seo value (at least in my case).
- On the other hand, I have a personalized page (a node using Layout Builder) which serves like "front page" (defined as default front page in "admin/config/system/site-information") and has a personalized alias url "/frontpage".
The problem is that I can't redirect "/node" to "/frontpage". It is impossible to add a redirect to either the "title name" of the customized "front page", or the page url "node/nid_of_frontpage", or the alias "/frontpage". It throws the message "You are attempting to redirect the page to itself. This will result in an infinite loop."
The only redirection I can add is to "/" and to "" but the redirection doesn't work, I can still display "/node?page=num_page".
Disabling the Views doesn't change anything in the redirect behavior, it just result" to a "404 page not found".
-------------------------
If I set "/node" as default front page in config/system/site-information, then I can add a redirection from /node to /frontpage but this loops and ends up with a wod. Unable to access any page and even to phypmyadmin.
DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active...
The way to bring back the site was to manually delete the row in the "redirect" table of the database.
- Create some content with a basic page, give it a custom alias "frontpage"
- Set this page as frontpage in admin/config/system/site-information
- Add a redirect from /page to /frontpage
=> You can't save the redirection and you get the message "You are attempting to redirect the page to itself. This will result in an infinite loop"
Active
1.10
Code