Solved

redirect question

Posted on 2013-06-15
1
333 Views
Last Modified: 2013-06-16
I wanted to know in this site

http://www.mednaclinic.com/#!/pageHome

 when I click on the pagemission link or li section it takes me to

http://www.mednaclinic.com/#!/pageMission

Is this pageMission a new page or in .html its refering to...

when #!/ is specified, is there any reason for it, cze i know when href="#" it doesnt redirect the page anywhere so if i do a href="#!/pageMission" this would redirect me to the pageMission page?
0
Comment
Question by:Moizsaif123
1 Comment
 
LVL 23

Accepted Solution

by:
tailoreddigital earned 500 total points
ID: 39250942
"In general URIs as defined by RFC 3986 may contain any of the following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=. Any other character needs to be encoded with the percent-encoding (%hh). Each part of the URI has further restrictions about what characters need to be represented by an percent-encoded word."

I've used # as a place holder in href tags, and doesn't link anywhere (no data transfer protocol).  

Also, in the URL you pointed out above,

http://www.mednaclinic.com/#!/pageMission         # is just a character in the URL, it's not the page being called.   In this URL we are looking for an "index" within a directory called "pageMission", within a directory called "#!".   # is a valid character, but without a protocol and domain, is just a valid character.

So  " if i do a href="#!/pageMission" this would redirect me to the pageMission page? "

Yes, relatively on that domain.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now