Community Forums › Forums › Archived Forums › General Discussion › Home Page – WordPress Install
Tagged: home page, static home page, Wordpress install
- This topic has 3 replies, 3 voices, and was last updated 10 years, 6 months ago by
Craig.
-
AuthorPosts
-
June 8, 2015 at 3:33 am #155322
hobbit1326
ParticipantHi,
I installed my WordPress blog under the /blog directory when I installed.
So, my Home page then is, for example, http://www.installhere.com/blog.
Actually, I wish I had installed the blog under the main directory, http://www.installhere.com, which would be
a static home page or something...and then have a button "Blog" which then pointed to the real blog.Is there a way to create a static "Home" page still, and have it under the main directory? I just would like to have
a page under the main directory that looks like the real blog...with some info and a video or something.I don't want to have to try to create an HTML page for this if I can somehow generate a static page from the blog and use
it under the main directory.Thanks!
June 8, 2015 at 7:12 am #155353Neco
MemberHi,
Just install wordpress in the main directory and then create two pages named "home" and "blog". Then go to the wordpress dashboard > settings > reading and select "home" for static homepage and "blog" for the blog. Then in appearance > menus add the blog page to your menu.
Hope that helps.
June 9, 2015 at 4:07 am #155553hobbit1326
ParticipantThanks for getting back to me on this.
The only thing is...I've already installed WordPress a while ago like I described above. So I was hoping I didn't to to uninstall or delete anything. Sounds like I'd have to start over? I don't know how risky this would be as far as how the current blog looks.
June 9, 2015 at 3:46 pm #155626Craig
MemberYou can change your home page by editing the Site Address under General Settings. There are some instructions to follow, and you need to move your .htaccess file up a level, but it would easily let you create the static front page your looking for without getting too in depth.
However, if you want to move your whole WordPress installation into the root then I would take a full backup, then do the following:
- Go to Settings > General, and change your site url from http://domain.com/blog to http://domain.com. (This will break your site).
- Log in via FTP, enter the /blog directory, then move all of the files up a level to the domain root.
- Visit http://domain.com/wp-admin/ and log in, and save permalinks immediately.
- Install WP DB Search and Replace plugin and replace any instances of domain.com/blog in your database with domain.com.
- Check through your theme files and replace any further instances of /blog.
Now while I'm comfortable doing something like that, depending on your experience level you may not be. Obviously I would suggest taking a full backup first, so that you can restore back to where you were.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.