{"id":8490,"date":"2016-03-20T15:30:35","date_gmt":"2016-03-20T22:30:35","guid":{"rendered":"http:\/\/www.podfeet.com\/blog\/?p=8490"},"modified":"2016-03-20T15:32:09","modified_gmt":"2016-03-20T22:32:09","slug":"theres-a-podfeet-url-for-that","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2016\/03\/theres-a-podfeet-url-for-that\/","title":{"rendered":"There&#8217;s a Podfeet URL for That (AKA Fun With Redirects)"},"content":{"rendered":"<p>There&#8217;s a lot of cool stuff associated with Podfeet Productions.  We&#8217;ve got a live show, we&#8217;ve got a Facebook group, we&#8217;ve got a Google+ community, there&#8217;s ways to contact me on Twitter, the list goes on and on.  I bet your head spins with all of this and if you want to participate in all of the fun, you get paralyzed trying to figure out where everything is!<\/p>\n<p>I have a hot tip for you.  In your web browser, type in podfeet.com and follow it by whatever service you&#8217;re interested in.  Want to find the Facebook group?  podfeet.com\/facebook.  Want to find me on twitter?  podfeet.com\/twitter.  Looking for the direct iTunes link to the show? podfeet.com\/itunes.  How about our Youtube channel?  podfeet.com\/youtube.  Finally ready to join the friendly and enthusiastic NosillaCastaways at the live show on Sunday nights at 5pm Pacific Time?  podfeet.com\/live.  <\/p>\n<p>I&#8217;ve done a TON of tutorials over on Podfeet.com, any guesses what you could type to get to them?  Yup, podfeet.com\/tutorials.  Google Plus is going strong, if you want to join that community, you can jump right to it by going to podfeet.com\/googleplus.  Maybe you really wish you&#8217;d started listening to Programming by Stealth from the very beginning, how would you find just those episodes?  podfeet.com\/pbs.<\/p>\n<p>I hope I didn&#8217;t jumble this in your head by telling you all of the options, but rather cemented into your head the idea that podfeet.com\/whateveryouwant is the way to find the stuff you want!<\/p>\n<p>If you want to know how it&#8217;s done, that&#8217;s even more fun.  Bart and Donald worked together to help me get this set up but it&#8217;s super easy once they gave me the framework.<\/p>\n<p>Inside my WordPress installation there&#8217;s a hidden file called .htaccess. this is a hypertext access file that is used by web server software and it&#8217;s designed to do exactly what I&#8217;m doing with it. In the .htaccess file I have a series of lines that start with RewriteRule.  I follow that by a carrot ^, and then the name I want to follow podfeet.com.  So to make the podfeet.com\/live link, I start with RewriteRule ^live.  Next up is a dollar sign, and then the real, long and annoying url.  <\/p>\n<p>Finally we close this all off with [R=301,L].  This last bit tells the web server that we we want a permanent redirect (that&#8217;s the 301 bit), and the that this is last redirect the server will see.  I&#8217;m guessing that means for this particular query since each of my redirects goes <\/p>\n<p>My .htaccess ReWriteRules:<\/p>\n<p><code>RewriteRule ^twitter$ https:\/\/twitter.com\/podfeet [R=301,L]<br \/>\nRewriteRule ^facebook$  https:\/\/www.facebook.com\/groups\/nosillacast [R=301,L]<br \/>\nRewriteRule ^googleplus$ https:\/\/plus.google.com\/communities\/117336672755291339814 [R=301,L]<br \/>\nRewriteRule ^itunes$ https:\/\/itunes.apple.com\/ca\/podcast\/nosillacast-mac-podcast\/id81677867 [R=301,L]<br \/>\nRewriteRule ^subscribe$  http:\/\/phobos.apple.com\/WebObjects\/MZStore.woa\/wa\/viewPodcast?id=81677867 [R=301,L]<br \/>\nRewriteRule ^youtube$ http:\/\/www.youtube.com\/user\/nosillacast [R=301,L]<br \/>\nRewriteRule ^iosapp$ https:\/\/itunes.apple.com\/us\/app\/nosillacast\/id561466798?mt=8 [R=301,L]<br \/>\nRewriteRule ^live$ https:\/\/www.podfeet.com\/blog\/nosillacast-live [R=301,L]<br \/>\nRewriteRule ^amazon$ https:\/\/www.podfeet.com\/blog\/amazon-affiliate-links-by-country\/ [R=301,L]<br \/>\nRewriteRule ^ccatp$ https:\/\/www.podfeet.com\/blog\/category\/ccatp\/ [R=301,L]<br \/>\nRewriteRule ^tutorials$ https:\/\/www.podfeet.com\/blog\/category\/tutorials\/ [R=301,L]<br \/>\nRewriteRule ^pbs$ https:\/\/www.podfeet.com\/blog\/category\/programming-by-stealth\/ [R=301,L]<\/code><\/p>\n<p>I&#8217;m sure this was a bit more geeky than some of you wanted to learn about but I think it&#8217;s really cool. It&#8217;s easy for me to create these and it&#8217;s easy for you to remember them.  Facebook Group?  podfeet.com\/facebook. Google Plus?  podfeet.com\/googleplus.  <\/p>\n<p>If there&#8217;s a redirect you&#8217;d like, just let me know what it is and I&#8217;ll add it. I hope you&#8217;ll never have trouble finding things on podfeet.com again!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s a lot of cool stuff associated with Podfeet Productions. We&#8217;ve got a live show, we&#8217;ve got a Facebook group, we&#8217;ve got a Google+ community, there&#8217;s ways to contact me on Twitter, the list goes on and on. I bet your head spins with all of this and if you want to participate in all [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[147],"tags":[565,566,564],"class_list":["post-8490","post","type-post","status-publish","format-standard","hentry","category-blog-posts","tag-redirect","tag-rewriterule","tag-url"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/8490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=8490"}],"version-history":[{"count":2,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/8490\/revisions"}],"predecessor-version":[{"id":8492,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/8490\/revisions\/8492"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=8490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=8490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=8490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}