Incomplete sitemap due to rewrite code
« on: November 05, 2010, 03:56:30 AM »
I'm was able to get the sitemap generator to work on one site, but not on two others.

I'm only getting the pages in the root directory.

I think that the difference is the rewrite code I have on the two sites in question.

In my main .htaccess file I have the following code:

RewriteEngine On
RewriteRule (blog/|exclude_directory/|exclude_this_one_too) - [L]
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*) [ External links are visible to forum administrators only ]$1 [R=301,L]

In certain .htacess files in certain directories I have the following code:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*) [ External links are visible to forum administrators only ] On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*) this_domain/group-insurance/$1 [R=301,L]/this_directory/$1 [R=301,L]

I read one of the other threads and added an .htacess file with "RewriteEngine off" to the generator directory.  It didn't solve the problem.

Is there a way to get the sitemap generator to work on these sites without removing the rewrite code?
Re: Incomplete sitemap due to rewrite code
« Reply #1 on: November 05, 2010, 08:30:58 AM »
Hello,

could you please PM me your generator URL and an example URL that is not included in sitemap and how it can be reached starting from homepage?