Closed (duplicate)
Project:
XML sitemap
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2018 at 12:25 UTC
Updated:
7 Aug 2019 at 06:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
shreya shetty commentedWorks as expected. I installed this module and under ADVANCED SETTINGS - Default base URL had prefilled value which was my site name and that will be the base URL of your website
Comment #3
mahtab_alam commentedCan you try this in your local enviornment with using virtual host. By default it will be http://default and if you rename that base url field the value is not saved.
Comment #4
natemow commentedHere's a patch to the alpha3 release to change xmlsitemap_base_url from a State setting to a configurable/exportable Config value. To override the new variable in settings.php, use this:
$config['xmlsitemap.settings']['xmlsitemap_base_url'] = 'https://example.com';Comment #5
natemow commentedComment #6
dave reidI think I agree and I want to take a deeper look if it makes sense to move this to config. In the meantime, we'll need to have a patch that is against 8.x-1.x branch. Also feel free to rename the config item 'base_url' instead of 'xmlsitemap_base_url' since we're already in the xmlsitemap.settings config object.
Comment #7
eduardo morales albertiAdd patch, change name to base_url instead of xmlsitemap_base_url and added it to the install to get the old value from the Drupal state.
Comment #8
eduardo morales albertiUpdated patch, change status to needs review.
Comment #10
eduardo morales albertiFix patch to pass phpunit tests.
Comment #11
shreyal999 commentedThe module is working as expected, have installed the module and updated the url path for 'Default base URL' and 'Sitemap cache directory' and even on saving the values are what i have set it to be. Couldn't reproduce the issue.
Comment #12
vuilI closed it because of duplication (see related issues), and it is overridden by them.