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

April 29, 2014 1.3k views
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?
6 Answers
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 never used 1 click wordpress but how hard could it be...
From what I found the wordpress installation is located in /var/www, you have to create a new folder for example blog and move wordpress in the new folder. Next think is to update your web server configuration, in your case Apache, if any are made. The new page you want to create will be located in /var/www, and thats it! Nothing hard I guess.
Hi Alex!

That's actually pretty simple. You just need to move the contents of "/var/www/" to "/var/www/blog" You can do it like:

mkdir /var/www/blog
mv /var/www/* /var/www/blog/

You should now be able to access Wordpress at http://mysite.net/blog

If you cerate a file named index.html in "/var/www/" you'll now see it at http://mysite.net
It's actually located in /home/wordpress/public_html

So, you think if I create a new folder called blog inside public_html and move everything inside it, and then create my new front pages in public_html it will be fine? Hmm, maybe. I'll check it out

Don't forget to change the link in the Wordpress settings!
Well, I did it and it worked. Who knew it was so simple?

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.

I ran into some problems, but nothing that wasn't easily fixable.


If people google this problem and find this, here's to help you:
- So yeah, at the root of the installation I simply made a blog folder and put everything there
- Oops, did you forget to change the site's url in the config? No problems, in your wp-config.php add:
define( 'WP_SITEURL', 'http://site.net/blog' );
define( 'WP_HOME', 'http://site.net/blog' );
(not my real site url)

- 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

- 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)

- 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

That's about it
Have another answer? Share your knowledge.