+ Reply to Thread
Results 1 to 4 of 4

Thread: Sitemap 500 internal server error (.htaccess & Google Webmaster Tools screenshot)

  1. #1

    Sitemap 500 internal server error (.htaccess & Google Webmaster Tools screenshot)


    I have the Google and Yahoo sitemap plugin, however I am getting the following errors when I submit the URL to the sitemap (www.domain.com/sitemap.xml):

    Here are the errors showing in Google Webmaster Tools:

    Screen Shot 2014-02-22 at 3.50.22 PM.jpg

    Here is my .htaccess (note: I tried with the "Google and Yahoo sitemap" Rewrite rules at the bottom of the file as well as it's position below)

    # enable apache morRewrite module #
    RewriteEngine on

    RewriteBase /

    ServerSignature Off
    RewriteCond %{THE_REQUEST} (\\r|\\n|%0A|%0D) [NC,OR]
    RewriteCond %{HTTP_REFERER} (<|>|’|%0A|%0D|%27|%3C|%3E|%00) [NC,OR]
    RewriteCond %{HTTP_COOKIE} (<|>|’|%0A|%0D|%27|%3C|%3E|%00) [NC,OR]
    RewriteCond %{REQUEST_URI} ^/(,|;|:|<|>|”>|”<|/|\\\.\.\\).{0,9999} [NC,OR]
    RewriteCond %{REQUEST_URI} !(\.html|\.xml|\.txt)$ [NC]
    RewriteCond %{QUERY_STRING} (;|<|>|’|”|\)|%0A|%0D|%22|%27|%3C|%3E|%00).*(/\*|union|select|insert|cast|set|declare|drop|updat e|md5|benchmark) [NC,OR]
    RewriteCond %{QUERY_STRING} (localhost|loopback|127\.0\.0\.1) [NC,OR]
    RewriteCond %{QUERY_STRING} (<|>|’|%0A|%0D|%27|%3C|%3E|%00) [NC]
    RewriteRule .* index.php [F]

    # set files headers
    <IfModule mod_headers.c>
    <FilesMatch "\.(css|js|png|gif|jpg|jpeg|htc)$">
    Header set Cache-Control "max-age=2678400, public, must-revalidate"

    # deflate static content
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/x-component text/css application/x-javascript application/javascript

    # allow request methods
    Order deny,allow
    Allow from All

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f

    ErrorDocument 404 /404.html

    # non last slash redirect
    RewriteCond %{REQUEST_URI} !(\.php|\.html|\.xml|\.txt|[\/])$ [NC]
    RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [NC,L,R=301]

    #Google and Yahoo sitemap
    RewriteRule ^sitemap([0-9]*)?.xml$ /plugins/sitemap/sitemap.php?search=google&number=$1 [QSA,L]
    RewriteRule ^yahoo-sitemap.txt$ /plugins/sitemap/sitemap.php?search=yahoo [QSA,L]
    RewriteRule ^urllist.txt$ /plugins/sitemap/sitemap.php?search=urllist [QSA,L]

    # define system languages
    #RewriteRule ^([a-zA-Z]{2})$ index.php?page=$1 [QSA,L]

    # define paging
    RewriteRule ^([^//]+)/?(.*)?/index([0-9]*).ht(m?ml?)$ index.php?page=$1&rlVareables=$2&pg=$3 [QSA,L]

    # define listing
    RewriteRule ^(([\w\-\_]+)?/)(.+)-l?([0-9]+).ht(m|ml)$ index.php?page=$2&rlVareables=$3&listing_id=$4 [QSA,L]

    # wildcard request
    RewriteCond %{HTTP_HOST} ^((?!www\.|m\.|mobile\.).*)\..+\.[^/]+$ [NC]
    #RewriteCond %{HTTP_HOST} ^((?!www\.|m\.|mobile\.).*)\..+$ [NC] # FIRST LEVEL DOMAIN (localhost) USAGE
    RewriteRule (.*) index.php?page=%1&wildcard&rlVareables=$1 [QSA,L]

    # account request (sub-directory)
    RewriteRule ^((\w{2})/)?([\w-_]{3,})$ index.php?page=$3&lang=$2&account_request [QSA,L]

    # define single pages
    RewriteRule ^([^//]+)/?(^/*)?.ht(m?ml?)$ index.php?page=$1 [QSA,L]

    # define other pages
    RewriteRule ^([^//]+)/?(.*)?/?(.*)?(.ht(m?ml?)|/+)$ index.php?page=$1&rlVareables=$2 [QSA,L]

  2. #2
    Same problem, but for all pages. Many times "Internal Server Error" appears, another times not. I think it is a problem in htaccess file.

  3. #3
    Hello Kalihma and Jafar,

    I discussed with plugin owner and he said me that you should create tickets with this problem.
    Flynax technical department,
    Best wishes.

  4. #4
    Same problem Here

+ Reply to Thread