Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Plugin support
  3. » rah_sitemap

#121 2011-03-23 17:44:24

vurt
Member
Registered: 2010-10-22
Posts: 50

Re: rah_sitemap

OK. I’ll just add them as custom urls.

Can I ask why the LastMod for custom urls is “not recommended”?

Offline

#122 2011-03-23 17:48:58

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

vurt wrote:

Can I ask why the LastMod for custom urls is “not recommended”?

Nothing major really. I’ve just added the warning there just because the last modification date is created when the URL is saved, and won’t update when the linked content is updated.

Offline

#123 2011-04-07 06:09:16

mericson
Member
Registered: 2004-05-24
Posts: 137
Website

Re: rah_sitemap

Anyone know how I can get rah_sitemap to create a trailing slash on my URL? I have my permalinks using trailing slash for uniformity but can’t get rah_sitemap to generate them the same way for SEO.

Unfortunately, a category URL setting for rah_siemap of:

<txp:site_url /><txp:section/><txp:article_id /><txp:article_url_title />/

does not work.

Offline

#124 2011-04-07 06:38:48

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

mericson wrote:

Anyone know how I can get rah_sitemap to create a trailing slash on my URL?

By using the “Override permlink formats” preferences found at the bottom of rah_sitemap’s preferences pane. For example:

  • Category URLs: <txp:site_url />category/<txp:category />/
  • Section URLs: <txp:site_url /><txp:section />/
  • Article URLs: <txp:permlink />/

Offline

#125 2011-04-07 07:33:09

mericson
Member
Registered: 2004-05-24
Posts: 137
Website

Re: rah_sitemap

Uggh… I think I realized what happened… I had added the trailing slash reloaded my sitemap in the browswer but it didn’t show the trailing slash. The sitemap was cached by my browser so it wasn’t being updated with my changes.

Thanks for the help!

Offline

#126 2011-07-28 09:41:09

datorhaexa
Member
From: Düsseldorf, Germany
Registered: 2005-05-23
Posts: 115
Website

Re: rah_sitemap

Did anyone manage to configure rah_sitemap with MLP properly? I have a bi-lingual site on my hands and am getting nowhere till now.

P.S.
I need to elaborate a bit I guess. I got the URL rewrites working for sections and articles. What now happens is that the plugin lists all “en”-language sections and pages but ignores the second language completely, although I am using <txp:l10n_get_lang /> as Els suggested. Is this a rah_sitemap issue or an MLP issue?

Last edited by datorhaexa (2011-07-28 10:16:38)

Offline

#127 2011-08-05 15:51:40

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Re: rah_sitemap

In some cases I’de like to not-include article’s URL in sitemap.
Do you think is possible to set visibility directly in the write tab?
Could be useful?

Offline

#128 2011-11-28 12:03:04

Alex McKee (TDC)
New Member
Registered: 2011-11-28
Posts: 1

Re: rah_sitemap

Gocom wrote:

No problem. Did some tests and it worked. Changed Graeme’s plugins’ load orders to 4 while kept rah_sitemap at 5, and well, it worked.

That’s a great tip. I tried this but it didn’t work for me. In fact the clean URLs changed to messy for the sections (?s=section) but the custom URL did not get output in the sitemap. I am using a custom URL on the section/custom_field/title pattern in Graeme’s plugin. Did anyone get such a URL scheme working with rah_sitemap?

Offline

#129 2012-06-29 16:29:20

clivewalker
Member
From: Horsham UK
Registered: 2004-07-19
Posts: 26
Website

Re: rah_sitemap

If I have Textpattern installed in a subdirectory like /txp, will a custom URL for the root domain be added into the sitemap? I thought it would but it appears not? Have I missed a setting for this?

Offline

#130 2012-06-29 16:56:21

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

clivewalker wrote:

If I have Textpattern installed in a subdirectory like /txp, will a custom URL for the root domain be added into the sitemap? I thought it would but it appears not? Have I missed a setting for this?

The sitemap works on installation location basis, respecting sub-directories. It will not automatically include a link to domain’s root if Textpattern isn’t installed there, since the TXP site itself isn’t there and there is no promises of being relevant location.

Rah_sitemap v1.2’s user-defined Custom URLs support absolute URLs (i.e. http://example.com/) and, as such, can also be used to link outside the installation directory.

Last edited by Gocom (2012-06-29 16:58:48)

Offline

#131 2012-06-29 17:19:40

clivewalker
Member
From: Horsham UK
Registered: 2004-07-19
Posts: 26
Website

Re: rah_sitemap

Thanks for the quick reply. Sorry my mistake, got it working now, great plugin

Last edited by clivewalker (2012-06-29 17:22:17)

Offline

#132 2012-11-27 10:15:52

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,259
GitHub

Re: rah_sitemap

I have two tables for rah_sitemap: rah_sitemap_prefs and rah_sitemap. It appears that rah_sitemap is empty. I’m not doing anything untoward, at least not that I can see, is this normal behaviour? The plugin is working A-OK and exactly as expected, this is just an observation.

Offline

  1. Index
  2. » Plugin support
  3. » rah_sitemap

Board footer

Powered by FluxBB