solved Where Is The Sitemap Located?

derrickhand300
@derrickhand300
10 years ago
1,353 posts
I just looked at the sitemap being created by jamroom for my site and its REALLY not so good...My entire site was created using Site Builder/Menu and
NONE of these important pages are included in the sitemap

I am wondering where/what folder holds the file/template for mysite.com/sitemap.xml so that I can disable and replace it with my own sitemap

Any help always appreciated
updated by @derrickhand300: 12/22/16 11:55:59AM
michael
@michael
10 years ago
7,816 posts
If you upload your new sitemap file to /sitemap.xml then that will be used instead. No need to put your sitemap into the /data directory where jamroom stores its one.
derrickhand300
@derrickhand300
10 years ago
1,353 posts
ok thanks-I will try it
derrickhand300
@derrickhand300
10 years ago
1,353 posts
If I add sitemap.xml to the public_html folder...the entire site disappears and all thats shown is the sitemap?
Can you help with this?
Capture.JPG.jpg
Capture.JPG.jpg  •  191KB


updated by @derrickhand300: 07/30/15 07:50:00PM
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Hello,
Here is what my server provider says..

"As per htaccess sitemap file is also set as index file.

--
*********/public_html]# cat .htaccess
# Jamroom 5 Apache .htaccess file
DirectoryIndex index.html index.php sitemap.xml modules/jrCore/router.php

--

Please remove sitemap.xml entry from it to solve the issue. Let us know, if you want us to remove it."
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Ok this fixed the issue

"******@host [/home/********/public_html]# head -3 .htaccess
# Jamroom 5 Apache .htaccess file
#DirectoryIndex index.html index.php sitemap.xml modules/jrCore/router.php
DirectoryIndex index.html index.php modules/jrCore/router.php
********@host [/home/******/public_html]# "

Hopefully I used the "*" correctly to hide the sensitive stuff....but thought I better share this in case its something that needs to be addressed in JR core...
michael
@michael
10 years ago
7,816 posts
That must be the way your server is setup. If it works do that.

For my server if I have that line in .htaccess AND i have an index.php file there too, then index.php file is more important and displays. Same with sitemap.xml.

Different servers can be setup differently though. Glad you got it working. :)
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Ok- just had to do it to my other site...spent a few days on this a few months ago....got so frustrated with it I just had to walk away from the websites altogether...wish I had known the solution was so simple and had not wasted so much time on it...Thanks
updated by @derrickhand300: 07/30/15 09:40:38PM

Tags