Custom 404 page

Hello,

I’m using your custom 404 extension. I created my custom 404 page as well. I’m wondering how I can add the button which redirects to the previous page. Please check the following page. The blue button at the bottom of the body is the button which redirects to previous page.

Summary

https://freelec.co.kr/ajsdlfs

Your prompt reply will be highly appreciated.

Thank you.

Hi There,

To create a back button, please take a look at this article:

<button class="x-btn" onclick="goBack()">Go Back</button>

https://www.w3schools.com/js/tryit.asp?filename=tryjs_history_back

Hope it helps :slight_smile:

Hello Thai,

For future reference, I guess that someone could use the following script on ‘onClick’ attribute without adding the separate javascript code. I’m not sure whether this could apply to all the cases.

javascript:history.go(-1)

Thank you for your great supports.

On behalf of my colleague, you’re welcome. Cheers! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.