Solved

.htaccess redirect

Posted on 2013-01-25
5
352 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
ID: 38820528
Can you share the exact syntax of the two redirects in your .htaccess file?
0
 

Author Comment

by:Tigger996
ID: 38820538
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
ID: 38820559
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
ID: 38820622
I think I got it.  I didn't realize how important order was.
0
 

Author Closing Comment

by:Tigger996
ID: 38834569
I answered my own question.  Please remove.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 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

18 Experts available now in Live!

Get 1:1 Help Now