sitemap plugin using wrong baseURL
Posted: Mon Mar 14, 2011 4:55 pm
Hi there
I'm running several instances of s9y on a server using several domains. When I set up one of the blogs, I initially installed it as a subdomain of another domain (e.g. foobar.example.com) and later switched it to its real domain.
The problem is, that serendipity_event_google_sitemap still insists on using the old hostname foobar.example.com instead of www.example.net which is the current and correct host name. There is no reference to foobar.example.com anywhere. I grepped and zgrepped through all my server files, I checked all database entries and also removed all ServerAlias references to the old hostname in the apache config, I double-checked all settings in s9y-admin, logged out and in again to the admin-GUI for several times. I even tried to hardcode the new hostname in the function get_BaseURL() of serendipity_event_google_sitemap.php (and that's the point where I had to give up and post here)!
Of course I also deleted sitemap.xml.gz before creating a new blog entry and made sure to use http://www.example.net/admin and not the old host name in the browser.
So... what do I need to fix to get the correct hostname in my sitemap?
In s9y itself baseURL is always referenced correctly.
I'm running several instances of s9y on a server using several domains. When I set up one of the blogs, I initially installed it as a subdomain of another domain (e.g. foobar.example.com) and later switched it to its real domain.
The problem is, that serendipity_event_google_sitemap still insists on using the old hostname foobar.example.com instead of www.example.net which is the current and correct host name. There is no reference to foobar.example.com anywhere. I grepped and zgrepped through all my server files, I checked all database entries and also removed all ServerAlias references to the old hostname in the apache config, I double-checked all settings in s9y-admin, logged out and in again to the admin-GUI for several times. I even tried to hardcode the new hostname in the function get_BaseURL() of serendipity_event_google_sitemap.php (and that's the point where I had to give up and post here)!
Of course I also deleted sitemap.xml.gz before creating a new blog entry and made sure to use http://www.example.net/admin and not the old host name in the browser.
So... what do I need to fix to get the correct hostname in my sitemap?
In s9y itself baseURL is always referenced correctly.