Question

Move Wordpress to /blog/ and have a custom front page (1 click wordpress installation)

  • Posted on April 29, 2014
  • UnknownPAsked by UnknownP

I have a hard time understanding how the one click wordpress installation is set-up.

What I’d like to do is move wordpress from mysite.net (not my real site url) to mysite.net/blog/ and have a new page that I can code myself when you try to access to mysite.net (I’m not really a web coder, so probably nothing fancy). Like this, I could make other stuff mysite.net/whatever/ and such

Can anyone point me to the right direction?


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.

That’s not the “wordpress way”. Create a page (not a post) on your WP website. Under SETTINGS -> READINGS, set that page to be the front page of your site. If you want a blog list page as well, create another page called “Blog” – no need to put any content on it – and from the same settings dialog, specify that as your blog page. Then, add it to your main menu as “Blog”

Well, I did it and it worked. Who knew it was so simple? <br> <br>Well at first the plan was that I wouldn’t relate on the installation that’s installed on wordpress’s user directory, but I suppose it doesn’t really matter in the end. Now I can have a hub page linking to multiples sub-directory (for different projects) all I want. <br> <br>I ran into some problems, but nothing that wasn’t easily fixable. <br> <br>Thanks! <br> <br>If people google this problem and find this, here’s to help you: <br>- So yeah, at the root of the installation I simply made a blog folder and put everything there <br>- Oops, did you forget to change the site’s url in the config? No problems, in your wp-config.php add: <br>define( ‘WP_SITEURL’, ‘http://site.net/blog’ ); <br>define( ‘WP_HOME’, ‘http://site.net/blog’ ); <br>(not my real site url) <br> <br>- Some stuff will be broken, I don’t know if it’s necessary anymore, but the plugin “Velvet Blues Update URLs” might helps here. Just be sure to put the right old URL and right new URL or else it can break things even more <br> <br>- Go to settings > permalink and just click save changes. If it gives you an error, it gives you what to put in the .htaccess manually (Which you could also have forgotten to move, check the previous folder with ll instead of ls, it should show the hidden files) <br> <br>- For some reasons, if your used your theme settings to upload a background or more, the url might be broken. Just reupload your stuff in your theme settings and it should be fine <br> <br>That’s about it <br>

Don’t forget to change the link in the Wordpress settings!