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 trialJaco Kotzee
Courses Plus Student 20,157 PointsWordpress url query
We have a domain blog.domainname.com
After installation the admin url is: blog.domainname.com/wordpress/wp-admin
What I'd like to know is if the /wordpress/ should be there?
2 Answers
Michael O'Reilly
3,318 PointsSeems like you uploaded a sub-directory /worpdress/ to a sub domain . If you want a a true URL path like so blog.domainname.com/wp-admin , you will need to move all files from the WordPress directory to the root directory.
Then open your themes functions.php file and add the following code just after <?php
update_option('siteurl','http://blog.domainname.com/wp-admin'); update_option('home','http://blog.domainname.com/wp-admin');
Then go to the home page , once you have verified the paths are correct remove the update_options from the functions.php file.
Matt Campbell
9,767 PointsFrom that url, have you put all of WordPress in a folder called WordPress?
Jaco Kotzee
Courses Plus Student 20,157 PointsJaco Kotzee
Courses Plus Student 20,157 PointsThank you! This helped!
Michael O'Reilly
3,318 PointsMichael O'Reilly
3,318 PointsNo Problem Jacob , happy i could help :)
Cheers Neil