Sign in to follow this  
Followers 0
pix6ie

If a web page cannot return an error

4 posts in this topic

Ive noticed this on a few web pages and wondered what it meant, when you go to the home page or login page you can type any directory name into the URL bar and it will always show the same page.

Example:

http://www.example.com/

http://www.example.com/example/

http://www.example.com/example/example 2

All of the above URLs would show the same page as the 1st example.

(These are not meant too be actual links, just the general idea)

If anyone has any advices as to what this means please reply :biggrin:

Edited by pix6ie
0

Share this post


Link to post
Share on other sites

Ive noticed this on a few web pages and wondered what it meant, when you go to the home page or login page you can type any directory name into the URL bar and it will always show the same page.

Example:

http://www.example.com/

http://www.example.com/example/

http://www.example.com/example/example 2

All of the above URLs would show the same page as the 1st example.

(These are not meant too be actual links, just the general idea)

If anyone has any advices as to what this means please reply :biggrin:

domain is probably just forwarded to a different server, in which case the directories would not matter...

when forwarding a domain you can either lock the domain name in the address bar, or show the forwarded address in the bar... my domain is forwarded to a blogspot address... but i have the actual address of the page show...

so http://nyphonejacks.com

http://nyphonejacks.com/example

http://nyphonejacks.com/example2

all go to the same page on the forwarded domain...

i could be wrong.. it is possible that they may have set their 404 page up to redirect to the main directory..

0

Share this post


Link to post
Share on other sites

Ive noticed this on a few web pages and wondered what it meant, when you go to the home page or login page you can type any directory name into the URL bar and it will always show the same page.

Example:

http://www.example.com/

http://www.example.com/example/

http://www.example.com/example/example 2

All of the above URLs would show the same page as the 1st example.

(These are not meant too be actual links, just the general idea)

If anyone has any advices as to what this means please reply :biggrin:

domain is probably just forwarded to a different server, in which case the directories would not matter...

when forwarding a domain you can either lock the domain name in the address bar, or show the forwarded address in the bar... my domain is forwarded to a blogspot address... but i have the actual address of the page show...

so http://nyphonejacks.com

http://nyphonejacks.com/example

http://nyphonejacks.com/example2

all go to the same page on the forwarded domain...

i could be wrong.. it is possible that they may have set their 404 page up to redirect to the main directory..

That makes sense, even if Im already on the main page I can type the directory names and it wont matter, if the 404 page redirects you to the home page will the URL reset too??

0

Share this post


Link to post
Share on other sites

My experiences with it is limited, but I believe mod_rewrite, can achieve the same results you are describing. The URL in the address bar will be whatever the user put in, but the underlying module will "rewrite" the url, showing what is defined by the webmaster.

EDIT: just google, "mod_rewrite examples" and you'll get the idea.

Edited by tekio
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0