Ticket #2065 (closed defect: fixed)
Strange /page/2 request
Reported by: | ben_griffith | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 2.7.4 |
Component: | module:core | Version: | 2.7.3 |
Severity: | normal | Keywords: | |
Cc: |
Description
Tbtip noticed a problem, which I also can reproduce in my blog:
- Enter Dashboard and go to Blog appearance
- Choose Berlin theme and activate it
- Refresh page of your blog so that you can see your blog with Berlin theme
- View "Source code" (depending on browser, right-click or menu)
- look at code in header:
<!-- dc-title-head -->
<!-- head-dc -->
is followed by
a.) archive
b.) list of categories
c.) the current article's link like "<link rel="prev" title="previous entries" href=" http://www.test.com/blog/index.php?post/2014/08/31/Test/page/2" />"
d.) list of the most recent articles' links
Result to 5.c):
You will find on each page (home, post, ...) a /page/2 added, which leads to 404 error (because there is no page/2)
Tbtip located the problem in context to \inc\public\default-templates\currywurst, line 43 onwards starting with
<tpl:Entries no_content="1">
<tpl:EntriesHeader>
...
Can you please look into this?
Change History
comment:2 Changed 9 years ago by ben_griffith
Hi Franck
When you look at your blog, you have got the same:
<!-- dc-title-head -->
<!-- head-dc -->
<link rel="contents" title="Archives" href=" http://open-time.net/archive" />
<link rel="section" href=" http://open-time.net/category/Mots" title="Mots" />
<link rel="section" href=" http://open-time.net/category/Photos" title="Photos" />
<link rel="section" href=" http://open-time.net/category/Air-du-temps" title="Air du temps" />
<link rel="section" href=" http://open-time.net/category/Breves" title="Brèves" />
<link rel="section" href=" http://open-time.net/category/Dotclear" title="Dotclear" />
<link rel="section" href=" http://open-time.net/category/Dotclear/Plugins" title="Plugins" />
<link rel="section" href=" http://open-time.net/category/Dotclear/Themes" title="Thèmes" />
<link rel="section" href=" http://open-time.net/category/Internet" title="Internet" />
<link rel="prev" title="billets précédents" href=" http://open-time.net/page/2" />
This is not a mtter of cache, unfortunately, there is something not correct when generating the code.
Have you reset the Template Cache after switching the current theme to Berlin?