encoding - Why are some of my HTML internal links working and others not? -


help, totally new world.

i making menu bar on front page links other pages on site, here example of code:

<ul id="menu"> <li><a href="file:///users/tamborine/downloads/about_page.htm">about</a></li> <li><a href=“file:///users/tamborine/downloads/the_therapist_page.html”>the therapist</a></li> <li><a href=“file:///users/tamborine/downloads/pay_what_you_can_page.htm”>pay can</a></li> <li><a href=“file:///users/tamborine/downloads/projects_we_support_page.htm”>projects support</a></li> <li><a href=“file:///users/tamborine/downloads/resources_page”>resources</a></li> <li><a href=“file:///users/tamborine/downloads/prices_page”>prices</a></li> <li><a href=“file:///users/tamborine/downloads/faq_page.htm”>faq</a></li> </ul> 

when open in browser first link (about) works, others show 'file not found' in browser

i've been searching forums , inspect element shows strange characters not present in html. i'm thinking encoding error? using textedit on mac. tried playing textedit settings, file format plain text, encoding tried utf-8 , ascii no change.

i on computer using notepad , internet explorer when made first page (about) link works now. i'm on mac, textedit , firefox.

ideas? thank kindly

you have smart quotes in first link. smart quotes considered part of url causes browser resolve urls incorrectly.

make sure os x isn't automatically converting double quotes smart double quotes type them. can happen while textedit in plain text mode. go edit > substitutions in textedit , make sure smart quotes unchecked. can disable system-wide in system preferences > keyboard > text > use smart quotes , dashes. can opt fully-featured source code editor sublime text, rather using textedit.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -