Edit mode - insert short internal URLs, not the rewritten version
Dear Thorsten Rinne / Development Team
The phpMyFAQ's content editor has a button to insert internal FAQs records by choosing it's ID - an useful feature -, automatically inserting the URL and the FAQ's question in the text.
However, the URL used in the (X)HTML code is a rewritten URL (if this option is active).
Questions are prone to changes during their lifetime, thus also the correspondent rewritten URLs.
This leads to broken links hard to detect.
It would be preferable (in our opinion) to use the "short" URL version in the code (those using the internal FAQ ID), with the question in the visible text.
1. Examples
1.1
"A long long really long question text"
is inserted as
Code: Select all
<a href="http://faq.example.com/faq/content/.../a-long-long-really-long-question.html" ...>A long long really long question text</a>
1.2
if the question changes to "A very long question", the URL and the visible text aren't changed, so the link is broken.
1.3
If the FAQ's ID is "1234",
one may use the URLs
Code: Select all
<a href="http://faq.example.com/faq/index.php?solution_id=1234" ...>A long long really long question text</a>
Code: Select all
<a href="http://faq.example.com/faq/solution_id_1234.html" ...A long long really long question text</a>>
Naturally, it would be preferable, after a FAQ question edition, to refresh the URLs and/or the visible text in all records with links to that record - but this is not simple.
..
Kind regards
2013-08-21
pt20100201
..