javascript - How can I hide my page name and extension in the address bar? -


How can I hide my page name and extension in the address bar?

For example, when I click on my "home" link, it will take me in:

www.mysite.com/index.html

But instead I should show this address in the address bar without the page name and extension like:

www.mysite.com /

How are you writing your" home "link?

After saying this, share in /index.html your anchor tag .

In addition, if you want to show the main site URL www.mysite.com for every local link in your site, your site (Photo Gallery, About Us, etc.) ), Wrap your entire website in iframe in an iframe which is the entire space of the viewport that can be changed by changing address bar .

Reference:

The above jsFiddle site this sim shows the description of the Pip Ifframe method. Note that the address bar is always in one place because ifframe is receiving all navigation interactions.

See the address bar to access / show / without Edit page .

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -