Closed (fixed)
Project:
Subdomain
Version:
6.x-1.5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2009 at 17:16 UTC
Updated:
16 Mar 2010 at 20:46 UTC
Hello, I'm trying to create subdomains for users and there's no way to get URL's like :
http://username.domain.com/name-of-content
I go to the automated alias settings page and I set in node path Settings
http://[subdomain].domain.com/[title-raw]
When I create a node I get:
http://domain.com/http://username.domain.com/name-of-content
if I use
[subdomain]/[title-raw]
if get:
http://domain.com/username/name-of-content
My htaccess is ok and works with wildcard subdomains.
This is my first installation of the module and I haven't updated it from any previous version.
Do I have to setup anything else on pathauto? Am I doing something wrong?
Thanks in advance.
Comments
Comment #1
meramo commentedAs far as I remember the module also require domain CNAME (or TXT) changes, have you performed them?
Comment #2
savioret commentedFound the solution !!!!
the key is the "tilde" character...
~[subdomain]/[title-raw]
this works as expected.
Why it is not documented in the readme.txt ?
Comment #3
savioret commentedWell, the problem was that I didn't change the action for the TILDE in the pathauto settings to "Do nothing".
[subdomain]/[title-raw] is correct.
Comment #4
finex commentedI've set:
but it doesn't work: nodes posted into a group doesn't use the subdomain uri. Look at: http://drupal.org/node/666502
Comment #5
vimalramaka commented~[subdomain] works! Just [subdomain] is just creating example.com/subdomain/title-raw. When tilde (~) is added, domains are produced like this: subdomain.example.com/title-raw