Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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,807
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

#133 2012-11-27 10:26:29

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

Re: rah_sitemap

gaekwad wrote:

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.

For the current stable (1.2) that is the correct behavior. The rah_sitemap table is used for storing custom URLs while the other one hosts preferences. In the current development version neither of those tables are used (or present).

Last edited by Gocom (2012-11-27 10:27:11)

Offline

#134 2012-12-01 20:51:14

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: rah_sitemap

Help,

Below is my sitemap as produced by a first time installation of this plugin. Something’s not right!

����n� �_%���]9�K�0!��f,��}�I�W�*����ç�h�����c8�����G�C�� ��k�8%K�� �P8�E1�m[�<�Y/��8�d\>$v-2^�go�Nh����}ik�w�eg�m�p��ő��l�Wo4��‘s���#��������oqH8F��χ�����翹4, ����&ܬ �;&�h�c‘�����+.o��(γ�*��W3<���~�p�U/��UŁ�Or�,o:�܂�a���/ �0�\Q�B�Z*�<�=����p�wT�^fP�x�|�� +��`�76��f��r�?�p��J�WU�z������d���R��FT������r

I tried disabling all plugins except rah_sitemap but got the same output. Clean URLs work despite indications to the contrary:

Diagnostics

Textpattern version: 4.5.1 (r4105)
Last update: 2012-09-22 16:36:00/2012-09-12 14:02:54
Document root: /mnt/target02/343821/www.joebai.ch/web/content
$path_to_site: /mnt/target02/343821/www.joebai.ch/web/content
Textpattern path: /mnt/target02/343821/www.joebai.ch/web/content/textpattern
Permanent link mode: section_id_title
upload_tmp_dir: /tmp
Temporary directory path: /mnt/target02/343821/www.joebai.ch/web/content/textpattern/tmp
Site URL: joebai.ch
PHP version: 5.3.14
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: America/Chicago
Server local time: 2012-12-01 14:50:05
DST enabled?: 0
Automatically adjust DST setting?: 1
Time zone: America/New_York (-18000)
MySQL: 5.1.61-log
Locale: en_GB.UTF-8
Server: Apache/2.2
Apache version: Apache/2.2
PHP server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.32.39-grsec-3.mosso5.1.x86_64
Active plugins: rvm_privileged-0.4, zem_contact_reborn-4.0.3.20, zem_contact_lang-4.0.3.6, chh_if_data-0.10, adi_scripts-0.1, adi_image_tab-0.2, rah_sitemap-1.2, smd_macro-0.20, abl_droploader-0.13, adi_recent_tab-0.4, glz_custom_fields-1.4.0-beta
Admin-side theme: hive 4.5.1

Pre-flight check:
————————————
New Textpattern CMS version 4.5.2 available for download
Some Textpattern files have been modified: /mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_publish.php
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: leak, posix_getpwuid, posix_getpwnam, posix_getgrid, posix_getgrnam, posix_getgroups
Clean URL data test failed.:
————————————

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#Remove www.
RewriteCond %{HTTP_HOST} ^www.joebai.ch$ [NC]
RewriteRule ^(.*)$ http://joebai.ch/$1 [R=301,L]
#Textpattern
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) /index.php
</IfModule>

#php_value register_globals 0

  1. SVG
    AddType image/svg+xml svg svgz
    AddEncoding gzip svgz

————————————

Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: OK

10 Custom fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)

