Home > OS >  Is there any way to remove or rename local URL to hide the address?
Is there any way to remove or rename local URL to hide the address?

Time:02-12

I have a html file and use it for my job. when I open this file the URL shows the address of file location in my drive (in this case on my desktop)

file:///C:/Users/Diba1/Desktop/File.html

Is there any way to hide, remove, rename or ... to not show the real address or location of the file? (on this PC or any PC when run)

CodePudding user response:

It is impossible unless you are running it on a server. You can use the .htaccess file to define mod_rewrite rules if you are planning to move it to server. Please look into this tutorial video tutorial to do so.

  • Related