MWGblog

Michael W. Geoghegan's Weblog

  • Home
  • Archives
  • Press
  • Speaking
  • Search
  • Contact
    • Email
    • RSS
    • Twitter

htaccess file – Need Some Help

12/27/2007 By Michael

UPDATE: – Solved, thanks to Ryan Irelan!

If you are knowledgeable about .htaccess files I could use some quick help.

Basically, I just need to do what I perceive as a simple (permanent) redirect/rewrite. We are moving some archives and I need requests coming in for:

http://pa.gigavox.com/shows/detailXXXX.html
to go to
http://podcastacademy.com/shows/detailXXXX

The XXXX represents a 4 number sequence.

I have this in the subdomain’s (pa.gigavox.com) root but it is not working.

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} pa.gigavox.com
RewriteRule ^/shows/detail(.*).html http://podcastacademy.com/shows/detail$1 [R=301,L]

Any ideas? Post a comment or I can be contacted at: michael AT mwgblog.com

Thanks!

Here is the solution via Ryan:
# Redirects for old posts
RewriteEngine On
RewriteBase /
RewriteRule ^shows/detail(.*).html http://podcastacademy.com/shows/detail$1 [R=301,L]

Apparently there was an extra “/” in there. Thanks Ryan!

Posts in the "Asides" category are short micro-blog posts. These were an early custom version of an update before Twitter/Facebook. Just a title, there is no additional text.

Filed Under: Asides

Filed Under: Asides

About Michael

Michael W. Geoghegan is founder and CEO of GigaVox Media. NewMedia Entrepreneur & Podcast Pioneer/Pundit. Author of two books. Creator of two time James Beard Award winner GrapeRadio.com
My Books on Amazon / GigaVox Media / Grape Radio / Podcast Academy / Reel Reviews Radio

Comments

  1. NicoleSpag says

    12/27/2007 at 6:03 pm

    Hey Michael,

    I had to do a few redirects recently for our business site and used htaccess (and it works great). I found everything I needed to know about redirects from this post. http://www.stevenhargrove.com/redirect-web-pages/ Hope that helps!

    Nicole

  2. Ryan Irelan says

    12/27/2007 at 7:00 pm

    Remove the forward slash on Line 4 so it reads

    RewriteRule ^shows/detail(.*).html http://podcastacademy.com/shows/detail$1 [R=301,L]

    That should work!

  3. Michael says

    12/27/2007 at 8:30 pm

    Thanks Ryan – that did it!

    Michael

  4. mike says

    10/18/2010 at 1:32 am

    Thanks very much for the solution. I was having a similar problem (a preceding slash that shouldn’t have been there) and now I have solved it. Thanks to you and Ryan!

Trackbacks

  1. Hunter S. Thompson - Need the Shirt at MWGblog says:
    12/29/2007 at 6:03 am

    […] Like many, I am a life long fan of Hunter S. Thompson. After the success of my last call for help once again, I am reaching out to my readers. For years now I have been looking for a rather iconic shirt that Hunter Thompson had – pictured here on the cover of this biography by E. Jean Carroll (click for larger image). Does anyone know where you can get this shirt/jacket? I assume some small specialty hunting shot in Kentucky somewhere sells it, but I have yet to find it. If I can buy it or have it made – either way, I am committed.I’ve been looking for years. Any help is greatly appreciated. […]

KX6A – amateur radio callsign

KX6A

Yaesu FT1D SOTA Trail Card

FT1D SOTA Trail Card

My Books

Podcast Solutions

The Business Podcasting Book

RSS KX6A

  • KX6A Amateur Radio Goals – 2018
  • KX6A Radio Goal Results for 2017
  • SOTA W6/SS-224, Peak 11,100

RSS Reel Reviews Radio

Produced By


GigaVox Media, Inc.

Links

  • GigaVox Media
  • KX6A
  • Reel Reviews Radio

Recent

  • Radio and SOTA moved to KX6A.com
  • SOTA W6/SC-405, Sugarloaf
  • SOTA W6/CT-172, Sitton Peak
  • Podcast Domains For Sale
  • SOTA W6/CT-056, Iron Mountain

About

Michael W. Geoghegan is founder and CEO of GigaVox Media.

As a pioneer of podcasting, Michael created some of the first corporate podcasts, including efforts by Disney. Michael is also creator of the 2008 & 2011 James Beard Award winning "GrapeRadio" and "Reel Reviews: Films Worth Watching."

He is editor-in-chief of the Podcast Academy™ book series and co-author of Podcast Solutions: The Complete Guide to Podcasting.

Copyright © 2004–2022 · Michael W. Geoghegan & GigaVox Media, Inc. · Genesis Framework · Log in