Irish SEO,  Marketing & Webmaster Discussion

 

301 Redirect ISAPI

This is a discussion on 301 Redirect ISAPI within the Search Engine Optimisation forums, part of the Online Marketing category; I changed it to this: [ISAPI_Rewrite] rejoin.eejit.breakme # Defend your computer from some worm attacks RewriteRule .*(?:global.asa|default.ida|root.exe|..).* . [F,I,O] RewriteCond ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Online Marketing > Search Engine Optimisation

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 13-09-2008, 02:17 PM
PHYSEO Theriputithor
 
Join Date: Aug 2008
Location: Ireland
Posts: 175
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Toiletroll will become famous soon enough
Default

I changed it to this:

Quote:
[ISAPI_Rewrite]

rejoin.eejit.breakme

# Defend your computer from some worm attacks
RewriteRule .*(?:global.asa|default.ida|root.exe|..).* . [F,I,O]

RewriteCond Host: ^mysite.ie
RewriteRule (.*) http://www.mysite.ie$1 [I,RP]
and it didnt seem to break anything
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12 (permalink)  
Old 13-09-2008, 02:22 PM
Forbairt's Avatar
respect my AW-THOR-IT-AYY
Recent Blog: Free CSS book
 
Join Date: Jun 2007
Location: My Office, Dublin
Posts: 2,097
Nominated 2 Times in 1 Post
Nominated TOTW/F/M Award(s): 1
Forbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enough
Send a message via AIM to Forbairt Send a message via MSN to Forbairt Send a message via Yahoo to Forbairt Send a message via Skype™ to Forbairt
Default

Quote:
Originally Posted by Toiletroll View Post
I changed it to this:



and it didnt seem to break anything
hence we could go into your rewrite rules ... but it doesn't look like you've actually configured the system correctly yet so ... (documentation)
__________________
Forbairt Media | Web Design & Development Galway / Dublin, Ireland - coming soon ... ( vague but descriptive isn't it )
Recent Work: Safari Club African Safari Holidays - Malawi Safaris
Other Stuff: FluffyLinkulator Rapid Inclusion Service Tools
Jumper Stuff: Task Drop's Official Geansai Gorm Website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13 (permalink)  
Old 13-09-2008, 03:01 PM
PHYSEO Theriputithor
 
Join Date: Aug 2008
Location: Ireland
Posts: 175
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Toiletroll will become famous soon enough
Default

Quote:
Originally Posted by Forbairt View Post
hence we could go into your rewrite rules ... but it doesn't look like you've actually configured the system correctly yet so ... (documentation)
What if I put this code in my .NET webpages?

Quote:
<script language="c#" runat="server">
private void Page_Load(object sender, System.EventArgs e)

{

Response.Status = "301 Moved Permanently";

Response.AddHeader("Location","http://www.new-url.com");

}

</script>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14 (permalink)  
Old 16-09-2008, 10:41 AM
PHYSEO Theriputithor
 
Join Date: Aug 2008
Location: Ireland
Posts: 175
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Toiletroll will become famous soon enough
Default

For anyone trying to set up a 301 re-direct and want to do it the easiest way in IIS. You can simply create a 2nd site call it something like non-www-mysite and set it to be a redirect. Then change its host header to http://mysite.com then go into your main site and change host header to http://www.mysite.com



Simple overall re-direct.

I got better grade reports on my site already
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
301, isapi, redirect

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
301 Redirect Issue Cormac Search Engine Optimisation 3 26-08-2008 05:31 PM
Permanent redirect Spiralli Webmaster Discussion 3 23-06-2008 12:34 PM
301 redirect ziycon Coding Help 8 03-04-2008 05:38 PM
Installing ISAPI Rewrite glengara Server / Technical Administration Tips and Queries 4 01-10-2007 11:38 AM
To Redirect or not to redirect? lostie Webmaster Discussion 21 24-05-2007 09:35 PM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 08:04 PM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0