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, redirects to

In a root .htaccess file, I do this:

Redirect /majors

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: 90

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 for more options.

RewriteRule [PT,L]
Actually, would you not want the 'R' (redirect) flag to pass the status code?

RewriteRule ^(.*)$$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 [PT,L]

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



Latest Activity

Laura Peil is now a member of University Web Developers
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"Does customer service matter when choosing a CMS? Just ask Sherri Davis, webmaster at Gulf Coast State College in Panama City, Florida. #HurricaneMichael"
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"There’s no need to hire a pricey consultant to tell you if your college or university website is performing. Just ask your students. "
Nov 13
Jessie Groll posted a discussion

Thoughts on "part-time work from home" for a web developer?

This isn't a posting for a job (but hopefully that will be coming soon!)We are looking to hire a new web developer, and have gotten the OK from HR to offer this with the possibility of working from home a few days of the week, and in the office the other days. We're hoping to draw in some more candidates from outside of our local area. This is only the second position at our institution that is not fully on site, so we're in uncharted territory!I'm curious to know, does anyone work part-time…See More
Nov 12
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"Join us for our next webcast with Stephen Fornal from Tarrant County College and learn how to simplify web layouts with CSS Grid and Flexbox! "
Nov 8
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"Congrats to Robin Oliver of Western Carolina University for being named the 2018 AMA Higher Education Marketer of the Year! "
Nov 7
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"There is a simple way to advise content contributors about writing content for your school’s website: “Go with the Flow.”"
Nov 6
Jon Shaw posted a discussion

The .app domain

Have any schools jumped on board the .app domain?See More
Nov 5
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"Check out these 5 steps to conducting a successful website pilot content audit"
Nov 2
Profile IconHilary Knox, Anthony Vela and Tina Burnell joined University Web Developers
Nov 1
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"Register now for our next webcast to learn about differences in accessibility laws, best practices, and free tools to help test the accessibility of your own sites! "
Oct 31
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"Every year, there is always a surprise statistic to learn in the E-Expectations Trend Report about prospective students. What was it for 2018? "
Oct 31
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"The good news about conducting a website content audit is that there are a number of free and fee-based tools to make the process faster and easier. "
Oct 25
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"When designing a targeted marketing campaign for first-generation students, consider these 5 points"
Oct 24
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"You know that compiling a comprehensive report of your website’s content and its data is a key step in a website redesign, but what does it mean? "
Oct 18
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"Here’s some advice: save your money being spent on direct mail and focus your marketing efforts online. "
Oct 16
Rachel Mele commented on Lynn Zawie's group OmniUpdate
" Before you launch into new content creation or migrate content to your new website during a redesign, save time and resources by evaluating your existing content. "
Oct 12
Jessie Groll replied to Jessie Groll's discussion Front End Web Developer Opening at Indiana University of Pennsylvania
"Note, the deadline has been extended on this search!"
Oct 11
Rachel Mele commented on Lynn Zawie's group OmniUpdate
"If a website redesign is in your future, our new white paper is a must-read! It’s a step-by-step guide to auditing your content so your new site is well-organized, streamlined, and replete with high-performing pages. Download now!"
Oct 10

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


© 2018   Created by Mark Greenfield.   Powered by

Badges  |  Report an Issue  |  Terms of Service