开发者

How To Redirect aspx files that are "Not Found"

I recently migrated my site from a aspx site to wordpress. The wp site is now hosted on rackspace cloud.

When I go to index.aspx I get the following message:

Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. etc.

Previous times I have done a migration like this I uploaded a file index.a开发者_StackOverflowspx with a redirection inside and that worked well, but now it doesn't seem to find the file at all.

Nor did a redirect from the htaccess, nor the redirection plugin. I just get that same message.

Any ideas?


I believe Cloud Sites supports the ability to serve both PHP and ASP content from the same "server". I suspect you have "Windows Technology" enabled on your account which is attempting to serve the index.aspx file and ignoring the .htaccess file. The following articles should help:

Cloud Sites KB - How can I redirect from ASP/.NET to PHP?

Cloud Sites KB - How do I enable a secondary technology?


Your server may not be configured to treat *.aspx as html files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