wixLocation.to not working with blog links

Hello All,

I’m using wixLocation.to to create links to specific blog articles on my site. However, despite the location being set to the specific pages, all of the links send users to the latest blog post as opposed to a specific blog post. Please find the code below. Thanks in advance for the help.

import wixLocation from 'wix-location';

export function slideLink1_click(event) {
 //This is the link also works, however, it sends the user to the article below as opposed to link provided 
    wixLocation.to('/single-post/2018/02/19/Why-Big-Data-Advanced-Analytics-and-Business-Intelligence-Matter-for-You')
}

export function slideLink2_click(event) {
 //This link works, and sends a user to the correct article 
    wixLocation.to('/single-post/Empowering-Energy-Consumers-via-Blockchain-Technology')
}