I have created a blog post and I have displayed a part of it (that is first sentence from the start of the blog post) on the front page. After that, there is a "Read More" link. What I want is that any person who visits the site should be able to click on the link and read the full article displayed on a separate web page.
PROBLEM:
In order to provide a link on the frontpage, I am using the `<a>` tag and for the value of `href` attribute, I right clicked on the `Permalink` (bordered red in the screenshot) and copied the link address. The value was "http://localhost/moodle/blog/index.php?entryid=3".
Now this does not open for people who are not logged in (and rather redirects to `login/index.php` page).
So what should I do so anyone visiting the site can read the blog post by clicking on the `Read More` link displayed on the front page.
A SOLUTION I AM THINKING OF:
As I am already reading the blog post from the database to display its first sentence on the frontpage, should I store the entire blog post as a string and send it to a new page (I create) via `POST` or something, and display it on that newly created page. I am afraid creating a completely new page will pose a security risk?
Note: It is only about one (latest) post I want to link to from the front page.