Getting blogdown page to redirect to bookdown site more elegantly

I'm in the process of setting up a website for my lab (via blogdown). I have also created a new bookdown site that will serve as the project site for a student group. Ideally, I'd like a page in my website to automatically redirect to the bookdown site. For example, I want to send people to I have a solution, but it's a bit hacky and I'm wondering if there's a better way I'm not finding.

Things I have tried:

  1. Include bookdown site as external URL in the main menu of my lab website config.toml file.
  • :+1: Sends me to the bookdown site automatically
  • :-1: No direct URL to give to group members
  1. Current solution: Create page in my lab blogdown content folder (group.Rmd) and link to this in the config.toml file. This page then includes an html tag to redirect in the form of:
<meta http-equiv="refresh" content="0; url="> 
  • :+1: External URL that redirects appropriately ( sends to bookdown site)
  • :-1: Kind of laggy, necessarily brings user to the "redirect page" first.

Related questions:

Is there a better way to do this?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.