User tests: Successful: Unsuccessful:
If you try to access page of an article which doesn't exist anymore, you'll get a warning on this line. Search engines regularly try to crawl all sorts of links, even if they were changed ages ago...
Labels |
Added:
?
|
Labels |
Added:
?
|
Category | ⇒ | Plugins |
It's about accessing a page of an available article which has pages inside. Create an article, accessible via example.com/my-article, and make sure that it has at least two pages, so that the page example.com/my-article?start=1 also exists. If you try to access example.com/my-article?start=2 etc you'll see a notice
I would say that the plugin needs to throw a 404 if that page is non-existent. Otherwise the user/search engine simply sees an article with no content... So if the page is not defined, please throw a 404.
I can reproduce this btw. So it's definitely an issue we need to address
As I wrote in december: It needs to throw a 404. The URL is invalid and thus should throw a 404. Otherwise you have a "duplicate content" issue with pages n to n+infinity.
The notice disappeared (Notice: Undefined offset: 4 in C:\xampp\htdocs\plugins\content\pagebreak\pagebreak.php on line 180)
Status | Pending | ⇒ | Needs Review |
Moving to Needs Review
so a Maintainer can take a decision here Thanks
Status | Needs Review | ⇒ | Information Required |
Hello @chivitli
Thank you for your contribution.
The last comment here was on September 6th. Can you please follow-up?
If no reply is received within 4 weeks we will close this issue.
Thanks for understanding!
This PR has received new commits.
CC: @FloryGlory, @seagul30
This PR has received new commits.
CC: @FloryGlory, @seagul30
This PR has received new commits.
CC: @FloryGlory, @seagul30
Labels |
Added:
?
|
This PR has received new commits.
CC: @FloryGlory, @seagul30
Status | Information Required | ⇒ | Pending |
Labels |
@FloryGlory @seagul30 Can you guys please test one more time? Thank you.
This PR has received new commits.
CC: @FloryGlory, @seagul30
I changed JError to Exception, let's help win that lottery ticket :-)
I have tested this item successfully on fa068d4
Patch works fine.
Although the pagebreak ini file is loaded in frontend, I suggest to change the new string to a generic one in en-GB.ini as it could be used by anyone to throw a "Page not found".
It would be
JERROR_PAGE_NOT_FOUND="Page not found"
to be added line 126
Suggestion accepted, thanks.
This PR has received new commits.
CC: @andrepereiradasilva, @FloryGlory, @seagul30
This PR has received new commits.
CC: @andrepereiradasilva, @FloryGlory, @seagul30
This PR has received new commits.
CC: @andrepereiradasilva, @FloryGlory, @seagul30
I have tested this item successfully on b5e7bbe
I have tested this item successfully on b5e7bbe
Status | Pending | ⇒ | Ready to Commit |
Labels |
RTC - thanks
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-01-27 22:17:46 |
Closed_By | ⇒ | wilsonge |
Labels |
Removed:
?
|
@chivitli The plugin should not be called at all if the article is not available! Can you please explain how to reproduce the described problem?
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5306.