Jump to content

Trailing Slash / need a drink

Gary Austin

Recommended Posts

I know I'm just a "beginner" with Processwire, but just spent hours trying to debug  downloading a PDF with a post variable providing the data for the PDF. 

I must have missed somewhere the need for a trailing / after the page name to get post variables.  Googling lots of stuff on  templates/ posts/pdf/ etc and finally saw a few threads on the / at end of url meaning something.   Added that and now I get my post data....

I don't like having to have a / at the end of the url the customer will see, but at least I can move forward now.   Hopefully I missed something obvious...

Anyway this forum area is entitled the Pub, and I certainly need a drink.


Link to comment
Share on other sites

Sorry you had a battle :)

There is a template settings - under the URLS tab for changing whether URLs end in a slash or not

This thread is worth a read: https://processwire.com/talk/topic/16930-options-for-trailing-slashes-and-seo/ - it includes some links on slash vs no slash.

Also, just an FYI - variables in a URL are GET, not POST

  • Like 1
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...