redirect homepage to latest post – can we make the URL show the actual post URL?
-
Hi, thanks for making this plugin and for your help!
I want the homepage of my site to always redirect to the exact URL of my latest blog post.
The format of each of my blog posts have the date in them, for example– https://website.com/june-10-2022/
first i tried going to settings –> reading –> latest post, and it shows my latest post embedded on the homepage, but it doesn’t show the actual URL of the latest post. So it’s not redirecting anywhere.
Then i tried using your wonderful plugin and putting in the URL you provided in the instructions (https://www.website.com/?redirect_to=latest). after putting that code in, the homepage will indeed show the latest post but unfortunately the URL is website.com rather than https://website.com/june-10-2022/ this seems like the latest post is just getting embedded into the hompage Url, rather than an actual redirect. it is the same effect as going to settings -> reading –> latest post
is there a simple solution? it’s important to me that the homepage redirects to the FULL URL of the latest post so that if someone wants to share that day’s post, they don’t just get website.com but the actual full post URL.
any help or advice to this newb much appreciated.`
- The topic ‘redirect homepage to latest post – can we make the URL show the actual post URL?’ is closed to new replies.