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;
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
add a comment
|
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
add a comment
|
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
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
webserver
asked Apr 16 at 14:38
user945471user945471
31 bronze badge
31 bronze badge
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
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.
Thanks, that makes sense, I will probably not hide my filename.
– user945471
Apr 16 at 15:02
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Thanks, that makes sense, I will probably not hide my filename.
– user945471
Apr 16 at 15:02
add a comment
|
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.
Thanks, that makes sense, I will probably not hide my filename.
– user945471
Apr 16 at 15:02
add a comment
|
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.
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.
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
add a comment
|
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
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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