Author Topic: 301 redirect: Did I do this right?  (Read 1011 times)

sockmonkeysound

  • Newbie
  • Posts: 6
301 redirect: Did I do this right?
« on: July 25, 2012, 12:50:43 pm »
Did I write this correctly?

Code: [Select]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^kryptonitebar.com/feed/getting-down-to-business http://chriswachowiak.com/feed/getting-down-to-business/[L,R=301]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: 301 redirect: Did I do this right?
« Reply #1 on: July 25, 2012, 02:11:52 pm »
That is not correct. If you save and try it you'll see it does not work. What are you trying to achieve?

sockmonkeysound

  • Newbie
  • Posts: 6
Re: 301 redirect: Did I do this right?
« Reply #2 on: July 26, 2012, 11:37:59 am »
I'm trying to apply a 301 redirect via the .htaccess. I've been to the podcast FAQ and trolled the boards but I'm having a hard time find what the code should look like. There's plenty of talk about redirects but I don't see a good visual tutorial on this. Maybe I'm making it harder than it actually is.

How do I fix the above code to accomplish my feed redirect?