The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 198 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 198 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined property: DB_MySQLi::$google_seo_query_limit - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Decrement on type null has no effect, this will change in the next major version of PHP - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once




Forum has link dupes
#1
This is bad.

Each thread has its link:

https://forum.cuberite.org/thread-2366.html

But, each post generates a different link with duplicate content, e.g.

https://forum.cuberite.org/thread-2366-post-24992.html

Duplicates are never, ever good for a website. The previous forum handled this very nicely by using the hash part of the url:
e.g. https://forum.cuberite.org/thread-2366.html#pid24992
Reply
Thanks given by:
#2
I'm afraid I can't find an option to fix it though :/
Reply
Thanks given by:
#3
The problem is that the hash part doesn't work if the post is on a different page in a thread.
Reply
Thanks given by:
#4
(03-28-2016, 10:56 PM)Mathias Wrote: The problem is that the hash part doesn't work if the post is on a different page in a thread.

Yes it does.

https://forum.cuberite.org/thread-2049-p...l#pid21775
Reply
Thanks given by:
#5
(03-28-2016, 10:58 PM)LogicParrot Wrote:
(03-28-2016, 10:56 PM)Mathias Wrote: The problem is that the hash part doesn't work if the post is on a different page in a thread.

Yes it does.

https://forum.cuberite.org/thread-2049-p...l#pid21775

If you include page-x, yes, but for some reason MyBB decided to use post-x instead.

I'll see what I can do about this though.
Reply
Thanks given by:
#6
Why this is harmful:
  • Confuses search engine crawlers. At best, we'll get double links in search results, at worst, some search engine will suspect we're doing something fishy and decrease our rank.
  • Confuses a browser's cache, making it download the same content twice if visited from two different links.
  • Confuses reverse proxies'
  • Confuses humans.
  • Messes up hyperlink colors.
  • Messes up analytics.
  • Makes mass regex replacements harder.
  • Makes site scrapers/archivers download many redundant pages. (What if I want an offline backup of the forum so that I can read it in some remote area). We should probably fix this before the [url=https://web.archive.org/web/*/forum.cuberite.org[Internet Archive[/url] starts archiving this site.
  • There are probably many more issues that I have not considered.
Reply
Thanks given by:
#7
It appears that myBB applies the canonical tag to the duplicate links. This means it will not confuse search engines. But this should still be fixed imo.
Reply
Thanks given by:
#8
@Mathias, I believe you have now brought back the old link format all across the site. e.g. https://forum.cuberite.org/forumdisplay.php?fid=5

Edit: Looks like someone is experimenting with this an trying different formats.

It's worth noting that the problem persists even with this format:
https://forum.cuberite.org/Thread-forum-...0#pid25600
Reply
Thanks given by:
#9
Umm, currently the site is completely messed up ^_^
Reply
Thanks given by:
#10
Ugh, I don't know how to fix this issue. :/
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)