Support » Fixing WordPress » How to send a parameter to custom template in address line?

  • Sorry for my broken English.
    I’ve created a custom template and a page with it. My permalinks have the structure “/%category%/%postname%/”. I want to send a parameter to my page (template).
    If to write “mysite.com/thepage/1234/” (where “1234” is any number), the page opens up. I can get this numeric parameter using php-variable $_SERVER[‘REQUEST_URI’].
    If to write “mysite.com/thepage/a1234/” or “mysite.com/thepage/1234/5678/”, I get “the page you requested cannot be found”.
    So I have questions. Why WordPress accepts only one numeric parameter? Is it a parameter indeed? How to send more then one not-numeric parameter to my template? Is there any functions for this? If that is impossible then is my method to get parameters permissible?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to send a parameter to custom template in address line?’ is closed to new replies.