svanschu / SchuWeb-Sitemap

SchuWeb Sitemap is a sitemap generator for Joomla CMS
GNU General Public License v3.0
13 stars 9 forks source link

URL is not SEF #113

Closed svanschu closed 7 months ago

svanschu commented 8 months ago

Furthermore, the URL is not SEF. How can this be corrected? Thanks again!

Originally posted by @AlainRnet in https://github.com/svanschu/SchuWeb-Sitemap/issues/108#issuecomment-1835798701

svanschu commented 8 months ago

@AlainRnet can you give me an example of URL which is not SEF?

As soon as you configure your website to use SEF URLs, the sitemap does this as well.

Small example


 <url>
  <loc>http://localhost:43000/schuweb-sitemap-dev-j4/sample-layouts/articles/joomla</loc>
  <lastmod>2022-02-06T23:47:55Z</lastmod>
  <changefreq>weekly</changefreq>
  <priority>0.5</priority>
 </url>
 <url>
  <loc>http://localhost:43000/schuweb-sitemap-dev-j4/typography</loc>
  <lastmod>2022-02-06T23:47:55Z</lastmod>
  <changefreq>weekly</changefreq>
  <priority>0.5</priority>
 </url>
 <url>
  <loc>http://localhost:43000/schuweb-sitemap-dev-j4/calendar</loc>
  <changefreq>weekly</changefreq>
  <priority>0.5</priority>
 </url>
 <url>
  <loc>http://localhost:43000/schuweb-sitemap-dev-j4/calendar&Itemid=210</loc>
  <changefreq>weekly</changefreq>
  <priority>0.5</priority>
 </url>
 <url>
  <loc>http://localhost:43000/schuweb-sitemap-dev-j4/calendar-profile</loc>
  <changefreq>weekly</changefreq>
  <priority>0.5</priority>
 </url>
 <url>
  <loc>http://localhost:43000/schuweb-sitemap-dev-j4/calendar-timeline</loc>
  <changefreq>weekly</changefreq>
  <priority>0.5</priority>
 </url>
AlainRnet commented 8 months ago

I think it's okay since you settled the removal of administrator in the links. Do you have an installable zip of the plugin I can test?

svanschu commented 8 months ago

It is released https://extensions.schultschik.com/schuweb-sitemap/schuweb-sitemap-5-0-0

AlainRnet commented 8 months ago

Oh, stupid, I was looking in github. Thank you very much.

AlainRnet commented 8 months ago

off-topic question: how do you create the archive from a github src subfolder? is it possible to automate this?

svanschu commented 7 months ago

If you make a release, github will put everything in a archive. But this is not controllable.

I use PHING to create my packages, to control the structure and change dates and version numbers with a variable on building the joomla extension package.