Where are these /es/node/[0-9]+ URLs coming from?

andrewz - August 21, 2009 - 21:52

I recently installed Drupal 6.13 (latest) and am seeing visiting strange URLs such as this one:

WRONG: http://bleachbit.sourceforge.net/es/node/8
RIGHT: http://bleachbit.sourceforge.net/download

The module 'locale' is disabled and 'i18' is not installed! As far as I remember, I never used either on this site. (Later I would be interested in those modules, but not right now.) I do use global redirect, meta tags, nofollowlist, pathauto, poormanscron, and captcha.

Google Analytics indicates visitors on these pages are 50% English (not es/Spanish)!

Please help me fix as this leads to some 404 errors (because of relative links).

---

kiamlaluno - August 24, 2009 - 21:25

I tried on my test site, and I am not able to reproduce it; when I disable locale.module, http://localhost:8888/dr62/node/5500 is accepted, but http://localhost:8888/dr62/es/node/5500 is not.

Or there is an URL alias set, or some module is handling the first URL you wrote, or there is a rule in .htaccess that redirect the URLs of the first type to the correct one.

What I find strange is that the links in the page accessed using http://bleachbit.sourceforge.net/es/node/8 are correct; they should normally be something like http://bleachbit.sourceforge.net/es/node/8/download.

-- Kiam
Kiam la luno renkontas la sunon

Still confused

andrewz - August 31, 2009 - 04:10

Thanks for testing. My .htaccess is fairly standard. I don't see URL aliases or other modules doing this.

I noticed in /admin/content/node/ that a few Pages are English but others are Language Neutral. I don't see how that was set originally or how to change it now.

 
 

Drupal is a registered trademark of Dries Buytaert.