We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

simpleseo friendly urls compatible patch - User Hint | Forum

SongPhi Oct 18 '15
Hello Sergey Kambalin,

Thank you for developing such great plugins. There is a user reported incompatible between SimpleSEO plugin and Hint. So I made a patch for 2 plugins work together.

As Hint use regexp of ^...groups/([\d]+)$

It could not parse urls after simpleseo, such as ...groups/group-name-123

I only change the regexp into:

$parseMask = "^" . str_replace('--PLACEHOLDER--', '.*?([\d]+)$', $routeMask);

The matched result's position won't change. It can work with or without friendly url.

I have attached patch file for convenience.



  simpleseo_compatible.patch.gz (0Kb)
You do not have permission to reply this topic