Not a bug Sitemap Index Issue:

Status
Not open for further replies.

lhcf

New member
I have "full friendly URLs" are enabled, but my individual .xml files are all 404 Not Found. My sitemap URLs are all undiscoverable by Google.

Looks like the .htaccess file hijacks the links from the internal_data/sitemaps/ folder:

-rw-r--r-- 1 988 1999 1361851 Jan 22 15:17 sitemap-1737584191-1.xml.gz
-rw-r--r-- 1 988 1999 1515866 Jan 22 15:18 sitemap-1737584191-2.xml.gz
-rw-r--r-- 1 988 1999 1011850 Jan 22 15:20 sitemap-1737584191-3.xml.gz

and sends it through index.php:

RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]


This is the .htaccess file:

ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default

<IfModule mod_rewrite.c>
RewriteEngine On

# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo

# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>

Has anyone seen this issue and found a resolution?
 
If you require support, please ensure your forum username is associated with your license in your customer area.
 
Status
Not open for further replies.
Back
Top Bottom