Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Servers still looking for a deleted page, has been changed in code

I have edited by menus to go a different page. However the server is still looking for the old address. I am sure I have changed the link and refs in the code.

1 Answer

Aaron Graham
Aaron Graham
18,033 Points

If you could post your code it would probably be easier to help. Off hand though, I would say make sure you refresh your browser. It could be that you're just getting a cached version of the page you updated.

I've implemented a menu using an unordered list:

<ul class="menu">
  <a class="bold" href="index.php">About Us</a>
    <li class="menu"><a href="about/mission.php">Mission</a></li>
    <li><a href="about/philo.php">Philosophy</a></li>
  <a class="bold" href="acad/academics.php">Academics</a>
    <li><a href="acad/mathematics.php">Mathematics</a></li>
    <li><a href="acad/wiriting.php">Wiriting</a></li>
    <li><a href="acad/art.php">Arts & Technology</a></li>
  <a class="bold" href="admiss/admissions.php">Admissions</a>
    <li><a href="admiss/prices.php">Prices</a></li>
    <li><a href="admiss/application.php">Applications</a></li>

however when I run the page from my MAMP server, once clicking the list for mission, the page is looking for http://localhost/First%20Step%20Academy%20/aboutus/mission.html

I have refreshed the page and also restarted the servers This question is trivial but upon searching I haven't found the answer. I was trying to show you my code above however, I am not sure what to wrap my code in order to prevent the browser from processing my HTML

Aaron Graham
Aaron Graham
18,033 Points

I went ahead and fixed your code. If you click "edit" you can see the changes I made to get it to show up. In short, you just add three back-ticks ` (usually by the 1 on your keyboard), before your code and then three back-ticks after your code block. If you look toward the bottom of the page, there should be a link to a markdown cheatsheet. Have a look at that if you are interested in learning more about how you can format your questions.

As far as your problem goes, I can't really see any reason clicking a link to "about/mission.php" would take you to the location you listed. I'm not a MAMP user, so I don't have any direct experience with this, but I was able to find this: http://stackoverflow.com/questions/19079089/mamp-time-between-seeing-live-changes - You might give that a try.