I can modify the php to do stuff I want, but I can't figure out what I'm supposed to do with my custom short domain. I've set the domain's dns entries to point to my server, but I'm unclear on what I'm supposed to do next. I'm on shared hosting (with a cPanel) if that makes any difference. Any feedback would be greatly appreciated.

Comments

__mark’s picture

more info: I'm getting 500 and 404 errors, with all configurations from what I've tried: redirecting to primary domain, with and without these .htaccess rules:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

__mark’s picture

Status: Active » Fixed

Answer is to set vhost up to have short url to point to primary url.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

__mark’s picture

I'm still lost on this one. Can anyone post an example vhost entry?

__mark’s picture

Status: Closed (fixed) » Active
__mark’s picture

Category: support » bug
Priority: Major » Critical

I'm beginning to wonder, does this module only work by the use of a 301 redirect chain?

So far, the only way I've been able to get short-url.com to point to normal-url.com is with a 301 redirect (either at the server level, or otherwise). And then the module has to 301 redirect to the long url. As far as I know, redirect chains are quite bad for seo.

Is this the way this module is supposed to work?

magnestyuk’s picture

ArturoB, did you come up with an answer? I purchased a short domain name, but I'm not sure what needs to be set up and where.

E.g. does it have to be a parked domain in cpanel?
Do I have to create a CNAME record for it?
Do I have to redirect the short domain to the long domain?
Do I need to modify Drupal's .htaccess to make new rewrite rules?
Do I have to create a short_domain.com folder within the sites directory with its own settings.php?

I tried many combinations but it does not work for me.

Anyone out there? Thanks.