Getting 404, but all settings seems fine

BarisW - July 29, 2009 - 21:27
Project:Subdomain
Version:6.x-1.5
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

- I installed the module
- All checks pass
- I enables subdomains for a vocabulary
- I added the [subdomain] on pathauto settings
- I removed the ~

When I edit a node, the automatically generated URL is correct (http://termname.domain.tld/title-of-blog-post), but throws a Drupal 404.

Navigating to:
- http://www.domain.tld/~termname/title-of-blogpost
- http://anything.domain.tld/~termname/title-of-blogpost
- http://anything.domain.tld/node/123
all works fine, but navigating to the generated URL (http://termname.domain.tld/title-of-blog-post) fails

Any ideas?

#1

BarisW - August 4, 2009 - 21:02

Anyone?

A real example:

I have a page called About me, which is linked to the term About (Section vocabulary).
The URL generated by pathauto is http://about.bariswanschers.com/about-me, which should be fine.

On admin/build/path the generated url is ~about/about-me (links to node/3)

Pathauto settings: [subdomain]/[title-raw]

For the Subdomain settings, see attachment.

What's happening?

AttachmentSize
url-aliases.png 36.14 KB

#2

hanta - October 22, 2009 - 10:41

I have the exact same problem as you do.

These work:
http://tobias-bartel.de/~debian/test
http://tobias-bartel.de/node/1
http://debian.tobias-bartel.de/~debian/test
http://debian.tobias-bartel.de/node/1

This does not:
http://debian.tobias-bartel.de/test

I found a workaround, if i manually add a 2nd alias for the [title-raw] part it works. This http://linux.tobias-bartel.de/test-linux would give me a 404 but if a add an alias like "test-linux -> node/2" it works. I tried quite a few things but having "~linux/test-linux -> node/2" and "test-linux -> node/2" is the only way i could make this work at all.

 
 

Drupal is a registered trademark of Dries Buytaert.