Jump to content

Problem cms page with custom link (rewrite)


PikNuke

Recommended Posts

Hello everybody,

I have a problem for several days that I am trying to solve.
In practice I have created a cms page that incorporates the get parameters:
/content/11-testing
i add parameter get:
/content/11-testing?key=value1.
all work.

But I would like to change the link structure.
I create rules in htaccess:
RewriteRule ^testing/([^/]*)/$ /index.php?id_cms=11&controller=cms&key=$1 [QSA,NC]

This does not work, or rather in part. Why unfortunately it makes me a 301 redirect:
from /testing/value1/ to /content/11-geoseo?testing=value1.
I would like the url to remain as /testing/value1/ without redirects.

I don't know if I have made myself clear. I hope you can help me

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...