University Web Developers

University Web Developers

So I realized the other day I might not be implementing redirects properly, and have been trying to Google something that matches my situation, but to no avail.

We set up a lot of redirects in order to create print-friendly shortened URLs that are easier to type. For example, www.callutheran.edu/majors redirects to http://www.callutheran.edu/admission/undergraduate/academics/academ...

In a root .htaccess file, I do this:

Redirect /majors http://www.callutheran.edu/admission/undergraduate/academics/academ...

But every tutorial I've seen on Apache redirects tells you to use a code, such as 301 in the directive. However, in my case these are not permanent redirects - there is no old page. Its just a shorter version of the destination URL (I've been using the term 'aliases' - probably incorrectly). I'm also wondering if our current method would have any SEO side effects.

What do you think?

Views: 101

Replies to This Discussion

Hi Erik,

You will need to use the RewriteRule's passthrough [PT] flag to get the desired effect. It is a URL to file translator and does not indicate redirection to the browser.

The .htaccess file would look something like this. Note that the L indicates this is the last RewriteRule that should take place.

Visit http://www.uni-ulm.de/manual/en/mod/mod_rewrite.html for more options.

RewriteRule www.callutheran.edu/majors http://www.callutheran.edu/admis... [PT,L]
Actually, would you not want the 'R' (redirect) flag to pass the status code?

RewriteRule ^(.*)$ http://mynewdomain.com/$1 [R=301,L]

Oh.. and Erik, we use the term 'alias' on our campus. It does make it easy for marketing campaigns and also stats on how many people may be hitting the alias/redirect. At my college, we are using IIS with virtual directory 'alias' redirects.. and control the list there, but I have used the LAMP side using .htaccess for it also.
Hey Erik - The info provided so far has been good. I would add the following:
If you are actually planning to redirect the user to the original URL, it is a permanent redirect. 301 does not necessarily mean that the page moved (although that's been the meaning most commonly associated with it), it simply means that one URL should semi-permanently redirect users to another URL.

If you simply want to duplicate the content from the original URL on a page that's located at the short URL (or alias), then you need to look into the canonical link meta tag. This tag basically tells the search engines "I know the content on this page is a duplicate of the content found on another page. You can ignore this page in your index, as long as you index the original page."

Those are the two ways I would go about it (and have gone about it), at least. Good luck.
Thanks for the info everyone, much appreciated. Curtiss, I don't think we'll have any duplicate content issues because the browser won't stay at the short URL - the user will be redirected to the full URL before any content is sent. I would think search crawlers wouldn't be able to index the short URL for the same reason.

Steven, the PT flag makes sense to me, but it doesn't seem to be working on my system. I put the following in my htaccess file

RewriteRule www.callutheran.edu/americana http://www.callutheran.edu/neighbors/events/TheAmericanaExperience.php [PT,L]

and it causes a 404. I'm going to ask my IT team for some details on our Apache setup.

RSS

Elsewhere

Latest Activity

Christine Boehler posted a discussion

HighEdWeb 2020 Annual Conference - ONLINE

October 19-20, 2020https://2020.highedweb.org/#HEWeb20     Join us ONLINE for HighEdWeb 2020, the conference created by and for higher education professionals across all departments and divisions. Together we explore and find solutions for the unique issues facing digital teams at colleges and universities. In 2020, the Conference will be held completely online, offering multiple tracks of streamed presentations, live…See More
May 3
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Throughout April, we're hosting webcasts exploring how colleges and universities across North America are responding to the COVID-19 pandemic. Register for the series today! https://bit.ly/2xsXhK9"
Apr 13
Christelle Lachapelle is now a member of University Web Developers
Apr 6
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Download our latest white paper to learn how the demographics of today’s higher ed learners are shifting, and how schools can adapt to meet the needs of these new learners. https://bit.ly/2wTKdgB"
Mar 31
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Join our next webcast with Amrit Ahluwalia from The EvoLLLution to learn about the new "modern learner" in higher education. https://bit.ly/2UuDh2I"
Mar 30
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"As we ride out the latest developments and impact of the coronavirus, there's no better time than now to learn the three Bs of crisis planning. http://bit.ly/2ITVkc2"
Mar 16
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Is your college or university prepared to meet the challenges that come with disasters and emergencies like the coronavirus? Learn how your CMS can help. http://bit.ly/2TUZUM8"
Mar 12
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Can’t afford the time and money to launch a comprehensive guided pathways model? Register for our FREE webcast to learn tricks for simulating a digital guided pathways experience."
Feb 21
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"With college enrollment decreasing for the 8th year in a row, boosting your college or university marketing efforts is more important than ever. Here's how to get started. http://bit.ly/2vTQAzz"
Feb 20
Christine Boehler posted a discussion

HighEdWeb 2020 Annual Conference

October 18-21, 2020 in Little Rock, Arkansas, USAhttps://2020.highedweb.org/#HEWeb20     Join us for HighEdWeb 2020, the conference created by and for higher education professionals across all departments and divisions. Together we explore and find solutions for the unique issues facing digital teams at colleges and universities. With 100+ diverse sessions, an outstanding keynote presentation, intensive workshops, and engaging networking events,…See More
Feb 19
Christine Boehler posted a discussion

HighEdWeb 2020 Call for Proposals is Open!

The 2020 Annual Conference of the Higher Education Web Professionals Association (HighEdWeb) will travel to Little Rock, Arkansas, this October 18-21 — and the call for proposals is now open! As a digital professional in higher education, we know you have great ideas and experiences to share. From developers, marketers and programmers to managers, designers, writers and all team members in-between, HighEdWeb provides valuable professional development for all who want to explore the unique…See More
Feb 14
Christine Boehler shared Sara Clark's discussion on Facebook
Feb 14
Christine Boehler is now a member of University Web Developers
Feb 14
Brian Bell joined Kevin Daum's group
Feb 14
Brian Bell joined Mark Greenfield's group
Feb 14
Kenneth George is now a member of University Web Developers
Feb 13
John Sterni is now a member of University Web Developers
Feb 6
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"The early-bird discount for OUTC20 ends today! Don't wait... register NOW and save $100! https://outc20.com/"
Jan 24
Linda Faciana commented on Lynn Zawie's group OmniUpdate
"Join our next webcast with Maxwell Rowe from @mackeycreativelab as he discusses ways to help students reach their educational goals using the guided pathways model on your website. http://bit.ly/2zhdcIt"
Jan 22
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Frustrated with student retention efforts and low graduation rates? Maybe it’s time to consider the guided pathways model for your institution's website. Check out our latest white paper for all the details! http://bit.ly/38rNild"
Jan 21

UWEBD has been in existence for more than 10 years and is the very best email discussion list on the Internet, in any industry, on any topic

About

© 2020   Created by Mark Greenfield.   Powered by

Badges  |  Report an Issue  |  Terms of Service