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 trialNthulane Makgato
Courses Plus Student 19,602 PointsI changed the folder name and location of my site after creating and can't log in to my admin although the site works
Working locally, in "htdocs" i created a file called "Sites" then i changed the folder in which i had been working on a treehouse tutorial from "wordpress 2"(downloaded name) to "example". When the local host with "http://localhost:8888/Sites/example/" works but when i add the proverbial "wp-admin/" so that i can make changes, i get "The requested URL /wordpress 2/wp-login.php was not found on this server."
How can i fix this? Can i only change site locations and names before setting up the database and building the site?
1 Answer
Zac Gordon
Treehouse Guest TeacherTry updating this in the wp-config.php: http://codex.wordpress.org/Changing_The_Site_URL#Edit_wp-config.php