Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Trying to send a a variable through $_GET

Started by Muut Archive 11 years ago · 5 replies · 246 views
11 years ago

Hello again and thanks for your support.

I am trying to build the following url: www.example.com/blog/category:test. In this example blog is a page with a custom template and category:test would be $_GET['test']. The url is formed correctly, but when I am on the example above I get Error 403, Access forbidden!.

Any suggestions how to fix this one?

Thanks a lot,
Marius

11 years ago

blog is actually the root of grav and it points to a page

11 years ago

oh sry....fixed it. I just had to replace : with something else. Thanks a lot!

11 years ago

Usually you would use ; on a windows Apache platform. Not as pretty as the : but its the closest best option.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1341 9 years ago
Archive · by Muut Archive, 9 years ago
2 928 9 years ago
Archive · by Muut Archive, 9 years ago
2 4057 9 years ago
Archive · by Muut Archive, 9 years ago
1 2942 9 years ago
Archive · by Muut Archive, 9 years ago
3 1115 9 years ago