Solved

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

Posted on 2012-03-20
5
496 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now