Forum
Welcome, Guest
Please Login to access forum.
Re:Is it possible to get more "SEO-pretty" URL for sitemap? (1 viewing) 
Go to bottom
TOPIC: Re:Is it possible to get more "SEO-pretty" URL for sitemap?
#1965
Gemilot s.r.o.
Fresh Boarder
Posts: 2
User Offline
Is it possible to get more "SEO-pretty" URL for sitemap? Karma: 0  
Hi there.

I've a small problem with configuration of URL for sitemaps. I've this URL currently for (for example) XML Sitemap: http://localhost:34080/component/jmap/sitemap/xml. And I need this URL to change to SEO more pretty format like {domain}/sitemap.xml.

Of course - I can change it in .htaccess file, but I'm looking for better way.

Thank you for ideas,
Lukas
 
Logged Logged  
  The administrator has disabled public write access.
#1966
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Is it possible to get more "SEO-pretty" URL for sitemap? Karma: 79  
Hello Lukas,

the canonical way to rewrite this link would be using the htaccess. This is well explained in the pdf documentation.

As an alternative if you have a Joomla menu pointing to the HTML sitemap, you can specify the ID of the menu in the JSitemap configuration to use the menu alias for all links, the parameter is under ' Advanced setting' -> 'Menu ID for SEF sitemap links'
In this way links will be rewritten replacing the 'component/jmap' with a Joomla alias, for example http://localhost:34080/sitemap/sitemap/xml

Other approaches that i can think would be maybe using external extension such as sh404sef to do redirects, but i don't think it's the right way to do this.
 
Logged Logged  
  The administrator has disabled public write access.
#1967
Gemilot s.r.o.
Fresh Boarder
Posts: 2
User Offline
Re:Is it possible to get more "SEO-pretty" URL for sitemap? Karma: 0  
Perfect! Thank you for your answer.

Thumbs up!
 
Logged Logged  
  The administrator has disabled public write access.
Go to top