Ubuntu web server, how to hide filename in web addressWeb server on local networkWhy would I install a DNS server on my Ubuntu server?how do i make my website accessible to the internet without a static ip and from a virtual machine?How do I set up my apache server with DynDNS?Trouble configuring Ubuntu web server to display something other than the default pageUbuntu Server 14.04.3 LTS IP address nonexistent

Did Joe Biden "stop a prosecution" into his son in Ukraine? And did he brag about stopping the prosecution?

Can an NPC use the teleport spell to affect an object they can see with the scry spell?

The answer is the same (tricky puzzle!)

Has Boris Johnson ever referred to any of his opponents as "traitors"?

How to cope with being unable to work while waiting for meetings to start

How to catch creatures that can predict the next few minutes?

Can 35 mm film which went through a washing machine still be developed?

Search for something difficult to count/estimate

If I travelled back in time to invest in X company to make a fortune, roughly what is the probability that it would fail?

How fast are we moving relative to the CMB?

Is American Sign Language phonetic?

Can/should you swim in zero G?

Does it require less energy to reach the Sun from Pluto's orbit than from Earth's orbit?

Why is my vegetable stock bitter, but the chicken stock not?

Why do we not always use the closed testing principle for multiple comparisons?

Can I return my ability to cast Wish by using Glyph of warding?

How dangerous are my worn rims?

C - Learning Linked Lists, Pointer Manipulation - Store some ints, print and free memory

Injection from two strings to one string

Determining if auto stats update is in progress

What's the correct way to determine turn order in this situation?

Quote to show students don't have to fear making mistakes

As a girl, how can I voice male characters effectively?

How to "Start as close to the end as possible", and why to do so?



Ubuntu web server, how to hide filename in web address


Web server on local networkWhy would I install a DNS server on my Ubuntu server?how do i make my website accessible to the internet without a static ip and from a virtual machine?How do I set up my apache server with DynDNS?Trouble configuring Ubuntu web server to display something other than the default pageUbuntu Server 14.04.3 LTS IP address nonexistent






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0















I have a website that is called abc123.net and when I got to another page on the website, it takes me to abc123.net/newpage.php. How do I hide the file name of the page I am on? I do not want the newpage.php to be shown in the address bar.










share|improve this question






























    0















    I have a website that is called abc123.net and when I got to another page on the website, it takes me to abc123.net/newpage.php. How do I hide the file name of the page I am on? I do not want the newpage.php to be shown in the address bar.










    share|improve this question


























      0












      0








      0








      I have a website that is called abc123.net and when I got to another page on the website, it takes me to abc123.net/newpage.php. How do I hide the file name of the page I am on? I do not want the newpage.php to be shown in the address bar.










      share|improve this question














      I have a website that is called abc123.net and when I got to another page on the website, it takes me to abc123.net/newpage.php. How do I hide the file name of the page I am on? I do not want the newpage.php to be shown in the address bar.







      webserver






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 16 at 14:38









      user945471user945471

      31 bronze badge




      31 bronze badge























          1 Answer
          1






          active

          oldest

          votes


















          0
















          Don't.



          There's very good reasons for not hiding it. If a user bookmarks something, they expect to be taken to that exact page. If they view the history, they want to find the exact page. Not your front page, like they will with your scheme.



          If you absolutely insist on doing it, you can use a full screen iframe. This requires editing your webpage, not configuring the webserver. Make index.php contain



          <html><head>header</head><body>
          <iframe src="/index2.php" width=100% height=100%>
          </iframe></body></html>


          where index2.php is your real index.



          Again, don't do this. It breaks the experience users expect. It may affect your SEO ranking as well. There's a reason why URLs are structured the way they are.






          share|improve this answer

























          • Thanks, that makes sense, I will probably not hide my filename.

            – user945471
            Apr 16 at 15:02












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134385%2fubuntu-web-server-how-to-hide-filename-in-web-address%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0
















          Don't.



          There's very good reasons for not hiding it. If a user bookmarks something, they expect to be taken to that exact page. If they view the history, they want to find the exact page. Not your front page, like they will with your scheme.



          If you absolutely insist on doing it, you can use a full screen iframe. This requires editing your webpage, not configuring the webserver. Make index.php contain



          <html><head>header</head><body>
          <iframe src="/index2.php" width=100% height=100%>
          </iframe></body></html>


          where index2.php is your real index.



          Again, don't do this. It breaks the experience users expect. It may affect your SEO ranking as well. There's a reason why URLs are structured the way they are.






          share|improve this answer

























          • Thanks, that makes sense, I will probably not hide my filename.

            – user945471
            Apr 16 at 15:02















          0
















          Don't.



          There's very good reasons for not hiding it. If a user bookmarks something, they expect to be taken to that exact page. If they view the history, they want to find the exact page. Not your front page, like they will with your scheme.



          If you absolutely insist on doing it, you can use a full screen iframe. This requires editing your webpage, not configuring the webserver. Make index.php contain



          <html><head>header</head><body>
          <iframe src="/index2.php" width=100% height=100%>
          </iframe></body></html>


          where index2.php is your real index.



          Again, don't do this. It breaks the experience users expect. It may affect your SEO ranking as well. There's a reason why URLs are structured the way they are.






          share|improve this answer

























          • Thanks, that makes sense, I will probably not hide my filename.

            – user945471
            Apr 16 at 15:02













          0














          0










          0









          Don't.



          There's very good reasons for not hiding it. If a user bookmarks something, they expect to be taken to that exact page. If they view the history, they want to find the exact page. Not your front page, like they will with your scheme.



          If you absolutely insist on doing it, you can use a full screen iframe. This requires editing your webpage, not configuring the webserver. Make index.php contain



          <html><head>header</head><body>
          <iframe src="/index2.php" width=100% height=100%>
          </iframe></body></html>


          where index2.php is your real index.



          Again, don't do this. It breaks the experience users expect. It may affect your SEO ranking as well. There's a reason why URLs are structured the way they are.






          share|improve this answer













          Don't.



          There's very good reasons for not hiding it. If a user bookmarks something, they expect to be taken to that exact page. If they view the history, they want to find the exact page. Not your front page, like they will with your scheme.



          If you absolutely insist on doing it, you can use a full screen iframe. This requires editing your webpage, not configuring the webserver. Make index.php contain



          <html><head>header</head><body>
          <iframe src="/index2.php" width=100% height=100%>
          </iframe></body></html>


          where index2.php is your real index.



          Again, don't do this. It breaks the experience users expect. It may affect your SEO ranking as well. There's a reason why URLs are structured the way they are.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 16 at 14:55









          vidarlovidarlo

          13.3k6 gold badges33 silver badges59 bronze badges




          13.3k6 gold badges33 silver badges59 bronze badges















          • Thanks, that makes sense, I will probably not hide my filename.

            – user945471
            Apr 16 at 15:02

















          • Thanks, that makes sense, I will probably not hide my filename.

            – user945471
            Apr 16 at 15:02
















          Thanks, that makes sense, I will probably not hide my filename.

          – user945471
          Apr 16 at 15:02





          Thanks, that makes sense, I will probably not hide my filename.

          – user945471
          Apr 16 at 15:02


















          draft saved

          draft discarded















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134385%2fubuntu-web-server-how-to-hide-filename-in-web-address%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Tamil (spriik) Luke uk diar | Nawigatjuun

          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

          Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?