solved sitemap issue..

soaringeagle
@soaringeagle
10 years ago
3,304 posts
so the sitemaps better by far but wasnt quite there yet
so i tried uploading my own to the root and bam when i click home instead of the home page there was my sitemap!

what the heck?
deleted and its al good but i thought it was safe to upload my own to the root and it would take precedence



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 03/14/15 05:52:40AM
brian
@brian
10 years ago
10,149 posts
soaringeagle:
so the sitemaps better by far but wasnt quite there yet
so i tried uploading my own to the root and bam when i click home instead of the home page there was my sitemap!

what the heck?
deleted and its al good but i thought it was safe to upload my own to the root and it would take precedence

This is correct - in order for Jamroom to properly "serve" the sitemap.xml file from somewhere outside then HTML root, it has to "watch for it" in the .htaccess file.

If you want to maintain your own sitemap.xml file, you need to modify Jamroom's .htaccess file in your web root and change this:

# Jamroom 5 .htaccess file
DirectoryIndex index.html index.php sitemap.xml modules/jrCore/router.php

to this:
# Jamroom 5 .htaccess file
DirectoryIndex index.html index.php modules/jrCore/router.php

and that will get your onw sitemap.xml working. Just note that AFTER you make that change though, Jamroom's sitemap tool will no longer work until you change it back.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
ok thnx why was it showing the sitemap instead of homepage though im going to use mine for now since i need a total re-indexing fast


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags