I could not find the file in which can delete this line?
Oh sorry I wasn't paying attention. Those two aren't in any templates afaik. They're added by the widget system.
The easiest solution (and probably also the best for SEO purposes) is to put your forum on a subdomain, i.e. forum.example.com
If you want everything on the same server it really depends on the rest of your site. Are these real files that you want to serve? Are these files generated by a CMS? Etc.
@HEESUB-BAE Do either of the imported templates contain conditionals with ELSE?
As far as I know, nested IF..ELSE does not work yet. I was wrong, it works perfectly fine.
I don't think we have a hook for that, I was also looking at the source code and seems like Date.now() is already appended to the url here https://github.com/NodeBB/NodeBB/blob/master/public/src/client/account/edit.js#L189, is your version of nodebb lacking that code?