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 trial

WordPress

Wordpress 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

Seems 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.

Thank you! This helped!

No Problem Jacob , happy i could help :)

Cheers Neil

Matt Campbell
Matt Campbell
9,767 Points

From that url, have you put all of WordPress in a folder called WordPress?