Closed (fixed)
Project:
Panels
Version:
6.x-3.7
Component:
Panel pages
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2010 at 22:29 UTC
Updated:
14 Aug 2010 at 18:10 UTC
I have created a panel page at mysite.com/page1. Now, all the urls like mysite.com/page1/sub1 and mysite.com/page1/sub2 redirects to mysite.com/page1, instead of returning 404 not found message. This is creating duplicate content, lots of them.
Comments
Comment #1
merlinofchaos commentedThis is pretty normal for any page in Drupal. It's not a redirect, it's that the additional arguments are ignored. It's not a bug, and it's not duplicate content.
Drupal already does this: Visit node/1/view/alsdjflkaj
That's the same as node/1.
Comment #2
mclaren commentedThank you for the clarification. But, if I have clean url enabled, and if my url is mysite.com/page-tile, then mysite.com/page-title/view/alsdjflkaj returns 404 not found message. I wonder if this can be done in panel too.
Comment #3
merlinofchaos commentedAhh, you mean pathauto.
And that's because pathauto only turns the specific path into something else. You could accomplish the same thing with Panels and alises. For example, let's say you create your panel page with the path page/1. If you then create an alias 'mypage' then mypage/foo will always 404 because it doesn't match the alias.
Comment #4
mclaren commentedGreat! Thanks a bunch!
Comment #5
esmerel commented