Forums

RSS Feeds not working.. on all sites 404 - File or directory not found. (14 posts)

  1. amore5144
    Member
    Posted 1 year ago #

    i moved out company blog to a windows 2008 box after the 2003 one crashed.
    now not all the rss feeds are working on all sites.. some give a 404 error

    http://blog.foodservicewarehouse.com/seconds-please/feed/

    http://blog.foodservicewarehouse.com/feed/

    any help?

  2. They work for me.

    Well, the main one does. Seconds Please is missnig.

  3. amore5144
    Member
    Posted 1 year ago #

    im sorry i dont understand, what is missing?

  4. amore5144
    Member
    Posted 1 year ago #

    yes you are correct...
    main site - http://blog.foodservicewarehouse.com/seconds
    feed - http://blog.foodservicewarehouse.com/seconds/feed

    the feed still gets 404

  5. Did you turn on RSS feeds for the subsite?

  6. Andrea_r
    team pirate
    Posted 1 year ago #

    Did you move over the rewrite rules too?

  7. amore5144
    Member
    Posted 1 year ago #

    hmm turn it on... i dont see how to do this?

  8. amore5144
    Member
    Posted 1 year ago #

    rewrite rules, here is a copy of the web.config
    ________________________________________________________

    <configuration>
    <system.webServer>
    <rewrite>
    <rules><rule name="WordPress Rule 1" stopProcessing="true"><match url="^index\.php$" ignoreCase="false"/><action type="None"/></rule><rule name="WordPress Rule 2" stopProcessing="true"><match url="^([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false"/><action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false"/></rule><rule name="WordPress Rule 3" stopProcessing="true"><match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false"/><action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent"/></rule><rule name="WordPress Rule 4" stopProcessing="true"><match url="^" ignoreCase="false"/><conditions logicalGrouping="MatchAny"><add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false"/><add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false"/></conditions><action type="None"/></rule><rule name="WordPress Rule 5" stopProcessing="true"><match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false"/><action type="Rewrite" url="{R:2}"/></rule><rule name="WordPress Rule 6" stopProcessing="true"><match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false"/><action type="Rewrite" url="{R:2}"/></rule><rule name="WordPress Rule 7" stopProcessing="true"><match url="." ignoreCase="false"/><action type="Rewrite" url="index.php"/></rule>
    <rule name="wordpress - Rule 1" stopProcessing="true">
    <match url="^index\.php$" ignoreCase="false"/>
    <action type="None"/>
    </rule>
    <rule name="wordpress - Rule 2" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false"/>
    <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false"/>
    </rule>
    <rule name="wordpress - Rule 3" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false"/>
    <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent"/>
    </rule>
    <rule name="wordpress - Rule 4" stopProcessing="true">
    <match url="^" ignoreCase="false"/>
    <conditions logicalGrouping="MatchAny">
    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false"/>
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false"/>
    </conditions>
    <action type="None"/>
    </rule>
    <rule name="wordpress - Rule 5" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false"/>
    <action type="Rewrite" url="{R:2}"/>
    </rule>
    <rule name="wordpress - Rule 6" stopProcessing="true">
    <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false"/>
    <action type="Rewrite" url="{R:2}"/>
    </rule>
    <rule name="wordpress - Rule 7" stopProcessing="true">
    <match url="." ignoreCase="false"/>
    <action type="Rewrite" url="index.php"/>
    </rule></rules>
    </rewrite>
    </system.webServer>
    </configuration>

  9. What server are you on? NGIX or something?

  10. Andrea_r
    team pirate
    Posted 1 year ago #

    @ipstenu see the first line of the OP :)

  11. Windows can run Nginx. And Apache. :)

  12. amore5144
    Member
    Posted 1 year ago #

    i understand windows can run these programs but i have everything working besides the feeds on some pages i would love to just find out how to fix this?

  13. The answer is that your redirects aren't taking the feed address into consideration. But...

    Well I don't know windows servers. I was wondering it your webserver was something I MIGHT be familiar with. Where did you get that web.config stuff?

Topic Closed

This topic has been closed to new replies.

About this Topic