• Resolved inpencil

    (@inpencil)


    I’ve looked everywhere but doesn’t seem like anyone else has the same problem as me. My feeds were working fine, now all of a sudden, they don’t work properly. I was using https://inpencilmusic.com/feed but now I get an internal server error. So now I switched to using https://inpencilmusic.com/feed/rss. This seems to work, kind of – but the dates of all the posts are the same, and they all read the current date and time for some reason.

    I tried the “fix-rss-feed” plugin, which initially identified blank spaces in the php, and supposedly fixed them. But that didn’t change anything. I tried deactivating all plugins, that didn’t work either. If anyone can help, greatly appreciated!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter inpencil

    (@inpencil)

    sorry, the feed that’s semi-working is

    https://inpencilmusic.com/feed/rss

    Something is definitely broken. You should be getting a feed at /feed/ and at /feed/atom/ and and ?feed=rss2 and some other URL structures should work as well, but don’t. Only your rss and rdf feeds are working.

    Something had to change. Have you updated? Installed a plugin? Edited .htaccess? If not you, has your ISP changed anything?

    Thread Starter inpencil

    (@inpencil)

    @apljdi thanks for the reply. I think .htaccess could be it. I had to update it, first for SuperCache plugin, then switched to W3 Total Cache plugin (seemed to make my site a lot faster).

    Here’s my current .htaccess file, seems like something should be removed, since I’m no longer using super cache. Any ideas?

    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP_user_agent} !^.*(Android|2.0\ MMP|240x320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/hermes/bosweb/web254/b2543/ipw.inpencil/public_html/wordpress/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /hermes/bosweb/web254/b2543/ipw.inpencil/public_html/wordpress/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]
    
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP_user_agent} !^.*(Android|2.0\ MMP|240x320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
    RewriteCond %{DOCUMENT_ROOT}/hermes/bosweb/web254/b2543/ipw.inpencil/public_html/wordpress/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /hermes/bosweb/web254/b2543/ipw.inpencil/public_html/wordpress/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>
    
    # END WPSuperCache
    
    # BEGIN supercache
    <IfModule mod_mime.c>
      <FilesMatch "\.html\.gz$">
        ForceType text/html
        FileETag None
      </FilesMatch>
      AddEncoding gzip .gz
      AddType text/html .gz
    </IfModule>
    <IfModule mod_deflate.c>
      SetEnvIfNoCase Request_URI \.gz$ no-gzip
    </IfModule>
    <IfModule mod_headers.c>
      Header set Cache-Control 'max-age=300, must-revalidate'
    </IfModule>
    <IfModule mod_expires.c>
      ExpiresActive On
      ExpiresByType text/html A300
    </IfModule>
    # END supercache
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    I would try taking out everything before begin wordpress.

    Maybe it is just me but if something requires that much modification in the access file I just wouldn’t use it.

    Same here. I’d remove everything except the stuff between # BEGIN WordPress and # END WordPress.

    First, disable your two cache plugins if they are still activated. Then edit the .htaccess file leaving only the stuff WP itself needs. Then, if you want a caching plugin, re-enable it and see if things break. If things break disable the plugin, edit the .htaccess again, and then enable the other plugin. It may be that the two caching plugins are not compatible and with that much rewriting I’d be surprised if they were compatible.

    Thread Starter inpencil

    (@inpencil)

    You guys are awesome, thanks so much. I think it may be fixed now. I disabled that plugin completely – my site is now a lot slower, but I’ll work on fixing some other errors on the site.

    The feed only shows the post title now, is there a way to show the excerpt or full text? Maybe I just need to do a new post and it will be correct.

    Under Reading settings, I see the option “for each article in a feed show:

    summary
    full text”

    I have full text checked off, but still is only showing the post title in the feed.

    https://inpencilmusic.com/feed

    You have errors in your feed, https://feedvalidator.org/check.cgi?url=http%3a%2f%2finpencilmusic.com%2ffeed%2f

    Most likely the cause of that and the slowness of your site is somewhere here, https://validator.w3.org/check?verbose=1&uri=http%3a%2f%2finpencilmusic.com%2f

    Yeah, your feed has serious errors. Do you have any plugins that might effect it?

    Get the validation errors corrected on your site first, then think about caching. I think you might be able to use one or the other of those plugins but you don’t want both sets of rewrite rules in your .htaccess at the same time.

    Thread Starter inpencil

    (@inpencil)

    I think I got it fixed now! You guys really helped thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘RSS Feed Problem – Internal Server Problem’ is closed to new replies.