Business Advice and Help Forum for Businesses or Starting a Company in the UK - A1 Business Forums
corner image corner image
Member Box




corner image corner image
Our Advertisers

corner image corner image
Register FAQ Members List Today's Posts Search Today's Posts Mark Forums Read
A1 Business Blog Home
corner image corner image
A1businessforums.co.uk - The UK's Friendliest Online Business Community
Go Back   Business Forum UK - Advice Help and Questions - A1 Forums > Business Forums > Graphic Design, Web Design and Coding
Reload this Page

Redirect a url on windows

Designers Forum for Graphic, Logo or Print Design and Photography plus Website Design, Coding, Themes and Skins

Reply
Page 1 of 2 1 2 >
corner image corner image
 
LinkBack Thread Tools Display Modes

corner image corner image
  #1 (permalink)  
Old 16-08-2008, 21:15
MSC MSC is offline
Blog Entry: Super Skin-Friendly Bath Products
A1 is my Second Home!
 
Join Date: Apr 2008
Posts: 436
Thanks: 244
Thanked 74 Times in 66 Posts
Default Redirect a url on windows

I deleted a product from my cart and then added it again so it now has a slightly different url. It ranks quite well on google (which I forgot about until after I deleted it ) so I would like to set up a redirect but not sure how to do it on windows hosting. Anyone know?
__________________
Natural Skin Care Products, hand made in Wales.
Coming Soon...the Mayan Spa indulgent bath and body treats.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
Sponsored Links

Register to remove these ads
MSC
View Public Profile
Send a private message to MSC
Visit MSC's homepage!
Find all posts by MSC
corner image corner image
  #2 (permalink)  
Old 17-08-2008, 09:40
OldWelshGuy's Avatar
OldWelshGuy OldWelshGuy is offline
I Live on A1!
 
Join Date: Jun 2008
Posts: 637
Thanks: 32
Thanked 176 Times in 126 Posts
the easiest way for a single page (if you don't have ISAPI rewrite) is to create a page with the old file name, and then place this code at the top of the page before anything else is sent to the browser.

Quote:
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.newdomain.com/newdir/newpage.asp"
response.end
%>
Obviously newdomain etc needs to be your new page location.
__________________
Internet Marketing Consultancy My SEO website- Google expert my blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
The Following User Says Thank You to OldWelshGuy For This Useful Post:
MSC (17-08-2008)
OldWelshGuy
View Public Profile
Send a private message to OldWelshGuy
Find all posts by OldWelshGuy
corner image corner image
  #3 (permalink)  
Old 17-08-2008, 11:26
MSC MSC is offline
Blog Entry: Super Skin-Friendly Bath Products
A1 is my Second Home!
 
Join Date: Apr 2008
Posts: 436
Thanks: 244
Thanked 74 Times in 66 Posts
Thank you, that is brilliant!
__________________
Natural Skin Care Products, hand made in Wales.
Coming Soon...the Mayan Spa indulgent bath and body treats.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
MSC
View Public Profile
Send a private message to MSC
Visit MSC's homepage!
Find all posts by MSC
corner image corner image
  #4 (permalink)  
Old 17-08-2008, 11:58
openmind's Avatar
openmind openmind is offline
Blog Entry: We will remember them?
Resident Server Geek
 
Join Date: Mar 2008
Location: In front of my computer...
Posts: 1,762
Thanks: 108
Thanked 335 Times in 252 Posts
You do have ISAPI Rewrite Sharon, this link will tell you what to do:

http://www.seoconsultants.com/windows/isapi/301/
__________________
Cheers, Phil

Are you Webbylisted? If not you should be...

eCommerce Software, UK Web Hosting, Dedicated Servers, Domain Names
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
The Following User Says Thank You to openmind For This Useful Post:
MSC (18-08-2008)
openmind
View Public Profile
Send a private message to openmind
Visit openmind's homepage!
Find all posts by openmind
corner image corner image
  #5 (permalink)  
Old 17-08-2008, 16:03
Case Case is offline
A1 is my Second Home!
 
Join Date: Apr 2008
Posts: 109
Thanks: 38
Thanked 10 Times in 10 Posts
Is there a way to redirect from upper to lower case URL's on a Windows server?
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
Case
View Public Profile
Send a private message to Case
Find all posts by Case
corner image corner image
  #6 (permalink)  
Old 17-08-2008, 16:37
OldWelshGuy's Avatar
OldWelshGuy OldWelshGuy is offline
I Live on A1!
 
Join Date: Jun 2008
Posts: 637
Thanks: 32
Thanked 176 Times in 126 Posts
This is an odd one isn't it I am worried that it might cause an infinite lopop and drag the server down until it dies screaming
__________________
Internet Marketing Consultancy My SEO website- Google expert my blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
OldWelshGuy
View Public Profile
Send a private message to OldWelshGuy
Find all posts by OldWelshGuy
corner image corner image
  #7 (permalink)  
Old 17-08-2008, 17:58
openmind's Avatar
openmind openmind is offline
Blog Entry: We will remember them?
Resident Server Geek
 
Join Date: Mar 2008
Location: In front of my computer...
Posts: 1,762
Thanks: 108
Thanked 335 Times in 252 Posts
Quote:
Originally Posted by Case View Post
Is there a way to redirect from upper to lower case URL's on a Windows server?
Unlike Linux, URL case isn't an issue with Windows boxes...
__________________
Cheers, Phil

Are you Webbylisted? If not you should be...

eCommerce Software, UK Web Hosting, Dedicated Servers, Domain Names
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
openmind
View Public Profile
Send a private message to openmind
Visit openmind's homepage!
Find all posts by openmind
corner image corner image
  #8 (permalink)  
Old 18-08-2008, 09:08
Case Case is offline
A1 is my Second Home!
 
Join Date: Apr 2008
Posts: 109
Thanks: 38
Thanked 10 Times in 10 Posts
I just found this post on another forum...

Quote:
or /caseChallenges/ on Windows using ISAPI_Rewrite... #convert all uppercase to lower

RewriteCond url ([^?]+[[:upper:]][^?]*).*
RewriteHeader X-lowercase-URI: .* $1 [CL]
RewriteCond Host: (.+)
RewriteCond X-lowercase-URI: (.+)
RewriteRule [^?]+(.*) http\://$1$2$3 [I,RP]

You can make Windows behave just like Apache if you have the right tools at hand. The above is for Version 2.0 of ISAPI_Rewrite. Version 3.0 utilizes .htaccess which I'm still learning. I like 2.0 because I've worked with it for years and can easily cut and paste different rules when needed.
Sounds like the sort of thing I need to do. Can anyone with some technical knowledge confirm?
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
Case
View Public Profile
Send a private message to Case
Find all posts by Case
corner image corner image
  #9 (permalink)  
Old 18-08-2008, 16:09
MSC MSC is offline
Blog Entry: Super Skin-Friendly Bath Products
A1 is my Second Home!
 
Join Date: Apr 2008
Posts: 436
Thanks: 244
Thanked 74 Times in 66 Posts
Quote:
Originally Posted by openmind View Post
You do have ISAPI Rewrite Sharon, this link will tell you what to do:

http://www.seoconsultants.com/windows/isapi/301/
Thanks Phil Is it any extra or included in the package?
__________________
Natural Skin Care Products, hand made in Wales.
Coming Soon...the Mayan Spa indulgent bath and body treats.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
MSC
View Public Profile
Send a private message to MSC
Visit MSC's homepage!
Find all posts by MSC
corner image corner image
  #10 (permalink)  
Old 18-08-2008, 16:13
openmind's Avatar
openmind openmind is offline
Blog Entry: We will remember them?
Resident Server Geek
 
Join Date: Mar 2008
Location: In front of my computer...
Posts: 1,762
Thanks: 108
Thanked 335 Times in 252 Posts
Nope it's included. Look in your wwwroot folder for a file named httpd.ini and add the extra rules to this file.

This file also created the SEF URLs for your store so be careful what you change
__________________
Cheers, Phil

Are you Webbylisted? If not you should be...

eCommerce Software, UK Web Hosting, Dedicated Servers, Domain Names
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
The Following User Says Thank You to openmind For This Useful Post:
MSC (18-08-2008)
openmind
View Public Profile
Send a private message to openmind
Visit openmind's homepage!
Find all posts by openmind
Reply
Page 1 of 2 1 2 >

« Website Design | Wordpress theme help »

corner image corner image
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode
Hybrid Mode Switch to Hybrid Mode
Threaded Mode Switch to Threaded Mode

corner image corner image
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 Off
Pingbacks are Off
Refbacks are On

corner image corner image
Similar Threads
Thread Thread Starter Forum Replies Last Post
The age old debate Windows vs Mac Andy Trish IT, Internet, Web Hosting and Communications 22 04-08-2008 08:41
I don't know what a 301 redirect is, so...... boxby IT, Internet, Web Hosting and Communications 8 24-07-2008 11:43
301 Redirect Checker UKBDF SEO Advice and Help for Search Engine Optimisation 2 27-06-2008 09:17
301 redirect and seo MSC SEO Advice and Help for Search Engine Optimisation 3 22-05-2008 17:13
Windows mail and Windows contact problem Fuzzy IT, Internet, Web Hosting and Communications 2 04-05-2008 16:45


All times are GMT. The time now is 00:32.


Calendar - Contact Us - A1 Business Forum UK - Archive - Top

© A1 Business Forums 2008

A1 Business Forums is a brand of Pixel Mind Ltd, a company registered in England and Wales with company number 06693709

Pixelcraze
Forum theme a Pixelcraze Creation





LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!
Share on Facebook Share on Facebook
Stumble this Thread Stumble this Thread
Google Bookmark this Thread Google Bookmark this Thread