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

Why won't WordPress recognise and read any of the content I have developed locally when I ftp to my server?

All the files are there in content, everything is ready to be read and yet when I view the site online WordPress completely ignores everything I worked for so long and so hard on and tells me all about how easy it is starting my first blog.

I can't tell you how much screaming agony this is causing me, please anyone, what has happened? How do I fix this?

4 Answers

Dan Ridley
PLUS
Dan Ridley
Courses Plus Student 14,839 Points

Hey Harry,

I believe I had the same problem when I launch my first Wordpress site that I developed. What exactly isn't showing up? is your theme available in the Theme Selection Area?

Dan

Yeah the theme's there and all of the styles have loaded. None of my pages, custom post-types, or posts are though

in an attempt to fix things I managed to ruin the config file so it looks like I might have to start over a little bit. Once I've sorted that out, which I know is a totally separate issue, I'll get back to you if I'm still having problems. Thanks for you interest all the same though.

It appeared I would have to download all of them all over again to activate plugins. They all exist in the file structure but not in the dashboard or on the front-end

............it was a trailing slash at the end of the URL definition in the wp-config. PHP is unforgiving

Dan Ridley
Dan Ridley
Courses Plus Student 14,839 Points

That is so true sir. Watch all your code carefully. I am really glad you were able to find the bug

Jamie Tuffen
Jamie Tuffen
8,042 Points

Can we have a link to the website so we can have a look?

Sure, it's harryfox.me, however, in an attempt to fix things I managed to ruin the config file so it looks like I might have to start over a little bit. Once I've sorted that out, which I know is a totally separate issue, I'll get back to you if I'm still having problems. Thanks for you interest all the same though.

The best method when developing for WordPress is to activate the theme you want to work in and from that point upload your images, pdf files, etc... you can change the css of the template inside of the theme under the "styles options" area. The other way to do this is to edit the style.css sheet from the ftp server.

If you are using plugins, you have to upload the plugins you want to use whenever you choose a theme for a new domain.

I hope this helps,

James Maddox

in an attempt to fix things I managed to ruin the config file so it looks like I might have to start over a little bit. Once I've sorted that out, which I know is a totally separate issue, I'll get back to you if I'm still having problems. Thanks for you interest all the same though.