Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Related Forum Posts
  1. Database Redirect Question Please (In: Coding & Databases - PHP, ASP, Perl, etc.)
  2. is a 301 redirect essential? (In: General Search Engine Optimization)
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
There are 0 guests and 2 members in the forums right now.
Reflects user activity within the last 5 minutes
Member Message

vision2003
Joined: May 02, 2002
# Posts: 362

View the profile for vision2003 Send vision2003 a private message

Posted: 04/21/2008 12:55 pm
Edit Message Delete Message Reply to this message

Hi,

I have 2 pages that are the same www.domain.com/default.htm and www.domain.com/index.htm

How do I redirect them to [link]
The site resides on a Windows server

What is the correct code to use?

Thank you




g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10292

View the profile for g1smd Send g1smd a private message

Posted: 04/21/2008 02:30 pm
Edit Message Delete Message Reply to this message

Is there a Rewrite Module of some sort installed? Many hosts don't have that facility and most of those won't allow you to install one.

If that is the case, you can sometimes do it within the page script, but I much prefer to do it in the config files (requires Rewrite).



vision2003
Joined: May 02, 2002
# Posts: 362

View the profile for vision2003 Send vision2003 a private message

Posted: 04/21/2008 02:58 pm
Edit Message Delete Message Reply to this message

Thanks for your reply.

How can I test if the rewrite module is installed?
I only have FTP access to the server.






mj1256
Joined: Jun 05, 2006
# Posts: 859

View the profile for mj1256 Send mj1256 a private message

Posted: 04/22/2008 07:16 am
Edit Message Delete Message Reply to this message

I've never seen a rewrite mod for IIS, This is done right from the IIS panel and its simple to do, its just option boxes, but your host will have to do it. I don't run IIS anymore so I can't create screenshots, but you don't have access to it anyway.

Hail the LAMP



g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10292

View the profile for g1smd Send g1smd a private message

Posted: 04/22/2008 10:57 am
Edit Message Delete Message Reply to this message

There's ISAPI rewrite; you'll need to check with your host and see if it is installed.



vision2003
Joined: May 02, 2002
# Posts: 362

View the profile for vision2003 Send vision2003 a private message

Posted: 04/22/2008 11:20 am
Edit Message Delete Message Reply to this message

Thanks I'll check if it's installled


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions