Solved

.htaccess redirect

Posted on 2013-01-25
5
347 Views
Last Modified: 2013-01-30
I have 2 redirects in my .htaccess where if I have 1 of them the other one doesn't work, and all the other 200 redirects I have work fine.

Redirect 301 /students/current/regulations/grading http://my.site/admissions/enrolment-services/academic-regulations/grading

Redirect 301 /students/current/regulations http://mysite.ca/admissions/enrolment-services/academic-regulations

The first one in the list works fine (ie if I switched them around the first one would work) The 2nd  just redirects to some shortened url that's not in the path, what am I missing.  I have no redirects that are similar.

and like I said, any other URL's that I have for redirects (about 200) work fine.

Just those 2 conflict.

What am I missing?
0
Comment
Question by:Tigger996
  • 4
5 Comments
 
LVL 9

Expert Comment

by:David Carr
Comment Utility
Can you share the exact syntax of the two redirects in your .htaccess file?
0
 

Author Comment

by:Tigger996
Comment Utility
I did above -- but mysite is substituted.

Redirect 301 /students/current/regulations/grading http://my.site/admissions/enrolment-services/academic-regulations/grading

Redirect 301 /students/current/regulations http://mysite.ca/admissions/enrolment-services/academic-regulations

Open in new window

0
 

Author Comment

by:Tigger996
Comment Utility
I also have this:

Redirect 301 /students/future/parents/parents-faq http://mysite.com/admissions/welcome-to-selkirk/parents-families/common-questions

Open in new window


And it's redirecting to: /future-students/parents/parents-faq
0
 

Accepted Solution

by:
Tigger996 earned 0 total points
Comment Utility
I think I got it.  I didn't realize how important order was.
0
 

Author Closing Comment

by:Tigger996
Comment Utility
I answered my own question.  Please remove.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now