Jump to content

How to show related articles on my website

Recommended Posts

Im running a website about health and foods. I would like that at the end of each article, it shows other related articles that I have on my website.

Im relatively new with php and mysql so I figure I have to put every page onto a database table. 


I looked already everywhere but all I found is how to do with wordpress. But i'm not using anything like that. 

I made the website myself with css and html and php. 


Can somebody help me with a website where they explain how to do?


Also I would like that automatically it shows my latest articles in a sidebar. Without anytime adding myself manually.


Can anybody help me? 

Share this post

Link to post
Share on other sites

Perhaps a table of keywords for each article, then you can search for other articles that have keywords in common

Share this post

Link to post
Share on other sites

Do you want to show 'other related articles' or do you want to show links to 'other related articles'?


Have you decided how you want it to look? How many related articles you want to show? Perhaps start by attempting to rough out what you think should happen to show related articles and what type of information you would require to be able to link one article to another in such a manner. Have you written any code at all yet? If so, maybe you could post it here.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.