Plugin doesn’t create valid urls when using cat=
-
I’m trying the plugin but it doesn’t create valid urls. I’ve deactivated all the other plugins to check for compatibility issues, but this does not solve the problem.
According to the documentation, when I put [random-url cat=”cat1″] it should output
https://mydomain.com/random/?cat=cat1
But it doesn’t, it outputs /random/?cat=cat1. It doesn’t put my domain in front.I can only get the full url by putting my domain in front manually like this:
https://mydomain.com[random-url cat="cat1"]
But this doesn’t work in the wysiwyg editor when I want to create a clickable link:
When I enterhttps://mydomain.com[random-url cat="cat1"]
as the link target, this is transformed tohttps://mydomain.com/random/?cat=%26quot%3Bcat1%26quot%3B&posttype=post&r=0
This leads to a 404 page.When I use the html editor and type
<a href="https://mydomain.com[random-url cat="cat1"]">link</a></p>
, the link becomes this:https://mydomain.com[random-url cat="
It’s cut off because the first quotation mark is seen as the end of the href.How can I fix this? I’ve disabled all other plugins, tried on a fresh install, but the problem persists.
When I use [random-url] there are no problems, because there are no quotation marks I think. But I really need to be able to filter per category.
- The topic ‘Plugin doesn’t create valid urls when using cat=’ is closed to new replies.