How to change relative path in hyperlinks? I have developed site on localhost in XAMPP, in the folder C:\xampp\htdocs\drupLC
Then everything uploaded to the server.
And now all (or many of them) hyperlinks looks like

example.com/drupLC/user
example.com/drupLC/admin (etc).

How can I get rid of drupLC from all hyperlinks? Because my site is not usable.
You may need to:


Check the setting for RewriteBase in .htaccess (e.g make RewriteBase /)
Check the $base_url setting is correct (Should be automatic in D8).
Clear all caches ( Admin > Config > Development > Performance > Clear cache )


If you have inline links in body content with incorrect URLs, that's a different story, but the above may help with the standard stuff.