Hi, I hope I can explain this clearly enough. 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. here an example. /node/5 /node/5/3945 If you need me to give you the real urls let me know. Is there a way to solve this?, should it be done in Drupal, or should I use Nginx or Apache? I have this setup Varnish -> Nginx (serving boost files) -> Apache. thanks a lot for your help. Guillermo.
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 :-)
here an example.
/node/5
/node/5/3945
Is /node/5/3945 a recognized internal path in your drupal ? 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 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. -- Sivaji
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/ ]
-- Guillermo Garron Alke Technology Srl. p. +591 33 141000 m. +591 72 154346 e. ggarron@alketech.com
Guillermo Garron wrote:
Hi,
I hope I can explain this clearly enough.
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.
For SEO you want the Global Redirect module. http://drupal.org/project/globalredirect -- Earnie -- http://progw.com -- http://www.for-my-kids.com
For SEO you want the Global Redirect module.
Thanks, I've it install but it does not catch those addresse, I was even able to access my content. /node/5/asdf/asdf/asdf/adsf/adsf/adsf/ And still see the /node/5 content
-- Earnie -- http://progw.com -- http://www.for-my-kids.com -- [ Drupal support list | http://lists.drupal.org/ ]
-- Guillermo Garron Alke Technology Srl. p. +591 33 141000 m. +591 72 154346 e. ggarron@alketech.com
Guillermo Garron wrote:
For SEO you want the Global Redirect module.
Thanks, I've it install but it does not catch those addresse,
I was even able to access my content.
/node/5/asdf/asdf/asdf/adsf/adsf/adsf/
And still see the /node/5 content
Yes but you would have received a 301 redirect message back to the node/5 content. http://www.seomoz.org/learn-seo/redirection -- Earnie -- http://progw.com -- http://www.for-my-kids.com
On Mon, May 16, 2011 at 3:07 PM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
Guillermo Garron wrote:
For SEO you want the Global Redirect module.
Thanks, I've it install but it does not catch those addresse,
I was even able to access my content.
/node/5/asdf/asdf/asdf/adsf/adsf/adsf/
And still see the /node/5 content
Yes but you would have received a 301 redirect message back to the node/5 content.
That is how I would like it to work, but it is not doing that, where can I look for a problem?, I have url_alias and pathauto enabled. on D6 thanks. Guillermo.
-- Earnie -- http://progw.com -- http://www.for-my-kids.com -- [ Drupal support list | http://lists.drupal.org/ ]
-- Guillermo Garron Alke Technology Srl. p. +591 33 141000 m. +591 72 154346 e. ggarron@alketech.com
Guillermo Garron wrote:
On Mon, May 16, 2011 at 3:07 PM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
Guillermo Garron wrote:
For SEO you want the Global Redirect module.
Thanks, I've it install but it does not catch those addresse,
I was even able to access my content.
/node/5/asdf/asdf/asdf/adsf/adsf/adsf/
And still see the /node/5 content
Yes but you would have received a 301 redirect message back to the node/5 content.
That is how I would like it to work, but it is not doing that, where can I look for a problem?, I have url_alias and pathauto enabled. on D6
You might want to ask for support in the issue queue[1]. [1] http://drupal.org/project/issues/globalredirect -- Earnie -- http://progw.com -- http://www.for-my-kids.com
Thanks a lot! regards, Guillermo. On Tue, May 17, 2011 at 5:01 PM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
Guillermo Garron wrote:
On Mon, May 16, 2011 at 3:07 PM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
Guillermo Garron wrote:
For SEO you want the Global Redirect module.
Thanks, I've it install but it does not catch those addresse,
I was even able to access my content.
/node/5/asdf/asdf/asdf/adsf/adsf/adsf/
And still see the /node/5 content
Yes but you would have received a 301 redirect message back to the node/5 content.
That is how I would like it to work, but it is not doing that, where can I look for a problem?, I have url_alias and pathauto enabled. on D6
You might want to ask for support in the issue queue[1].
[1] http://drupal.org/project/issues/globalredirect
-- Earnie -- http://progw.com -- http://www.for-my-kids.com -- [ Drupal support list | http://lists.drupal.org/ ]
-- Guillermo Garron Alke Technology Srl. p. +591 33 141000 m. +591 72 154346 e. ggarron@alketech.com
participants (3)
-
Earnie Boyd -
Guillermo Garron -
sivaji j.g