Filtering content by user subdomain
usa2k - May 16, 2009 - 04:23
| Project: | Subdomain |
| Version: | 6.x-1.5 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have my front page as http://artist-247.com/welcome/ view
If you use the link http://artist-247.com/welcome/ccat then only User CCat content is displayed.
Is there an easy way to have the URL use http://ccat.artist-247.com/welcome/ to get the same
filtered content?

#1
If you just want to filter some views, you probably don't need the sudomain module.
Instead, add a custom "custom_url_rewrite_inbound() function to your settings.php file and append the subdomain (if any) to the end of the path (when the path = 'welcome')