• Welcome to Sitemap Generator Forum.
 

Incomplete sitemap due to rewrite code

Started by alston, November 05, 2010, 03:56:30 AM

Previous topic - Next topic

alston

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 ^(.*) http://this_domain.com/$1 [R=301,L]

In certain .htacess files in certain directories I have the following code:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*) https://RewriteEngine 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?

XML-Sitemaps Support

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?