I've been struggling with this for several days now, and after combing the forums and google, I'm stumped. I'll lead with saying I have almost no experience with coding, php, xml, etc, and I'm a total newbie at wordpress, so these may be easily resolved questions and I just can't figure them out.
I downloaded the Google XML sitemaps plugin, and uploaded, unzipped, and activated it according to the directions. I then tried to build the sitemap, but got this error:
# There was a problem writing your sitemap file. Make sure the file exists and is writable. Learn more
# There was a problem writing your zipped sitemap file. Make sure the file exists and is writable. Learn more
After researching through the forums, I reset the permissions on those files. I have tried them in the public_html, wp-contents/plugins , wp-contents, all to no avail.
So after reading through the forums again, I debugged and got an error:
fopen(/home/ramblera/public_html/sitemap.xml) [function.fopen]: failed to open stream: Is a directory in /home/ramblera/public_html/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 1737" That lead me to change the custom location to match that error. When i did that, the error disappeared when i debugged again. I was left with this note:
Please edit wp-db.inc.php in wp-includes and set SAVEQUERIES to true if
you want to see the queries.
I have a wp-db.php, but no wp-db.inc.php that I can find.
I have also tried to build manually, but it continues to give me the original error about the sitemap files.
I've tried deactivating the plugin, I've tried removing it and re uploading, I've tried every fix I can see in the forums that seems to apply to this situation. I know I'm probably doing something very simple wrong, but I don't have any idea what it would be. I'm going a little crazy here and have no idea how to fix my problem! Any help would be greatly appreciated.