2 update text
source | link

iI am trying to generate Sitemap for my site using Simple XML sitemapSitemap module.i I have checked the Documentation for Extending the module features.Since i Since I am newbie to Drupal8 iDrupal 8, I am in confusion how to get this achieved. tried some hooks but failed it may be my lack of understanding regarding drupal8 module development.can Can anyone help me to get this done.what What are the namespaces iI should add to my custom module.

Currently my URLs are generated like "www.mysite.com/country/india"www.mysite.com/country/india but iI want it to be like "www.mysite.com/country/india/"www.mysite.com/country/india/ since iI use trailing slash with URLs. i've

I've used htaccess to add trailing slash to URLs with 301 redirect.

i am trying to generate Sitemap for my site using Simple XML sitemap module.i checked the Documentation for Extending the module features.Since i am newbie to Drupal8 i am in confusion how to get this achieved. tried some hooks but failed it may be my lack of understanding regarding drupal8 module development.can anyone help me to get this done.what are the namespaces i should add to my custom module.

Currently my URLs are generated like "www.mysite.com/country/india" but i want it to be like "www.mysite.com/country/india/" since i use trailing slash with URLs. i've used htaccess to add trailing slash to URLs with 301 redirect.

I am trying to generate Sitemap for my site using Simple XML Sitemap module. I have checked the Documentation for Extending the module features. Since I am newbie to Drupal 8, I am in confusion how to get this achieved. tried some hooks but failed it may be my lack of understanding regarding drupal8 module development. Can anyone help me to get this done. What are the namespaces I should add to my custom module.

Currently my URLs are generated like www.mysite.com/country/india but I want it to be like www.mysite.com/country/india/ since I use trailing slash with URLs.

I've used htaccess to add trailing slash to URLs with 301 redirect.

1
source | link

Add trailing slash to URLs when generating Sitemap with Simple XML sitemap

i am trying to generate Sitemap for my site using Simple XML sitemap module.i checked the Documentation for Extending the module features.Since i am newbie to Drupal8 i am in confusion how to get this achieved. tried some hooks but failed it may be my lack of understanding regarding drupal8 module development.can anyone help me to get this done.what are the namespaces i should add to my custom module.

Currently my URLs are generated like "www.mysite.com/country/india" but i want it to be like "www.mysite.com/country/india/" since i use trailing slash with URLs. i've used htaccess to add trailing slash to URLs with 301 redirect.