My #id is not showing in the url when the user clicks on the anchor tag

The solution is: Just add the page scroll id plugin.

After installing the plugin, Go to the Links behavior section:

Check this option: Append the clicked link’s hash value (e.g. #id) to browser’s URL/address bar.

By doing this, id shows in the URL and when you click the back button after going to the id, the page will come to the own page.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)