Warning [2] Undefined array key "display_in_posts" - Line: 268 - File: inc/plugins/myshowcase/forum_hooks.php PHP 8.4.21 (Linux)
  1. errorHandler->error

    /inc/class_error.php:163

  2. errorHandler->error_callback

    /var/www/vendor/sentry/sentry/src/ErrorHandler.php:354

  3. Sentry\ErrorHandler->handleError

    /inc/plugins/myshowcase/forum_hooks.php:268

  4. MyShowcase\Hooks\Forum\showthread_start

    /inc/class_plugins.php:197

  5. pluginSystem->run_hooks

    /showthread.php:473

What code do I need to add for SEO friendly URLs to work? - ougcNetwork

By default this plugin uses friendly URLs, but you can enhance them modifying the included settings. The default scheme for these URLs is:

  • []Page URL Scheme: page-{url}
    [
    ]Category URL Scheme: category-{url}

The default code to add to your .htaccess file is the following:

 # OUGC Pages Category URL:
RewriteRule ^category\-([^./]+)$ pages.php?category=$1 [L,QSA,NC]

# OUGC Pages Page URL:
RewriteRule ^page\-([^./]+)$ pages.php?page=$1 [L,QSA,NC]