The issue
There is a link/s on the mentions, that are pointing to the user/s whose are replied to. The link have a shortened URL which points to the position of the replied post. Here is an example. These shortened links are not welcomed by SEO(search engine optimization). Google marks the page is duplicated, or violating.
For example:
The page URL is:
https://forum.peride.co/d/33217-fondoten-onerisi
Then, the URL on the link is:
https://forum.peride.co/d/33217/1
When you press on that anchor, it scrolls the window to the replied mention on SPA. But in SEO perspective, the crawler catches those links. After following them, it redirects to the non-shortened page URL through javascript execution. e.g.
https://forum.peride.co/d/33217/1
> https://forum.peride.co/d/33217-fondoten-onerisi
Here is the question, is there an option/extension to include the slug of the discussion in these links? I think it must be available somewhere because we have that URL on the header tags of the page and also on the mentions.
Flarum information
Flarum core 1.1.1
PHP version: 8.0.15
MySQL version: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+--------------------------------+---------+--------+
| Flarum Extensions | | |
+--------------------------------+---------+--------+
| ID | Version | Commit |
+--------------------------------+---------+--------+
| flarum-suspend | v1.1.0 | |
| flarum-flags | v1.1.0 | |
| ianm-html-head | 1.0.1 | |
| fof-user-bio | 1.0.1 | |
| fof-profile-image-crop | 1.0.1 | |
| fof-polls | 1.0.5 | |
| fof-pages | 1.0.1 | |
| fof-nightmode | 1.1.5 | |
| fof-links | 1.0.3 | |
| fof-formatting | 1.0.2 | |
| fof-drafts | 1.0.3 | |
| fof-analytics | 1.0.0 | |
| flarumtr-mobile-search | v1.2 | |
| flarum-tags | v1.1.0 | |
| flarum-subscriptions | v1.1.0 | |
| flarum-sticky | v1.1.0 | |
| flarum-pusher | v1.1.0 | |
| flarum-mentions | v1.1.3 | |
| flarum-markdown | v1.1.1 | |
| flarum-lock | v1.1.0 | |
| flarum-likes | v1.1.0 | |
| flarum-lang-turkish | 1.0.4.1 | |
| flarum-lang-english | v1.1.0 | |
| flarum-emoji | v1.1.1 | |
| flarum-bbcode | v1.1.0 | |
| flarum-approval | v1.1.0 | |
| clarkwinkelmann-post-bookmarks | 1.0.0 | |
| clarkwinkelmann-circle-groups | 1.0.0 | |
+--------------------------------+---------+--------+
Base URL: https://forum.adimsay.com
Installation path: /var/www/adim104
Queue driver: sync
Mail driver: smtp
Debug mode: off