bloggurl
Member
Posted 6 years ago #
Hi - I would like my home page to same design as the blog theme.. static. It's important to me that the home page be http://www.mydomain.com and not http://www.mydomain.com/homepage.php (or some other file)
Do I install wordpress in the root of the site or in a subdirectory? there are too many conflicting answers out there - please someone.. with a brand new installation - nothing to backtrack and save - what should I / how do I do this?
This will be on an independently hosted site
You should install wordpress (2.1, 2.0 doesn't have this feature built-in) in the root of the site. Then create two pages, one for your static homepage, and one named blog or whatever you want for a name. Content doesn't matter for the second, some lorem ipsum will do. Then go to wp-admin->options->reading where you can select your static frontpage. For the posts page select the page you created for your blog. That's it.
bloggurl
Member
Posted 6 years ago #
ok thanks - i'm gonna dive in and try
bloggurl
Member
Posted 6 years ago #
I have a further question. can I make it so that http://www.mydomain.com is displayed even though it's really http://www.mydomain.com/homepage.php when someone types only the url http://www.mydomain.com
? This is a rather important step for optimizing a site. If it doesn't do that automatically, can rewrites be written to do this in the .htaccess (not that I know how)?
You could do that, don't know if it's in the .htaccess or in the dns settings though.