I have a new installation of WordPress cymaltrader.com/blog Everything seemed to go okay with the install, however, when I browse cymbaltrader.com, I see the directory and no WordPress. I'm thinking that my default.asp in my root is the problem. This is how I'm directing cymbaltrader.com to the a sub directory: ' ElseIf InStr( UCase(Request.ServerVariables("SERVER_NAME")), UCase("cymbaltrader.com") ) > 0 Then Response.Redirect("/blog") '
This is actually because you have directory browsing enabled through your IIS7 manager. Please view our knowledge base article on how to disable this here
Thanks Many, I was looking for the IIs manager in ''site' and didn't realize I need the IIS7 manager. Now I'm wondering if I should do a new install of WP. I'm getting a redirect error:http://www.cymbaltrader.com/blog/index.php/wp-admin/install.php Doesn't resolve by clearing the cookies or cache. Thanks again, david
Wordpress edits a number of config files on install to include your install paths. It is very hard to move it after that. I agree with Ray, a reinstall is a better option. Alternatively, you could use URL Rewrite to point / to /blog, but you would have to do some good testing on your site to make sure it doesn't break anything - I can't recall off the top of my head what that might break.
Minor tweak to make this work That article says: But I don't find anything like that in IIS7 Manager. I found a Directory Browsing item that specifies what to show in the listing (time, size, etc.) but no way to shut it off. It could be there and I am just going blind, but I solved the problem by highlighting the "wordpress" folder in the left pane, then double clicking the Default Document item and adding "index.php" then making it the top choice. That will filter down to the sub-folders. Walt
There should be a directory browsing module in IIS 7 Manager if you want to stop the server from displaying a list of the files and folders if no default page is found. You can also directly code it in your root. Try looking at this link. http://blogs.iis.net/bills/archive/...-directory-browsing-with-iis7-web-config.aspx