The following warnings occurred:
Warning [2] Undefined array key "pointsview" - Line: 1442 - File: inc/plugins/newpoints/core/hooks.php PHP 8.2.11 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/newpoints/core/hooks.php 1442 errorHandler->error_callback
/inc/class_plugins.php 142 newpoints_blockview
/showthread.php 471 pluginSystem->run_hooks



This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

What code do I need to add for SEO friendly URLs to work?
Files
#1
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]
```
Reply