GetSimple Support Forum

Full Version: Alternative permalink structure
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Current standard .htaccess rewriterule for GS is

RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]

which works for URL permalink structures like:

whatever/%slug%
whatever/%slug%/

I think it could be useful being able to have structures like:

%slug%/whatever
%slug%/whatever/

Does anyone know what rewriterule(s) would work for this?
RewriteRule ^([A-Za-z0-9_-]+)/ index.php?id=$1 [QSA,L]
Thanks Exalax!
how so ?
Wouldn't that be bad for SEO ?

slug/a
slug/b goes to the same content ?
That also happens with GS default rewriterule,
a/slug
b/slug
c/d/e/f/slug
all go to the same content.
(unless you enable GSCANONICAL)

The idea is that a plugin can use the rest of the uri as parameters.
Never noticed that.
Yeah didn't we discuss this rule change already in depth ?

Fancy urls for querystrings