how to make the beginning of the url shorter? - html

I was curious if there would be a way to shorten the beginning of the url. for example I have wlip.net/~name/mysite.com/ How would I be able to get out the wlip.net/~name/ part of the url?

Register mysite.com domain through a registrar, for example Namecheap. When you have the domain, you will need to configure your web server to use it; we can't tell you that without knowing which web server you're using.

You can visit site http://tinyurl.com/
you can make shorten URL.Like this URL navigate to this page itself http://tinyurl.com/86yrnj4

www.cjb.net
or just google the keywords: "short url"
and you will find lots of sites who could help you with that.

Related

How to create Click To Call Link WITHOUT html

I am building 360 Virtual Tour website page using software. I want to setup click-to-call using URL links, WITHOUT "tel:". Normally we would use -> a href="tel:6281234567890" HTML code. But the software requires a proper link to start with "http://" or "https://", so the software rejected "tel:" link.
Research online so far only came up with "how to build click to call link using HTML". I want to build click to call link WITHOUT HTML.
Seems like a common requirements, but nobody is talking enough about it. So, Possible?
Found another Wordpress URL Shortener plugin that asks for "http" based link too, and they do not accept "tel:" link. Any recommendations that can do this will be deeply appreciated.
Try :
javascript:window.open('tel:6281234567890')

Create a link that can later be customized to different URL

I would like to create a link that I can customize later.
For example,
I create a href link in the footer of the website I developed for my client with the URL that forwards to my current Web design website.
In the future, if I have to change my Web design website URL I will just customize that footer link forward destination to another one without having to access the CPanel of my client's website.
Please tell me how is it possible to do. Is this possible to with any link shortener services?
The usual way to do this is to set up a redirect from your old site to your new, with a 301 status code. This is easily done with a simple configuration directive in your web server config.
I doubt if there is any link generator service that let you change the redirection link after generated.
If you will be able to access your previous url, link it with redirection page that will redirect client into your current url.
Or get a free domain that only works as redirection link.

How to Hide a html-file on the internet

Lets say i have a webb-server. With a domain. Exampel.com and i have a html file on that server. Exampel.com/hidden/name.html
What actions could i take if i wanted this "name.html" never to be found by anyone. Except if i give you the correct URL.
The only thing i can come up with is naming it something very obscure like; xxvpe.html
Obviusly this is a HTML file you need to pay to see. And i know i could hide it using PHP but for this project it wouldent work. It needs to be on the web,
Thankful for any suggestions!
Cheers!
The proper way to "hide" files is to move them out of the web root and deliver them through a proxy that will check some authentication and then send the MIME header and stream out the file upon success.
See: Serving documents outside the web root folder.
Security through obscurity is a bad policy.
Without authentication it is impossible to hide it!
Sure, I's very unlikely someone will guess the URL, but anyone with URL will be able to access it. Also if you want to hide it not to appear on Google, you can do this for example by using
<meta name="robots" content="nofollow">
in your HTML file

Double spelling of url

If I write exemple.com, the web address automatically go to exemple.com/exemple.com, but with www.exemple.com, the website work fine,
I tried to redirect to my index, but the problem still persists.
My .htaccess is empty.
I've stumbled upon this too. Try putting http:// before the url or just write / in the a-href.
But you need to supply us with more information and what you want to achieve for us to help you.

Unsure about website address structure

In my websites normally I use Ajax, so the address is always something like
www.xxx.com for all pages.
But now I read and search in google and I cant understand how is made this type of site:
https://welshare.com/login
https://welshare.com/signup
If I change the address bar to login.php or asp or html the page gives an error.
So my question is, how I can make something like that? is it htaccess?
what is the login? a new page? a module?
If you are using apache as your server, you'll want to look into mod_rewrite. IIS also has an extension for this called URL rewrite.
Edit
To elaborate on how it works: Once you have your rules set up, it will look at the requested URL (say, mysite.com/test) and then on the server side, actually send a request to mysite.com/index.php?page=test. Whatever the output of the request is will be sent back to the user's browser and they will have no idea that that's actually the page that was requested.
mod_rewrite is the way to go. For a very easy to use tutorial click the link.
What is does in a nutshell is take a URL like http://www.example.com/index.asp?page=login and with the right parameters, transforms it into http://www.example.com/login