Simple Sitemaps & All In One SEO – Not writing sitemap.xml file.

Hi everyone,

Today I attempted to install Andrew’s Simple Sitemaps & All In One SEO plugin (version 5, I believe). Per the install.txt file, I placed all the files into their respective directories. I also edited my .htaccess as follows (look toward the bottom):

# BEGIN WPSuperCache

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

AddDefaultCharset UTF-8

RewriteCond %{REQUEST_URI} !^.*[^/]$

RewriteCond %{REQUEST_URI} !^.*//.*$

RewriteCond %{REQUEST_METHOD} !=POST

RewriteCond %{QUERY_STRING} !.*=.*

RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$

RewriteCond %{HTTP:Accept-Encoding} gzip

RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f

RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

RewriteCond %{REQUEST_URI} !^.*[^/]$

RewriteCond %{REQUEST_URI} !^.*//.*$

RewriteCond %{REQUEST_METHOD} !=POST

RewriteCond %{QUERY_STRING} !.*=.*

RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$

RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f

RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]

</IfModule>

# END WPSuperCache

RewriteEngine On

RewriteBase /

#Options +FollowSymlinks

#RewriteEngine on

#RewriteCond %{REMOTE_HOST} !^(72.169.92.58|74.73.197.54|67.142.130.13)

#RewriteCond %{REQUEST_URI} !/moving.html$

#RewriteRule .* http://ibankcoin.com/moving.html [R=302,L]

#uploaded files

RewriteRule ^(.*/)?files/$ index.php [L]

RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*

RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

RewriteRule ^(.*/)?sitemap.xml wp-content/sitemap.php [L]

# add a trailing slash to /wp-admin

RewriteCond %{REQUEST_URI} ^.*/wp-admin$

RewriteRule ^(.+)$ $1/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule . - [L]

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]

RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]

RewriteRule . index.php [L]

<IfModule mod_security.c>

<Files async-upload.php>

SecFilterEngine Off

SecFilterScanPOST Off

</Files>

</IfModule>

However the plugin doesn’t appear to be creating a sitemap.

After a test post, my PHP error log contained the following series of warnings:

[17-Jul-2009 17:45:54] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 100

[17-Jul-2009 17:45:54] PHP Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 101

[17-Jul-2009 17:45:54] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(//var) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 100

[17-Jul-2009 17:45:54] PHP Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(//var) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 101

[17-Jul-2009 17:45:54] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(//var/www) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 100

[17-Jul-2009 17:45:54] PHP Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(//var/www) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 101

[17-Jul-2009 17:45:54] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(//var/www/vhosts) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 100

[17-Jul-2009 17:45:54] PHP Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(//var/www/vhosts) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 101

[17-Jul-2009 17:45:54] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(//var/www/vhosts/ibankcoin.com) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 100

[17-Jul-2009 17:45:54] PHP Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(//var/www/vhosts/ibankcoin.com) is not within the allowed path(s): (/var/www/vhosts/ibankcoin.com/httpdocs:/tmp) in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 101

[17-Jul-2009 17:45:54] PHP Warning: file_put_contents(//var/www/vhosts/ibankcoin.com/httpdocs/wp-content/blogs.dir/16/files/sitemap.xml) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/vhosts/ibankcoin.com/httpdocs/wp-content/mu-plugins/simple-sitemaps.php on line 103

In an attempt to elude the open_basedir restriction noted in the log history above, I edited /etc/php.ini to read as follows:

open_basedir = Off

I then rebooted Apache using

/etc/init.d/httpd restart

I then published another test post. I’m still getting the aformentioned warnings in my PHP error log. I’m also still without a sitemap.xml file in my document root (i.e., /var/www/vhosts/ibankcoin.com/httpdocs/sitemap.xml, which should be publicly accessible via web browser at http://www.ibankcoin.com/sitemap.xml).

I also uploaded a file named sitemap.xml to my document root with full 777 permissions — but the plugin still isn’t writing any data to the file.

Any help would be greatly appreciated.

Thanks,

Jeremy