Wordpress on IIS 6 and server 2003. Can't get the site to work with url

Posted on 2012-03-20
Last Modified: 2012-03-26
I've got wordpress installed on IIS6 on windows server 2003.

I accidently installed WordPress into a subdirectory so instead of
"" it went into

I moved the site back to "" but now I can't get it to work right.

I can get the blog to work on the server using localhost but when I try to change it to the actual URL, I get a 404 error. If I change the url in wordpress settings or directly in the database I get the 404. Go back to localhost and it works again.

I'm pretty sure the problem is in the way IIS is pointing to the site but I'm not sure what to do. Everything look's right but it's not working.

Thanks for any help,
Question by:MHenry
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 15

Accepted Solution

pcsmitpra earned 250 total points
ID: 37746411
You may try this , Move the content back to "" , and now in IIS -> website -> properties -> Home tab -> directory path, Change the path of website to
physical directory which will locate the content of .... ""

If it does not works, better to install it again.
LVL 11

Assisted Solution

by:Sanjay Santoki
Sanjay Santoki earned 250 total points
ID: 37747585

You simply need to update website root from within the wordpress database. I am not sure where exactly you have to do it.

Let me find some info for you. Below URL will give you reference of what I am suggesting. If you don't have PHPmyadmin you can access mysql from alternate mysql client application. i.e. Hedisql

Sanjay Santoki

Author Comment

ID: 37747647

I've tried adding the correct URL into the database through phpMyAdmin and also through the wordpress Admin. No luck. It just breaks. That's why I'm thinking it's something in the IIS setup.

I don't want the links to point to two subfolders. I think that just looks bad. And, sad to say, I've done this before and managed to fix it without reinstalling. I just can't remember how I did it.

LVL 11

Expert Comment

by:Sanjay Santoki
ID: 37748205

You try altering Peramlink from WP-Admin and see if it works. Are you using URL rewrite?

Sanjay Santoki

Author Comment

ID: 37755111
So the problem is worse than I thought, can't render any php pages at all.

If I run localhost I can see them fine. But if I navigate to the folder through a browser, can't see anything just a 404 error.


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Increase counter and attr inside a while loop 15 36
PHP SMTP authentication 6 28
xml with php question 5 35
Find RGB colors from a screen. 2 18
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
Introduction This article is intended for those who are new to PHP error handling (  It addresses one of the most common problems that plague beginning PHP develop…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question