How do I hide the full url and leave only the main url visible?

Asked

Viewed 243 times

0

I have a website meusite.com I put the version for him on desktop and mobile. When the person accesses, the user agent sees that it is cellular and redirects to the cellular version: meusite.com/ celular But I do not want the address meusite.com/ celular to appear in the url bar (where we type the address of the sites)I want you to keep showing up marrying.com I wonder if it’s possible?

  • I don’t know if it’s mandatory to exhibit the condition of Nomedosite.com in the address bar. But if not you can use a URL shortener like Tinyurl

2 answers

1

This is through a "technique" called "url rewrite" and its implementation depends on the web server you are using.

  • With htaccess? I’ve tried, it doesn’t work.

-2

Just for the following code:

<a href="https://www.google.com">Google</a>

And just change the basics!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.