Question

Moving my wordpress install to a sub-folder

Hello,

I’m currently fiddling around with a droplet I created a few weeks ago. I followed the steps to put a default wordpress install on the droplet. However, Ideally I’d like to use the wordpress install for just my blog, and build my own home page.

I have had a little nose around for how to do this, and it seems to be that if I have my wordpress install in a subfolder (the ‘index.php’ file specifically?) then I can just point people at that from my homepage.

So I connected to my droplet using WinSCP and had a look, in ‘root’ all I have is what I suppose is a file, called ‘WORDPRESS’. I have worked with wordpress before, through GoDaddy, and when using their file explorer it appeared that a wordpress install was actually a series of folders, so that got me wondering whether I even had worpress installed correctly?

In short, does it sound like I have wordpress installed correctly? And how would I go about using wordpress just for a blog page on my site?

(Also, I put distribution as ‘Ubuntu’, but to be honest I wasn’t even sure what ‘distribution’ meant! Ubuntu is just what I appear to be running when I log in to the droplet using PuTTY: 'Welcome to Ubuntu 14.04.1 LTS ')

Thanks,

Jack

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Okay, well, it really sounds like MySQL is installed, but I am not sure why your MySQL username and password are not on your wp-config file.

How about this:

move (just temporarily) all of your files from www/blog back to www

once you have that done…log in to your wordpress dashboard.

Go to http://badlymauledboy.co.uk/wp-admin/options-general.php and change your Wordpress Address and Site Address both to http://badlymauledboy.co.uk/blog

click save

move all your files back into blog and then try to log in to http://badlymauledboy.co.uk/blog/wp-admin

Hmm… if you can see the Wordpress dashboard, then you should have all that installed. I wonder what is going on.

Are you able to browse to http://yoursite.com/blog/wp-admin

yes, that will probably be easiest, and most likely you will find yourself using phpMyadmin for many other things.