0

i want to have parameter in friendly urls way, have done it with query string but this is not what i want

below is my link

http://www.example.org/category-name/sub-category/post-name-goes-here

and want to have link in template like this

http://www.example.org/category-name/sub-category/post-name-goes-here/parameter

it should still load the same single page but with parameter so i can use condition in single page template

how i can ignore this using rewrite rule or any other method?

Cœur
  • 34,719
  • 24
  • 185
  • 251
Yasir
  • 3,788
  • 10
  • 33
  • 41

1 Answers1

0

You will need to add a rewrite rule so it doesnt try and "solve" the url address using its standard function .

See my previous answers here:

Add "custom page" without page

WordPress Rewrite based on form hidden field

you can pretty much add anything to the url after that.

Community
  • 1
  • 1
David
  • 5,775
  • 3
  • 23
  • 42