Browsing issue on the Blog

SOLVE
Occasional Contributor

Hello,

 

We are currently experiencing a problem with the customer's blog => https://blog.brainbox.be

 

At the first display, you have 9 blog items displayed. If you click on "View more news", the following 9 appear.

 

Imagine that you take the 10th article to read and then go back via the browser's back button, it takes you back to the blog to the first 9 articles and not to the 10-18 you had previously clicked.

 

Is there any way to make sure I get back where I was on the previous page?

 

Thank you and have a good day.

 

Greg

 

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Highlighted
Advisor

@GregD in the javascript that's powering the ajax page load, it should also update the url being displayed in the address bar with "/page/2" or what have you on each click. Something like this answer here would do the trick: https://stackoverflow.com/questions/824349/how-do-i-modify-the-url-without-reloading-the-page

--
Stefen Phelps
Web Developer / Co-founder
Kelp Creative Agency
Twitter — @stefen
3 Replies 3
Community Manager

Hey @GregD 

 

Thank you for providing the link and the extra information. I am sure our expert can share their expertise with you.

 

Hey @Stephanie-OG , @stefen and @dennis_e could you please share your knowledge with @GregD ?

 

Thank you

Sharon 

 

Highlighted
Advisor

@GregD in the javascript that's powering the ajax page load, it should also update the url being displayed in the address bar with "/page/2" or what have you on each click. Something like this answer here would do the trick: https://stackoverflow.com/questions/824349/how-do-i-modify-the-url-without-reloading-the-page

--
Stefen Phelps
Web Developer / Co-founder
Kelp Creative Agency
Twitter — @stefen
Occasional Contributor

Hi Stephen, 

 

Thanks for the reply. I'll have a look at it tomorrow and keep you informed.

 

Greg

Reply
0 Upvotes