XML Sitemaps Generator

Author Topic: Incomplete sitemap due to rewrite code  (Read 10485 times)

alston

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
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 admins 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 admins 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?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2