Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
"Articles" link and links to article titles are broken
I’ve searched around Google and these forums to no avail.
I’m new to textpattern but have been using Linux and Apache in a professional capacity for 25+ years.
At my site https://www.73satellite.com/ there are two links at the top of the page “Home” and “Articles”. I’m getting a 404 on clicking “Articles” in my super-vanilla setup (Amazon Linux 2 AKA CentoOS 7 on EC2). Also, clicking the title of an article gives 404 also instead of redirecting to the article’s individual page.
What setup am I missing?
Offline
Re: "Articles" link and links to article titles are broken
Hi and welcome to Textpattern.
If your server is running Apache, ensure you’ve uploaded the (sometimes hidden, depending on OS) .htaccess
files in both the root directory, and the textpattern directory at minimum. They tell Apache to honour clean URLs.
If it’s not that, visit Admin>Diagnostic. That may give you more info.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: "Articles" link and links to article titles are broken
Bloke wrote #326134:
If your server is running Apache, ensure you’ve uploaded the (sometimes hidden, depending on OS)
.htaccess
files in both the root directory, and the textpattern directory at minimum. They tell Apache to honour clean URLs.If it’s not that, visit Admin>Diagnostic. That may give you more info.
—-
Both .htaccess files are in place and have the same md5 sum as the original zip distribution’s.
Verbose diagnostic info with private info removed:
EDIT: Also noting that the “pre.” blocks don’t seem to work.
Edit by etc: fixed markup
Textpattern version: 4.8.3 (596bca03a4b32004412499363cecec62)
Last update: 2020-09-13 13:56:06
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: title_only
Production status: testing
Temporary directory path: /tmp
PHP version: 5.6.40
GD Graphics Library: 2.3.0; Supported formats: GIF, JPEG, PNG, WebP.
Server timezone: America/Los_Angeles
Server local time: 2020-09-27 13:14:02
Daylight Saving Time enabled?: 1
Automatically adjust Daylight Saving Time setting?: 1
Time zone (GMT offset in seconds): America/Los_Angeles (-28800)
MySQL: 5.5.5-10.1.46-MariaDB (MariaDB Server)
Database server time: 2020-09-27 20:14:02
Database server time offset: 0 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: C
Site / Admin language: en / en
Web server: Apache/2.4.46 () OpenSSL/1.0.2k-fips PHP/5.6.40
Apache version: Apache/2.4.46 () OpenSSL/1.0.2k-fips PHP/5.6.40
PHP server API: apache2handler
RFC 2616 headers:
Server OS: Linux 4.14.193-149.317.amzn2.x86_64
Admin-side theme: hive 4.8.3
Active plugins:
smd_gallery-0.62
smd_lib-0.37
smd_thumbnail-0.6.0
Pre-flight check:
------------------------
Clean URL test failed. Help
------------------------
.htaccess file contents:
------------------------
# BEGIN Textpattern
#DirectoryIndex index.php index.html
<IfModule mod_rewrite.c>
RewriteEngine On
# Enable the `FollowSymLinks` option below if it isn't already.
#Options +FollowSymlinks
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
# For additional Apache-compatible web server configuration settings to enhance
# site performance and security, we recommend:
# https://github.com/h5bp/server-configs-apache/blob/master/dist/.htaccess
# END Textpattern
------------------------
Charset (default/config): latin1/utf8mb4
character_set_client: utf8mb4
character_set_connection: utf8mb4
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8mb4
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
collation_connection: utf8mb4_general_ci
collation_database: latin1_swedish_ci
collation_server: latin1_swedish_ci
18 database 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)
Apache modules: core, mod_so, http_core, mod_access_compat, mod_actions, mod_alias, mod_allowmethods, mod_auth_basic, mod_auth_digest, mod_authn_anon, mod_authn_core, mod_authn_dbd, mod_authn_dbm, mod_authn_file, mod_authn_socache, mod_authz_core, mod_authz_dbd, mod_authz_dbm, mod_authz_groupfile, mod_authz_host, mod_authz_owner, mod_authz_user, mod_autoindex, mod_cache, mod_cache_disk, mod_cache_socache, mod_data, mod_dbd, mod_deflate, mod_dir, mod_dumpio, mod_echo, mod_env, mod_expires, mod_ext_filter, mod_filter, mod_headers, mod_include, mod_info, mod_log_config, mod_logio, mod_macro, mod_mime_magic, mod_mime, mod_negotiation, mod_remoteip, mod_reqtimeout, mod_request, mod_rewrite, mod_setenvif, mod_slotmem_plain, mod_slotmem_shm, mod_socache_dbm, mod_socache_memcache, mod_socache_shmcb, mod_status, mod_substitute, mod_suexec, mod_unique_id, mod_unixd, mod_userdir, mod_version, mod_vhost_alias, mod_watchdog, mod_dav, mod_dav_fs, mod_dav_lock, mod_lua, prefork, mod_proxy, mod_lbmethod_bybusyness, mod_lbmethod_byrequests, mod_lbmethod_bytraffic, mod_lbmethod_heartbeat, mod_proxy_ajp, mod_proxy_balancer, mod_proxy_connect, mod_proxy_express, mod_proxy_fcgi, mod_proxy_fdpass, mod_proxy_ftp, mod_proxy_http, mod_proxy_hcheck, mod_proxy_scgi, mod_proxy_uwsgi, mod_proxy_wstunnel, mod_ssl, mod_systemd, mod_cgi, mod_http2, mod_php5, mod_proxy_http2
/vendors/PrismJS/prism/prism.js:
44f658af33ab08c62870c5d8f79f0259
/vendors/Textpattern/Loader.php:
947e1de5f03130d1a0d743d9d4bf1b60
/vendors/Textpattern/Skin/AssetBase.php:
75e80049392eedc5f1b0c50ffdb7e906
/vendors/Textpattern/Skin/FormInterface.php:
ff4579330b5395ed7898cd2d5015ac15
/vendors/Textpattern/Skin/PageInterface.php:
491f9d40e3a3b8117f58980c37ba2863
/vendors/Textpattern/Skin/CommonBase.php:
fa1a403067051a86ea596b71d3b1f848
/vendors/Textpattern/Skin/AssetInterface.php:
321de33dd825a9d95419438d106f131f
/vendors/Textpattern/Skin/CssInterface.php:
530b7443df187b5e47d3af6a639ca1d0
/vendors/Textpattern/Skin/Skin.php:
a28b1b7966fdff820c53c5fd2692bc7e
/vendors/Textpattern/Skin/CommonInterface.php:
8c4c5a5b8cd2f58923750253e566207c
/vendors/Textpattern/Skin/Page.php:
01711baaf30c688c6b08690e835977d9
/vendors/Textpattern/Skin/Form.php:
3faac3bbf0db4e8afad0508a32852ed5
/vendors/Textpattern/Skin/Css.php:
fb4b3860b7cccae3f8a19471df526959
/vendors/Textpattern/Skin/SkinInterface.php:
ea0c4bccd16637998d64eabb2a003859
/vendors/Textpattern/L10n/Lang.php:
cda6806df5c4c9a45cb190b16a859a11
/vendors/Textpattern/L10n/Locale.php:
7611cfc410a1f49f9ffd4f252546c748
/vendors/Textpattern/Password/Hash.php:
c265c6bc114432f4befc350eafce17c8
/vendors/Textpattern/Password/Adapter/PasswordHash.php:
f6a15f46e30eab0eb53b4f7aa69aa565
/vendors/Textpattern/Password/AdapterInterface.php:
32930ad148b6cda04b70945f7566535f
/vendors/Textpattern/Password/Random.php:
d0f127a8d31cac54040085d57a74a190
/vendors/Textpattern/Password/Generator.php:
8ab98722eb6d9dcf186dce558f42906c
/vendors/Textpattern/Validator/Validator.php:
67fdf5da4314a00bd04724f00a1f6d48
/vendors/Textpattern/Validator/CategoryConstraint.php:
985b5b8f1b6f68dbb13c67424c3a0bca
/vendors/Textpattern/Validator/BlankConstraint.php:
fd6602d50de209e2f8dfd76025cfbf42
/vendors/Textpattern/Validator/SectionConstraint.php:
896694330d6a8e359420e9da32f560d1
/vendors/Textpattern/Validator/FalseConstraint.php:
8c0d1e92c1cbd77e0d41de481d181701
/vendors/Textpattern/Validator/Constraint.php:
79d4e7c562a58b06b5ca374c993fc9f0
/vendors/Textpattern/Validator/ChoiceConstraint.php:
b5dd8a3d4e304e3100b2dae39ba00e7e
/vendors/Textpattern/Validator/TrueConstraint.php:
673b18e8ce08f8426a85bda09149d868
/vendors/Textpattern/Validator/FormConstraint.php:
7f5b8cb53b924c4b32a4f12ce625cbe8
/vendors/Textpattern/Textile/Parser.php:
99fea5690c6ce8bceecd69a0a7bb4cc2
/vendors/Textpattern/Textile/RestrictedParser.php:
d46d49fcc716083532bf421ffbdf85cc
/vendors/Textpattern/Security/Filter.php:
8ac713e61916c70425a731d0ec2d72e6
/vendors/Textpattern/Security/Exception.php:
46c987b3af3c526f063bf47cf60d35e9
/vendors/Textpattern/Mail/Encode.php:
a981d3a3cc455a7fa88615e442713f21
/vendors/Textpattern/Mail/Compose.php:
30c8c428d377722658e5845cf89b9ea1
/vendors/Textpattern/Mail/Adapter/Mail.php:
b5aa1e86cbf09c8ccdc6fee99ba557d1
/vendors/Textpattern/Mail/AdapterInterface.php:
c089fb87a60763d24aa589cca5a4e2ff
/vendors/Textpattern/Mail/Exception.php:
763060d8136a74c7449f2e7faac110ca
/vendors/Textpattern/Mail/Message.php:
92dbb5ba3fd2e908b6f9c53b96f711bf
/vendors/Textpattern/Module/Help/HelpAdmin.php:
84120d58acc48dec32ead3adebf9be40
/vendors/Textpattern/Date/Timezone.php:
47fdc11b43ce88f5ae171170e891f145
/vendors/Textpattern/Textfilter/Registry.php:
88b4de3151b3c252104e372d91df21be
/vendors/Textpattern/Textfilter/Plain.php:
9e37dca009614e043c28b0da6221990f
/vendors/Textpattern/Textfilter/Constraint.php:
79d0754e3be24793d74e491d47fb01d2
/vendors/Textpattern/Textfilter/Base.php:
798ecc573965fd29652d73d8a92491d4
/vendors/Textpattern/Textfilter/Nl2Br.php:
3e6ef464d5750e908df6b8e4d28624ee
/vendors/Textpattern/Textfilter/Textile.php:
cf06ae4d7c0cdab2b35bae6f8f4f9dc9
/vendors/Textpattern/Textfilter/TextfilterInterface.php:
27d541404ff4bbbb21ddf617165634ea
/vendors/Textpattern/Plugin/Plugin.php:
e7822bc3c097193c37fe9ec28d1e793b
/vendors/Textpattern/Admin/Paginator.php:
218e9277e451bc1a1e9917a089c873ea
/vendors/Textpattern/Admin/Theme.php:
c5a220c63a2ff63d4725fcec73c1266a
/vendors/Textpattern/Admin/Tools.php:
f148194a51d8d6bb1915ce154862358d
/vendors/Textpattern/Admin/Table.php:
a7febcda31211058ff9d99da76ee0203
/vendors/Textpattern/Server/Files.php:
d13d4a49879f170e16a1735f56cfffa7
/vendors/Textpattern/Server/Config.php:
dbaddaea1c84a79063f1b7299bb7302c
/vendors/Textpattern/Search/Method.php:
f2a1368481cc8bf781a9525c336de434
/vendors/Textpattern/Search/Filter.php:
1d2aba6643e1b6d2382257825deb1b35
/vendors/Textpattern/Container/Container.php:
9653aeffa179a27ead529f04d898ab9d
/vendors/Textpattern/Container/FactorableInterface.php:
4c75c43e40e985dbb5ca0643dace001a
/vendors/Textpattern/Container/ReusableInterface.php:
d03462edb9a52096a01b69c999d4906a
/vendors/Textpattern/Container/FactoryInterface.php:
48d909eeed80c8007e8c99b2f255a672
/vendors/Textpattern/Container/ContainerInterface.php:
87215cdfb9ba14484fa46e03763fa12e
/vendors/Textpattern/Iterator/FileIterator.php:
6e26520c022e2c45a1d982be0eab93e0
/vendors/Textpattern/Iterator/RecIteratorIterator.php:
c240e02875e7ea95fc9fdeaca26e834f
/vendors/Textpattern/Iterator/RecFilterIterator.php:
64c0159e58087519644245409dfe1740
/vendors/Textpattern/Iterator/RecDirIterator.php:
e405a0c0ad2bb0fd0fba983688edc60c
/vendors/Textpattern/Adaptable/ProvidableInterface.php:
1ccb6be6edc7b3ff2272e35d644d0421
/vendors/Textpattern/Adaptable/AdapterInterface.php:
fe35dd6ba0eaedc1fb54193c014021d6
/vendors/Textpattern/Adaptable/Providable.php:
5e8af9e9397d4f16da71e4f4fc9c1cfa
/vendors/Textpattern/Type/TypeCallable.php:
62e567316e44f8b5b4a4e9de31648685
/vendors/Textpattern/Type/TypeInterface.php:
dca0db4e29dc478438e4d0c6f56b20c4
/vendors/Textpattern/Type/StringType.php:
3569f32b4879517309ace40f06defe7b
/vendors/Textpattern/Http/Request.php:
8bfa3068cef4d98614d6b010942d2ad2
/vendors/Textpattern/DB/Core.php:
779c5c14052c4add4006737293f9e990
/vendors/Textpattern/Textpack/Parser.php:
8f68f2d5b15e300771f472f23989433d
/vendors/Textpattern/Textpack/StringInterface.php:
0eaf2aea2c53abc814ad12a6a356f16d
/vendors/Textpattern/Textpack/String/Iterator.php:
c8233d6ac4c857a770810345c7f855aa
/vendors/Textpattern/Filter/FilterCallable.php:
ba774a22a3be3fbf8c2d2dc4a79402ad
/vendors/Textpattern/Filter/StringFilter.php:
f1a962c18184fa1e489fcc12b111372e
/vendors/Textpattern/Filter/Exception.php:
36f733921960bc185a8d48bd39a70c1d
/vendors/Textpattern/Import/TxpXML.php:
2fe029d5e6e33474cc9536f81753053f
/vendors/Textpattern/Tag/Registry.php:
d3a06ae5bb2468fee8fdf816ccca13f7
/vendors/Textpattern/Tag/Syntax/Link.php:
7ec0f884da4ed3f39e1b20aa0e05a2d0
/vendors/Textpattern/Tag/Syntax/File.php:
506b3213539d3cab2d31958fc14ed214
/vendors/Textpattern/Tag/Syntax/Partial.php:
7691413b0dba50cb57c130a7f49ec9b8
/vendors/Textpattern/Tag/Syntax/Authors.php:
17d8275976b0b2906ba4315a14058a1b
/vendors/Textpattern/Tag/Syntax/Image.php:
cc06f761d1a37f6ce3f2226ea3ed9d6f
/vendors/Txp.php:
2a4a8b3710093792df7f9c074016737e
/vendors/jquery/jquery/jquery.js:
dc5e7f18c8d36ac1d3d4753a87c98d0a
/vendors/jquery/jquery-ui/jquery-ui.js:
c15b1008dec3c8967ea657a7bb4baaec
/vendors/Netcarver/Textile/Parser.php:
ca95b629865b6fc8a03d2a6d57e5e164
/vendors/Netcarver/Textile/DataBag.php:
67ab988e7ab1d072937acbbcb023a288
/vendors/Netcarver/Textile/Tag.php:
73f14c01329e27998a213b7e5b79e620
/vendors/blueimp/fileupload/jquery.fileupload.js:
91fa946a86ab8fd226032d8ca3ede5ee
/index.php:
e96f4e022d582e5a868bbfa13d0d2983
/update/_to_4.7.0.php:
c9159b3a8ae39b4043b0fe5ca7a5dc28
/update/_update.php:
3466df44919914a9a8aa6b872896999b
/update/_to_4.7.2.php:
97db14ef5d1c14acaf3bd49f8395b8db
/update/_to_4.5.0.php:
7888ba751ecd43ddb8f9c495b42f8269
/update/_to_4.5.7.php:
53ab3076e319727e121432227746eedb
/update/_to_4.3.0.php:
e08cb6276170701f00be291fdba55446
/update/_to_4.0.5.php:
afd860098366b0b2369bfa57c0f0ec7d
/update/_to_4.0.4.php:
be1739654b223bd951bf55d2f48a12f6
/update/_to_4.0.6.php:
0dddc6a11ed28c023e0b59828819d2df
/update/_to_4.6.0.php:
c78348eadea6b7be35d63a5c776a981e
/update/_to_4.0.7.php:
4e9e1d37870451a2e98f9c4c5ee89653
/update/_to_4.0.3.php:
80c3afb0dcb80edcad2c30c4cf905b16
/update/_to_4.2.0.php:
3c25ab6bcc7a31edb52428096c042381
/update/_to_4.8.0.php:
e4da9bc708ef7b21c624d0cd6016ec4f
/update/_to_4.0.8.php:
d5aba30d332338eb38e3e1cff08502af
/include/txp_lang.php:
e5836ed10e7742e17712a17baca9ccd0
/include/txp_link.php:
4a134cb45aa186b08b220e6419234551
/include/txp_log.php:
1d1a0b73807f90138034cbac3b8e5edb
/include/txp_auth.php:
a28a7c96d2f4740e7914fd26a7367d0f
/include/txp_css.php:
ce9e9342ef29f4689d59f17466424ee5
/include/txp_admin.php:
e9de0ef37d0bf4c8725b245700de87b0
/include/txp_prefs.php:
3f40cae59a8fc26d62795c77e6604cf5
/include/txp_file.php:
ae8290fd1b5d6a415167692c3676548f
/include/txp_diag.php:
a508b159b9143efd53ed0e7d454a1f55
/include/txp_section.php:
e127a97d71dd9207ca6ff16a1f5500ad
/include/txp_image.php:
28d147ecde471bd0e4a342dbb5291696
/include/txp_list.php:
619ea3469cf91ba6d9804830cdf926e5
/include/txp_pane.php:
bf2dde5f6adafe8a848bc64f56af33d6
/include/txp_category.php:
c5d908666194870d48bd429fac52b8dc
/include/txp_skin.php:
399fc5df206d85cd1af1b0a48f5413c5
/include/txp_tag.php:
f1c10d7dc58e0356ce17f3330fc9fb83
/include/txp_form.php:
3dfb85154f480fd9a0e5a6958d46c264
/include/txp_article.php:
647613f37634379a4d94cf7662a7321a
/include/txp_page.php:
53fb1aa8f57cdfc600a2553cee3f515c
/include/txp_plugin.php:
60e696db1f4d651cfe113900964fdb5e
/include/txp_discuss.php:
37f7902f0909732431cbfeacb0587a2c
/textpattern.js:
a3d4ae102e2674d3b683aa065d67f74e
/publish/rss.php:
97fcd064d44aa1f11b87d079e97f1172
/publish/taghandlers.php:
14facec5f7b1eb1fdda324d1ca9df23a
/publish/search.php:
0aa3e6b08c1bbcb020feadfbb35db67f
/publish/atom.php:
08a9a3ae66e26e2fdc2a0955da102bf2
/publish/comment.php:
102a73887324863a28be762bb64564b4
/publish/log.php:
6d83a06dbe11520d7e43afec10011ceb
/admin-themes/classic/classic.php:
5f05af5915e53fca94d56154af8f9710
/admin-themes/hive/hive.php:
ee91c191279335628e8c53f0b58a01d0
/admin-themes/hive/assets/js/autosize.js:
c12d4a53b06622f18df7f80993daffb7
/admin-themes/hive/assets/js/main.js:
8e6a70c4cf6524b04dcbba793bb3151d
/admin-themes/hive/assets/js/darkmode.js:
256ec5c3f1b984fcc388949c4410f346
/admin-themes/hiveneutral/hiveneutral.php:
d27d8361fe9304becb871e46232e0912
/admin-themes/hiveneutral/assets/js/autosize.js:
c12d4a53b06622f18df7f80993daffb7
/admin-themes/hiveneutral/assets/js/main.js:
8e6a70c4cf6524b04dcbba793bb3151d
/admin-themes/hiveneutral/assets/js/darkmode.js:
256ec5c3f1b984fcc388949c4410f346
/lib/txplib_publish.php:
769bf78a367e2114522243d69845b58e
/lib/txplib_theme.php:
27b7a1f930a3ebcde8849823cac40cf6
/lib/txplib_wrapper.php:
ff1afffce118dd291a615ed6540ed46a
/lib/IXRClass.php:
a1b525b4a9ed12dcb5677d5232a3d92e
/lib/array_column.php:
154ae62342164fe4d727b28813f268b6
/lib/txplib_validator.php:
27dd061a50d6fecfbabdaec457e277b5
/lib/txplib_db.php:
db369cd26901a3cb5435dc0fe7045c30
/lib/PasswordHash.php:
66a8aa4b2d6e0527877a797907efc035
/lib/txplib_update.php:
f772df9c9e145b69ff3f8af3c615572d
/lib/classTextile.php:
efa9a212910afd6fe90cbb08e703e1ef
/lib/taglib.php:
0f8171d7958d8a8123d828afd5ac41c8
/lib/constants.php:
5d2c24b1e3e101f932265b5b576eb7af
/lib/txplib_forms.php:
a00f57c72541c1844ccd321af3364bb8
/lib/txplib_head.php:
bd72c962f7ecff19ecea05b19b25dfc6
/lib/txplib_html.php:
ded5b4079b423884de311c13ac078f19
/lib/txplib_admin.php:
995bf4421c26658a28f29cb7249c7fbc
/lib/class.thumb.php:
6eae7d0b705769962596ae5a8e3eeac0
/lib/txplib_misc.php:
a9d2da9af5ae13107446b612ef8d47dd
/lib/class.trace.php:
055e3bc1f8d3217aec152fa7e6216b1d
/lib/admin_config.php:
5a187f910565d88a2bc188268d481b42
/publish.php:
932c9faf9e38a3d23d58f00cae0fe87c
/../css.php:
dfac7d90955ae716fc57deb069d14b36
/../index.php:
a2c5a8eef6c2ec86a0c319ddd15ffa05
------------------------
Last edited by vivalibre (2020-09-27 20:20:36)
Offline
Re: "Articles" link and links to article titles are broken
I remember having to set and uncomment
#RewriteBase /relative/web/path/
rule to make clean modes work, though that may be irrelevant here. Putting your site in messy
mode should temporarily help keeping it alive. You will still be able to check whether clean URLs are repaired accessing www.73satellite.com/articles/ link.
Nice car, btw.
Offline
Re: "Articles" link and links to article titles are broken
Going back to messy worked. Good enough for me! Thanks so much @etc!
Offline
Re: "Articles" link and links to article titles are broken
Nice! You should also set Comments > Automatically append comments to articles?
to No
, to avoid comments output duplication.
Offline