On Sun, May 15, 2011 at 5:32 AM, sivaji j.g sivaji2009@gmail.com wrote:
On Sun, May 15, 2011 at 7:53 AM, Guillermo Garron ggarron@alketech.com wrote:
Here it goes: I'm having two issues one is, that even using url alias and pathauto modules (Drupal 6) I can still access my post with two different (or more) urls.
Works as designed :-)
Thanks, I though it was wrong.
here an example.
/node/5
/node/5/3945
Is /node/5/3945 a recognized internal path in your drupal ?
It should not be, There is a comment in that url, I mean /node/5#comment-3945
Somehow it was translated to /node/5/3945
But the real problem is that someone linked to that page and it may appear as duplicate content to Google.
Drupal menu system works like this, if url /node/5/3945 doesn't exists, it will try for /node/5. This will be repeated until it finds a valid url or page not found will be reported.
Try /node/5/x/y/z eventually this will resolve to /node/5
I think I can use Nginx or Apache to filter anything after the trailing slash after the number of the node.
Does anyone knows how to?
It could be a problem if you could access node from internal path node/5 and alias path node/content-5. You need global redirect module to make it always accessible from alias path.
That is not the problem, that part is working good.
Thanks.
-- Sivaji -- [ Drupal support list | http://lists.drupal.org/ ]