WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] RSS and Atom in subdomain (11 posts)

  1. Nurice
    Member
    Posted 8 years ago #

    My feeds (RSS and Atom) don't work in:
    http://climates.allergynursing.com

    To troubleshoot, I changed in admin to:
    http://allergynursing.com/climates and they worked fine. Got the expected response when I clicked them and Firefox Sage found them all and they were readable in Sage.

    I changed back to the subdomain which is set up via cpanel, and feeds are not working. Is a different code required in the sidebar feed links to make WP look for the subdomain rather than physical directory for the feeds?

    Please forgive that I am sending this again. Was advised here to create a separate thread for each problem I am having.

    Thank you for helping,
    Lois

  2. Make sure that both of the URLs in Options/General are set to http://climates.allergynursing.com , then go to Options/permalinks and re-generate your permalink structure by hitting the update button.

  3. Nurice
    Member
    Posted 8 years ago #

    Thanks, macmanx. I did as you suggested, making sure both url's are for the subdomain and updating permalinks, doesn't seem to have changed anything.

  4. Are the permissions for your .htaccess file set to 666 (CHMOD 666)? If they are not, do so now and re-generate your permalink structure again by hitting the update button in Options/Permalinks. Also, do you have any .htaccess rules outside of the # BEGIN WordPress and # END WordPress tags? If so, would you please post them here.

  5. Nurice
    Member
    Posted 8 years ago #

    Yes chmod is set to 666.

    The following is listed outside the WP tags:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /climates/
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [S=35]
    RewriteRule ^feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?&feed=$1 [QSA,L]
    RewriteRule ^(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?&feed=$1 [QSA,L]
    RewriteRule ^page/?([0-9]{1,})/?$ /climates/index.php?&paged=$1 [QSA,L]
    RewriteRule ^comments/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?&feed=$1&withcomments=1 [QSA,L]
    RewriteRule ^comments/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?&feed=$1&withcomments=1 [QSA,L]
    RewriteRule ^comments/page/?([0-9]{1,})/?$ /climates/index.php?&paged=$1 [QSA,L]
    RewriteRule ^search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?s=$1&feed=$2 [QSA,L]
    RewriteRule ^search/(.+)/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?s=$1&feed=$2 [QSA,L]
    RewriteRule ^search/(.+)/page/?([0-9]{1,})/?$ /climates/index.php?s=$1&paged=$2 [QSA,L]
    RewriteRule ^search/(.+)/?$ /climates/index.php?s=$1 [QSA,L]
    RewriteRule ^climate/categorias/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?category_name=$1&feed=$2 [QSA,L]
    RewriteRule ^climate/categorias/(.+)/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?category_name=$1&feed=$2 [QSA,L]
    RewriteRule ^climate/categorias/(.+)/page/?([0-9]{1,})/?$ /climates/index.php?category_name=$1&paged=$2 [QSA,L]
    RewriteRule ^climate/categorias/(.+)/?$ /climates/index.php?category_name=$1 [QSA,L]
    RewriteRule ^archives/author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?author_name=$1&feed=$2 [QSA,L]
    RewriteRule ^archives/author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?author_name=$1&feed=$2 [QSA,L]
    RewriteRule ^archives/author/([^/]+)/page/?([0-9]{1,})/?$ /climates/index.php?author_name=$1&paged=$2 [QSA,L]
    RewriteRule ^archives/author/([^/]+)/?$ /climates/index.php?author_name=$1 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /climates/index.php?year=$1&monthnum=$2&day=$3&paged=$4 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /climates/index.php?year=$1&monthnum=$2&day=$3 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /climates/index.php?year=$1&monthnum=$2&paged=$3 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/?$ /climates/index.php?year=$1&monthnum=$2 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&feed=$2 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&feed=$2 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/page/?([0-9]{1,})/?$ /climates/index.php?year=$1&paged=$2 [QSA,L]
    RewriteRule ^archives/date/([0-9]{4})/?$ /climates/index.php?year=$1 [QSA,L]
    RewriteRule ^archives/([0-9]+)/trackback/?$ /climates/index.php?p=$1&tb=1 [QSA,L]
    RewriteRule ^archives/([0-9]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?p=$1&feed=$2 [QSA,L]
    RewriteRule ^archives/([0-9]+)/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?p=$1&feed=$2 [QSA,L]
    RewriteRule ^archives/([0-9]+)/page/?([0-9]{1,})/?$ /climates/index.php?p=$1&paged=$2 [QSA,L]
    RewriteRule ^archives/([0-9]+)(/[0-9]+)?/?$ /climates/index.php?p=$1&page=$2 [QSA,L]
    </IfModule>

  6. Odd ... Those are WP rewrite rules, but all of the WP rewrite rules should be inside the # BEGIN WordPress and # END WordPress tags, not outside. What happens if you delete those rules and then re-generate your permalink structure. Make a backup copy of your existing .htaccess file first.

  7. Nurice
    Member
    Posted 8 years ago #

    I think you figured it out, Macmanx! Thanks!

    I deleted those outside files and have not yet re-generated permalinks, but the next page and rss seem to work fine.

    I'll plan to update the permalinks just in case something needs re-writing, but thought you may like to see the results of deleting those files before I update them. I have no idea how those files got there.

  8. Excellent, great news! Let us know if anything breaks after you re-generate the permalinks.

  9. Nurice
    Member
    Posted 8 years ago #

    I regenerated permalinks and everything seems fine. Double checked the htaccess after regenerating them and no files outside the WP tags.

    thanks again, and please let moshu know that we got it fixed also, he was helping me in another thread when we were thinking it might be a subdomain problem. I really appreciate all of you.

    Lois

  10. Excellent! I'm glad that it worked out. If you don't mind, please mark this topic as "resolved" by selecting it from the pull-down menu at the top.

  11. Nurice
    Member
    Posted 8 years ago #

    done!

Topic Closed

This topic has been closed to new replies.

About this Topic