Forums

Let each form have its own sub-domain

tidusx18 29 Nov, 2009
Hi,

This may be rather complicated, but I have to ask.

I have paid for the SEO services of an individual and he is asking if we can let each form on our site have its own sub-domain. Is this a simple thing to do or is it very complicated?

Thanks and let me know if any additional info is needed.🙂
Max_admin 01 Dec, 2009
Hi tidusx18,

I don't think so, maybe you use some SEF extension to get urls like
www.domain.com/contact
for example, I'm not a pro with SEF extension but I know its doable with custom SEF urls i think!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
tidusx18 01 Dec, 2009
Hi Max,

I know that the only way to be able to use sub-domains would be to have sub-folders, each containing the individual form. Can this be done with chronoforms or does everything HAVE to be in one folder as it is right now??

In regards to using an SEO component to get something like <!-- w --><a class="postlink" href="http://www.domain.com/contact">www.domain.com/contact</a><!-- w -->. This IS possible and will be my alternative option, but the SEO person I am working with says that using sub-domains for each form would be much better.

Thanks.
nml375 01 Dec, 2009
Hi,
Depending on the server software and hosting environment, you might be able to use advanced rewriting rules, or use a reverse proxy.

A Apache mod_rewrite rule that might do the trick would look something like below (assumes the mod_proxy module is loaded). In essence it should translate http://test1.yourdomain.tld into http://www.yourdomain.tld/index.php?component=com_chronocontact&chronoformname=test1 and access it using the proxy module (making the translation transparent to the end user):
ProxyRequests Off
<Proxy *>
  Order deny,allow
  Allow from all
</Proxy>

RewriteEngine on
RewriteCond %${HTTP_HOST} ^([a-z0-9]+)\.yourdomain\.tld [NC,C]
RewriteRule ^/$ http://www.yourdomain.tld/index.php?component=com_chronocontact&chronoformname=%1 [P,L]

You might need help from the web host admin to implement this set of rules though.

/Fredrik
tidusx18 01 Dec, 2009
Hmm...well I don't really know code and that seems a bit too complicated to just try and figure out, but thanks anyway.
This topic is locked and no more replies can be posted.