Change pdf endpoint to pdf/year/title with title having its white spaces removed and transformed to . to accomodate regex search