PHP extensions: Core/5.3.14, date/5.3.14, ereg, libxml, openssl, pcre, sqlite3/0.7-dev, zlib/1.1, bz2, calendar, ctype, hash/1.0, filter/0.11.0, ftp, gettext, gmp, SPL/0.2, iconv, Reflection/$Id: 522fef1e5100f848a5e2059d98b3a880a3143e9a $, session, standard/5.3.14, shmop, SimpleXML/0.1, sockets, exif/1.4 $Id$, tokenizer/0.1, xml, apache2handler, bcmath, curl, dba, dom/20031129, fileinfo/1.0.5-dev, gd, imagick/3.0.1, imap, intl/1.1.0, json/1.2.1, ldap, pdf/2.2.0, mbstring, mcrypt, memcache/2.2.6, mongo/1.2.10, mssql, mysql/1.0, mysqli/0.1, odbc/1.0, PDO/1.0.4dev, pdo_dblib/1.0.1, pdo_mysql/1.0.2, PDO_ODBC/1.0.1, pdo_pgsql/1.0.2, pdo_sqlite/1.0.1, pgsql, Phar/2.0.1, posix, pspell, recode, redis/2.0.11, snmp, soap, sysvmsg, sysvsem, sysvshm, tidy/2.0, uploadprogress/1.0.3.1, wddx, xmlreader/0.1, xmlrpc/0.51, xmlwriter/0.1, xsl/0.1, yaz/1.1.3, zip/1.9.1, ionCube Loader, Zend Guard Loader, XCache/1.3.2

Apache modules: core, itk, http_core, mod_so, mod_auth_basic, mod_authn_file, mod_authz_host, mod_authz_user, mod_authz_groupfile, mod_authz_default, mod_include, mod_log_config, mod_env, mod_expires, mod_headers, mod_setenvif, mod_mime, mod_status, mod_autoindex, mod_negotiation, mod_dir, mod_alias, mod_rewrite, mod_actions, mod_unique_id, mod_auth_mysql, mod_deflate, mod_nogzip, mod_rpaf-2, mod_slotlimit, mod_php5

pretext_data: 49e2df688dc302447c1ebffe7bc6eb24

