OUGC Network

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

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]
There are currently no posts to display. Be the first one to leave a reply.

Current time: 09-26-2020, 01:12 PM

This forum uses Lukasz Tkacz MyBB addons.