I have designed a page in html. I have created multiple links ( nav ) in and pointed it with same page section using id. for example, Next and this will display next section. While clicking the link, it updates the URL like ( localhost/myproject/index.html/#next ). But, I need to hide the '#' in that URL. ( localhost/myproject/index.html/next ). We are using nginx configuration. How can be it possible? Thanks in advance...
            Asked
            
        
        
            Active
            
        
            Viewed 212 times
        
    0
            
            
        - 
                    if you use angular try this [http://stackoverflow.com/questions/14319967/angularjs-routing-without-the-hash](http://stackoverflow.com/questions/14319967/angularjs-routing-without-the-hash) – mygeea Apr 15 '16 at 10:33
- 
                    no, i am using plain html – Gugan Abu Apr 15 '16 at 10:34
- 
                    Is this what you're looking for? http://stackoverflow.com/questions/1397329/how-to-remove-the-hash-from-window-location-with-javascript-without-page-refresh and http://stackoverflow.com/questions/15322917/clearing-url-hash . Else Quentin answer is correct. – Bhojendra Rauniyar Apr 15 '16 at 10:38
1 Answers
2
            
            
        It isn't possible.
Fragment identifiers in URLs are handled entirely client side. They are never sent to the server, so the server can't access them.
 
    
    
        Quentin
        
- 914,110
- 126
- 1,211
- 1,335
