Solved

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

Posted on 2012-03-20
5
501 Views
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
"mysite.com/wordpress" it went into
"mysite.com/wordpress/wordpress"

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,
MHenry
0
Comment
Question by:MHenry
  • 2
  • 2
5 Comments
 
LVL 15

Accepted Solution

by:
pcsmitpra earned 250 total points
ID: 37746411
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.
0
 
LVL 11

Assisted Solution

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

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

http://webdesignerwall.com/tutorials/exporting-and-importing-wordpress

Regards,
Sanjay Santoki
0
 
LVL 7

Author Comment

by:MHenry
ID: 37747647
sanjsantoki,

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.

pcsmitpra,
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.

Best,
mh
0
 
LVL 11

Expert Comment

by:Sanjay Santoki
ID: 37748205
Hello,

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

Regards,
Sanjay Santoki
0
 
LVL 7

Author Comment

by:MHenry
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.

mh
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses how to create an extensible mechanism for linked drop downs.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

791 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