Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialFrancois van der Hoven
2,026 Points404 error after creating new website
Having installed DesktopServer Limited v3.8.1 I created a new development site in ~/projects/wordpress/. I nominated wpdemo as the site name after choosing "Create a new development website" on the Desktop Server panel. This seems to be OK because I can see the contents of the new website in ~/projects/wordpress/wpdemo.dev/ I have also created a symbolic link within ~/.pow using this command:
ln -s ~/projects/wordpress/wpdemo.dev wpdemo
This also seems to be OK because I can see the same website contents in ~/.pow/wpdemo/
When I visit http://localhost/ in Chrome I can see one Development Website listed: wpdemo.dev. However, if I try to visit the website at http://wpdemo.dev/ or the dashboard at http://wpdemo.dev/wp-admin/ I get a 404 Not Found response. The database button takes me to phpMyAdmin. I can see the new wpdemo database, but it has no tables yet.
When I visit http://localhost in Safari, it tells me that Pow is installed and I am running on version 0.5.0.
Where should I start to look for the cause of my 404 errors?
1 Answer
Tyler Groskreutz
14,793 PointsTry updating your permalinks, and make sure that you have uploaded the .sql file to live version of your website.
Francois van der Hoven
2,026 PointsFrancois van der Hoven
2,026 PointsHi Tyler,
I am following the tutorial "How to install Wordpress on your computer". I therefore do not have any website yet. I therefore do not understand why I should learn about permalinks or .sql files while I am still trying to install Wordpress on my Apple Mac. This is the tutorial that I am following: https://teamtreehouse.com/library/how-to-install-wordpress-on-your-computer/how-to-install-wordpress-on-your-computer/installing-wordpress-with-desktopserver. Does the tutorial require any preparation that I am not aware of?
Regards, Francois