Don’t change the urls unless you have moved wordpress. You’ll have to reset you wordpress and blog urls back with these instructions.
Thread Starter
keress
(@keress)
The reason I was trying to change those url’s is that presently all our files have the folder name “blog” following the domain name. We want to get rid of that. I tried doing that by altering permalinks individually, but had no luck. Should we just be resolving to move wordpress to the root? Is that the only/best solution, or is there some other way?
You should read what Jeremy posted. Your permalinks will automatically change if you use this method
Moving WordPress Within Your Site
We want one of our static pages to serve as the first page of the site.
After reading your post more carefully, I think you want to put your wordpress in the root directory, but when you access your site you want the first page to show your website.
http://wordpress.org/support/topic/166522?replies=5
From that thread, as moshu has stated, this cannot be done.
However, I guess you could try editing the .htaccess to load a certain page, see the link:
http://www.webmasterworld.com/forum88/11943.htm
You can follow these directions to move the wordpress files and have the blog show in the root
Thread Starter
keress
(@keress)
Re: “Moving WordPress Within Your Site” instructions:
I had already already uploaded a copy of wordpress to the root, getting ready for the move. Should I delete all that and start over? Or can it be salvaged? Other than the wp-content folder and the configs what really changes? Wouldn’t it be the same considerations as upgrading? (I just did that last week on another site.)
Thread Starter
keress
(@keress)
I got the wordpress files moved over to the root and everything looks good, except for one small detail. I can either see the static ‘home’ page (by selecting that in the settings > reading) or I can see the blog when requesting either http://www.ourdomain.com or http://www.ourdomain.com/index.php if that’s what I’ve got selected in the settings. I don’t know how to call up the blog when the static page is the default. What should I do?
Thread Starter
keress
(@keress)
The .htaccess on the root reads:
#
# BEGIN WordPress
#
<IfModule mod_rewrite.c>
#
RewriteEngine On
#
RewriteBase /
#
RewriteCond %{REQUEST_FILENAME} !-f
#
RewriteCond %{REQUEST_FILENAME} !-d
#
RewriteRule . /index.php [L]
#
</IfModule>
#
#
# END WordPress
#
The index.php reads:
<?php
/* Short and sweet */
define(‘WP_USE_THEMES’, true);
require(‘./wp-blog-header.php’);
?>
Does that look right? Is there anything else controlling the site’s default page that could be amiss?
Thread Starter
keress
(@keress)
Okay, so now I’m thinking maybe I just leave the blog page as default in the settings, and add an .htaccess that will redirect http://www.ourdomain.net/ to the home page.
I’ve tried
Redirect 301 /addiva.net http://www.addiva.net/home/
and
DirectoryIndex /home/
and all kind of variations and nothing is working.
I don’t know how to call up the blog when the static page is the default. What should I do?
Well, for starters… instead of over-complicating everything and screwing up your website again – you should get familiar with the tool you are using. On the very same page where you set the “home” as your “frontpage” select ANOTHER (existing, empty) Page as your “posts page”. Done.
Thread Starter
keress
(@keress)
I’ve got it to work, thanks. But something odd occurred. First I saved an empty page called ‘blog’ and set that as the default posts page. When I tried to call it up, I got an “Index of . . . ” broken page. I tried again, this time making a file named ‘test’ and it worked properly. Is there some reason that a file name of ‘blog’ shouldn’t be used?
Also, I tried to find something about this in the Codex, but couldn’t. Does anybody know of any documentation on this? If someone hadn’t told me about creating an empty Page to do this, I would have never guessed it.
Thanks for the help. Yes, finally, I’m done with this.
File or Page? It’s not he same…
Thread Starter
keress
(@keress)
A Page, not a post.
That dropdown menu only lists Pages.
I didn’t ask about “posts”. You were mentioning Pages and files as if they were interchangeable. They are not.
As for the initial question: do you have a folder or a file named in the same way as your Page? i.e. “blog? – If yes, remove it.
Thread Starter
keress
(@keress)
There’s an old, near empty folder called blog way down off the root. Would that be it?