/mnt/target02/343821/www.joebai.ch/web/content/index.php: r4086 (5a801490d02bc4a6f7e3015cd7a3595c)
/mnt/target02/343821/www.joebai.ch/web/content/css.php: r4086 (37b5286b5115859065bf938666841141)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/css.php: r3189 (5fa089ec717ddac59d65ae3a8a771cfe)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/import/import_b2.php: r3997 (cdaee7ca7c0a2480712138ce32e89318)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/import/import_blogger.php: r3901 (ad8b26a8d67d1eed87bb936982c5791e)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/import/import_mt.php: r3446 (a71d76c32faebd9f8d77f44a65bd5280)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/import/import_mtdb.php: r3997 (04926d33436b611e7e55b5607b117cda)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/import/import_wp.php: r3997 (2df17a65dfa2ce1ccda31ee24d250aa4)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_admin.php: r4092 (311d38dbdd0c3c4cc82816de699306f6)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_article.php: r4060 (ca30b250c129d54c8077eec3b8892654)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_auth.php: r3964 (63b069d3b7eba47219ce7a6692be059e)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_category.php: r4089 (edd02032b48d1b4416992eed7fd1dfcc)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_css.php: r4090 (901b3cfd4263842ce4a1632b6102e974)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_diag.php: r4082 (bb6024d4f6ac72941a39ae11c421357c)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_discuss.php: r4089 (64459dcdcb6d54d91764e9b1e3adebec)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_file.php: r4089 (4d19e348d1d421420a11d4a825f9086b)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_form.php: r4089 (11163bb7f5314dc4546b058008580578)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_image.php: r4089 (34d492ea08a2e9680ee250d8d99e4c6b)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_import.php: r3997 (3218fb5e57d37cef51c1defe2fb125a7)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_link.php: r4089 (6673e7c52b7a4438fe6171301fb7aa6b)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_list.php: r4089 (f63863835870b9c4a5bf068ae5f506d0)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_log.php: r4062 (b48fc755b994089e9bc8414789183cd5)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_page.php: r4089 (d739e5fad7c1ee56b5efc30d51e8b0b6)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_plugin.php: r4062 (57f15fd51e7e8f99a6e4707f8545c455)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_prefs.php: r4062 (f3a8105e104245f6c87dd689f91c2f7f)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_section.php: r4089 (9911afe5ca56042bd8bfd8019feef5ed)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/include/txp_tag.php: r4095 (6a6d7f79d5a05aedf44044dc1aa1bb96)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/index.php: r4105 (f805a5963ba3f9a9730aa65871b507e5)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/jquery.js: unknown (b8d64d0bc142b3f670cc0611b0aebcae)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/IXRClass.php: r3394 (7afe4b2cedb53123334dd83627eb6100)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/admin_config.php: r3896 (45f04021abb7760f40eb4883d954ccb9)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/class.thumb.php: r3733 (7f7e8fb0fbc34f7c9064ae44c1965739)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/classTextile.php: r4096 (e8ca7fa5d4264ff1f95e93f7275e1425)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/constants.php: r4060 (f7c4720315b9fc1e9e20e949797c84a4)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/taglib.php: r2868 (593b9a85d2e2decfe376ef96bccef30d)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_admin.php: r3818 (562f9c260b3977ddd4ce2630c1611d7a)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_db.php: r3752 (99b8ae95c71dcfe229492a798cc54a3f)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_forms.php: r3852 (22de0e45e4b0e0d82cd54706d3efcdea)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_head.php: r3989 (d5ec850dffdda8ff73f98bbd769dc7cf)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_html.php: r3993 (12ab6b3115f586586722783d16822e02)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_misc.php: r4091 (09cb1f3525e81e8c3e202dfc1edd04e0)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_publish.php: unknown (a0d791e0b9589ea7a6b10e984ff5e56a)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_theme.php: r3944 (2c6ab5ae40e1dc720acc01db4ae2f539)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_update.php: r4020 (be6a7fffa288cb9415448d54cb4b3e0d)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_validator.php: r3802 (f6bd9240088fd2faf9d5092184edbe44)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/lib/txplib_wrapper.php: r2931 (a8db2ace7792d01e9413dc784ae104b8)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/publish.php: r4059 (cb580c8cb3fc8d138423f8eea5edd93a)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/publish/atom.php: r4011 (ac045068b66306343349ab254ad618a4)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/publish/comment.php: r4058 (cddeb7cd0a1aea8b857130a4110ed870)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/publish/log.php: r3505 (610d0945518a1d116ecfcae34a7f3e70)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/publish/rss.php: r4011 (1734d949d0c12d552c75bdb47fcd1d68)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/publish/search.php: r2812 (a7cbc114dc109c3e7f213dc65a873923)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/publish/taghandlers.php: r4058 (8ca6aa045b6257e07c02d3779b554a2f)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/textpattern.js: r4057 (f23302f2be04fb277d39a84ad193b0e8)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/theme/classic/classic.php: r4055 (eeda031b962394fe8664eaff5c4c3fbf)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_1.0.0.php: r4011 (0b8a7115acb2da6d8410720a51323c0b)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.0.2.php: r4011 (954684082578f1c42dd7f3f682bec26b)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.0.3.php: r4011 (6f735f4166ebec8a5c936d57ec81544a)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.0.4.php: r4011 (c312d3d1cbdda59692fc0f1530eb24a5)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.0.5.php: r4011 (59d09716fd3a427cb88d621c7d27572e)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.0.6.php: r4011 (224ed307281cf46a459cbd447e4cbeb6)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.0.7.php: r4011 (4197f0a835cc9ee09343b0b2e46d193b)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.0.8.php: r3057 (24649bf0e48ac67d2150bd03d88e4038)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.2.0.php: r4011 (95cb48efe7e48177c54e8fc4188ab323)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.3.0.php: r4011 (340188db0ea27e34857488ec3df0fd50)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.4.0.php: r4011 (c244bfc0d45549f24f81da38777604f5)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.4.1.php: r4011 (d3d8f8459bc2cd29e259dc58a782b91f)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.5.0.php: r4020 (2053def6169eeb8a5a703a17ac67268b)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_to_4.5.1.php: r4082 (731a09c471508badb4780f6767a11145)
/mnt/target02/343821/www.joebai.ch/web/content/textpattern/update/_update.php: r4105 (7a9c9755b54ffff0876eede424cbf91a)

————————————

Offline

#135 2012-12-01 22:08:08

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

Re: rah_sitemap

joebaich wrote:

Below is my sitemap as produced by a first time installation of this plugin. Something’s not right!

Looks like your server compresses outgoing packets. Try disabling rah_sitemaps own compression. You can find an option to do it in the plugin’s preferences panel located under Extensions.

Last edited by Gocom (2012-12-01 22:08:47)

Offline

Board footer

Powered by FluxBB