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

I've got wordpress installed on IIS6 on windows server 2003.

I accidently installed WordPress into a subdirectory so instead of
"mysite.com/wordpress" it went into

I moved the site back to "mysite.com/wordpress" 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,
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You may try this , Move the content back to "mysite.com/wordpress/wordpress" , and now in IIS -> website -> properties -> Home tab -> directory path, Change the path of website to
physical directory which will locate the content of .... "mysite.com/wordpress/wordpress"

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sanjay SantokiCommented:

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
MHenryAuthor Commented:

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.

Sanjay SantokiCommented:

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

Sanjay Santoki
MHenryAuthor Commented:
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.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.