Is underscore allowed in URL?

Should you use an underscore in URLs? Yes, it is allowed but not advisable from an SEO standpoint. Using a hyphen in your URLs is recommended by Google because it makes your website easy to read for humans.

For More Information Please Refer: https://www.studiohawk.com.au/dash-or-underscore-in-url-heres-how-its-affecting-your-seo/