XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
July 04, 2008, 11:11:16 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 2.9 released - Email notifications, html sitemap customizing and more
6612 Posts in 1632 Topics by Members
Latest Member: RKS
Pages: [1]
  Print  
Author Topic: Sitemap generator mod_rewrite conflict  (Read 4670 times)
sarah
Registered Customer
Newbie
*
Posts: 2


View Profile
« on: September 09, 2007, 12:25:58 AM »

Hi

I have just changed web hosts, and cannot get the stand alone sitemap generator working. I have tried upgrading old version, and also uploading new version from scratch. I have checked and rechecked permissions - all fine.

Basically, the config file appears to remember old settings - even using the new updated version! Also, I cannot save the config file, or make any changes to it.

It appears to have something to do with the contents of my .htaccess file (important bits below):

Code:
Options +FollowSymLinks -Multiviews
RewriteEngine On

RewriteCond %{HTTP_HOST} ^www\.(domain\.com)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

php_value magic_quotes_gpc off

# Remove index.php.
RewriteCond %{THE_REQUEST} ^[^\ ]+\ (/.*/)index\.php\  [NC]
RewriteRule ^(.*/)?index\.php$ %1 [R=301,L]

# Remove .php; use THE_REQUEST to prevent infinite loops.
RewriteCond %{THE_REQUEST} ^[^\ ]+\ (/.+)\.php\  [NC]
RewriteRule ^.+\.php$ %1/ [R=301,L]

# Add slash if it's not a file and there is a PHP file.
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME}.php -f
RewriteRule [^/]$ %{REQUEST_URI}/ [R=301,L]

# Add .php to access file, but don't redirect.
RewriteCond %{DOCUMENT_ROOT}/$1.php -f
RewriteRule ^(.+)/$ /$1.php [QSA,L]

Can you please suggest some code I can add to a .htaccess file within the generator folder to overcome this?
Thnx  Sad
« Last Edit: September 09, 2007, 12:45:43 AM by sarah » Logged
sarah
Registered Customer
Newbie
*
Posts: 2


View Profile
« Reply #1 on: September 10, 2007, 01:26:46 AM »

I added:

Code:
RewriteEngine Off

to an .htaccess file in the generator folder which appears to do the trick.

HTH others in this position.  Smiley
Logged
admin
Administrator
Hero Member
*****
Posts: 2755


View Profile
« Reply #2 on: September 10, 2007, 09:33:20 PM »

Great, thank you for update! Smiley
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!