Jump to content

Recommended Posts

Hi

I was wondering if anyone knows about something I noticed on websites. I have just uploaded a website to the host that I designed for an organisation. If you hover over any link, the full address appears on the bottom left of the screen. This is normal. Like:

http://www.domainname.com/index.php

 

However I have noticed that on other site they seem to be able to hide the page name somehow so that whatever link you hover over all you get is e.g.:

 

http://www.google.ie/services/

 

or

 

http://office.microsoft.com/en-gb/products/

 

As you can see there is no html or php page name. I would like to do this as it seems to me a better security feature. Any ideas how it's' done?

 

Thanks

first off this isn't a php question

 

2nd, how is that any more secure?

 

3rd, usually servers are setup to automatically look for index.html or index.php or index.whatever so when you do

 

http://www.somesite.com/  in your href="..." it should automatically look for it.

It's very like done with apache mod rewrite. This allows for URLs to be changed. So when a user enters a URL following a certain pattern, the server produces the page that matches that pattern, even though the URL typed in wasn't for that page.

 

Or it could be as the above poster says.

Re-read his post - he's not talking about hiding the whole link, just about 'hiding' the page name, which I suspect is just the url rewrite on whatever site he's talking about. Or it may be as the poster before me mentioned, it's just a matter of the 'index.html' being automatically appended based on server settings.

I know that's what he's referring to - I got it from his original post. But look what he wrote:

 

However I have noticed that on other site they seem to be able to hide the page name somehow so that whatever link you hover over all you get is e.g.:

 

http://www.google.ie/services/

 

or

 

http://office.microsoft.com/en-gb/products/

 

As you can see there is no html or php page name.

 

He just wants to hide the actual file name. He is describing it strangely, by speaking of hovering over the link and seeing the link destination in the bottom of the browser, but what he is speaking of keeping the whole link, minus the page name. Which is done with URL rewrite.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.