PeterT Active member Mar 5, 2011 #1 I have an old file in my root directory left over from moving my site from an IIS server and still gets many hits from Google. It is default.asp as my Linux server will not recognise .asp files what is the best way to redirect hits to this file to index.php
I have an old file in my root directory left over from moving my site from an IIS server and still gets many hits from Google. It is default.asp as my Linux server will not recognise .asp files what is the best way to redirect hits to this file to index.php
Jake Bunce Well-known member Mar 5, 2011 #2 http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm See their example: Code: redirect 301 /old/old.htm http://www.you.com/new.htm Upvote 0 Downvote
http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm See their example: Code: redirect 301 /old/old.htm http://www.you.com/new.htm
PeterT Active member Mar 5, 2011 #3 I tried that one and it is still not redirecting; redirect 301 /default.asp: http//www.ukdivers.com/index.php Upvote 0 Downvote
I tried that one and it is still not redirecting; redirect 301 /default.asp: http//www.ukdivers.com/index.php
rEd86 Active member Mar 5, 2011 #4 PeterT said: I tried that one and it is still not redirecting; redirect 301 /default.asp: http//www.ukdivers.com/index.php Click to expand... Is that colon suppose to be there? --Ed Upvote 0 Downvote
PeterT said: I tried that one and it is still not redirecting; redirect 301 /default.asp: http//www.ukdivers.com/index.php Click to expand... Is that colon suppose to be there? --Ed
PeterT Active member Mar 5, 2011 #5 ah redirect 301 /default.asp http//www.ukdivers.com/index.php Works now on chrome and firefox IE9 shows page source of index.php strange but true. Upvote 0 Downvote
ah redirect 301 /default.asp http//www.ukdivers.com/index.php Works now on chrome and firefox IE9 shows page source of index.php strange but true.
PeterT Active member Mar 5, 2011 #6 Added / after default.php now IE9 renders index.php correctly redirect 301 /default.asp/ http//www.ukdivers.com/index.php Upvote 0 Downvote
Added / after default.php now IE9 renders index.php correctly redirect 301 /default.asp/ http//www.ukdivers.com/index.php