"Page not found" when trying to view a URL with a trailing slash
Bug #604569 reported by
Andrea Corbellini
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BeeSeek Website |
New
|
Undecided
|
Unassigned |
Bug Description
Visiting http://
To post a comment you must log in.
The website folder contains a file called url.py which is used to link the pages with URLs.
The pages are matched using regex pattern. Now to solve the problem we need to modify the regex patterns a bit.
They should be of the type: name|^page_ name/$' ,Page_Name)
Syntax:
('^page_
Where:
Page_Name is the page we need to get displayed
page_name is the pattern. I have specified two patterns page_name and page_name
Example: ^about/ $',About)
('^about|
The first pattern will link to beeseek.org/about and second to beeseek.org/about/.
Hence solving our problem