2
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by diafol
0

.htaccess on a windows server? You running Apache or IIS? If IIS, .htaccess won't work - well not without a lot of messing about. IIS should have its own way of providing a 301, but can't help with that as I know v. little about IIS.

Edited by diafol: n/a

0

No. The new server is Apache. The old server was IIS. That is part of the problem.

0

My apologies for not explaining the situation more fully.

The old server (IIS) is no longer. But the aspx links that it used still "live" in Google and I wld like to redirect those aspx links to the new (Apache) server site.

I have had limited success using a 301 redirect in .htaccess; for example:

Redirect 301 /Home.aspx http://www.americascarshow.com/

Works fine. But the example that I opened the post with:

Redirect 301 /Detail.aspx?dct=11&mid=1656 http://www.americascarshow.com/

Does not work nor does any link that has a "?" after the aspx.

So I need a solution to redirect broken links that use the old aspx? nomenclature to the new pages at the site.

0

Ah, I see, you need a regex (wo)man. I'm a complete numpty at regex - anybody else out there?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.