Support » Plugin: podPress » [Plugin: podPress] Creating 301 Redirect with Podpress

  • I recently added Podtrac Enhanced feeds to my category feeds within Podpress so that my stats would be better.

    Unfortunately, I am supposed to create some 301 redirect.
    I use Godaddy hosting (yay).

    Can someone walk me through how to create that redirect from the old feed to the new one?

    Thanks!!!!
    DR

    http://wordpress.org/extend/plugins/podpress/

Viewing 2 replies - 16 through 17 (of 17 total)
  • Okay – to support my idea that there is something weird just going on with Category feeds, explain this.

    I created a redirect from edreach.us/feed/podcast (main podcast feed)
    feeds.feedburner.com/edreachnetwork

    And guess what? It’s updated. So only my category feeds are not updating when the redirect is in place. Don’t know….

    DR

    Plugin Author ntm

    (@ntm)

    The Redirections looks interesting, but doesn’t that just write to the htaccess folder anyway?

    The Redirection plugin does not seem modify the .htaccess file. I have tried it and the file is the same as before.

    I created a redirect from edreach.us/feed/podcast (main podcast feed) feeds.feedburner.com/edreachnetwork
    And guess what? It’s updated.

    That does not surprise me. It is like it should be. The only thing which sounds a little bit strange is what the Podtrac guy told you about the redirect loop. I guess is that you have registered your feed URL(s) at the Podtrac server, the server retrieves the information in a certain interval from this address and manufactures a new feed (which has a Podtrac URL). But you have created a redirect on your server to this Podtrac URL so that every incomming request gets redirected to the Podtrac URL. What probably happens when you that is, that the Podtrac server tries to update its informations and gets redirected back to itself by your server. The result is: no update. The information that the Podtrac server has is probably from the time before you created the redirection to the Podtrac URL.

    One solution to solve this, is to modify your redirects in a way that they only redirect all requests except the ones from the Podtrac Server.
    You will probably need a RewriteCond based on the IP (see an example) or the referrer URL (see an exmaple) of the Podtrac server.
    For instance if the Podtrac request comes from an address which end with podtrac.com then the condition could look like:

    RewriteCond %{HTTP_REFERER} ^(?!https?\:\/\/.*podtrac\.com).* [NC]
    RewriteRule ^category/edunationcast/feed http://feeds.podtrac.com/ntX-BC3LTIc$ [L,R=301]
    ...

    ^(?!https?\:\/\/.*podtrac\.com).* matches URLs which start with http:// or https:// and do not contain podtrac.com.

    So only my category feeds are not updating when the redirect is in place.

    This is maybe because of the redirect loop or because some URLs do not work anymore. For instance http://edreach.us/edunationcastshow/ or http://edreach.us/edgamershow/ are leading currently to a 404 page.
    Above you have posted what is in your .htaccess file. Is that all what is in there? If it is all then some lines which are most likely necessary for WP are missing (compare with http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29). I think that without these lines some of your links will not work – including the links/URLs of the category pages and feeds.

    Try to resolve this problem first and try the redirect condition afterwards.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘[Plugin: podPress] Creating 301 Redirect with Podpress’ is closed to new replies.