Jump to content
  • 0

Stopping clients from Adding www to domain name


mlsto

Question

11 answers to this question

Recommended Posts

  • 0
2 hours ago, mlsto said:

Hello

When some clients put their domain name with www.domain.com it adds two www to the activation email so comes out as

http://www.www.mydomain.com

Is there a way to stop this, maybe a notice by the domain input box?

Thank you for any help on this.

I've never noticed this.  What does your welcome email template look like?  Do you have http://www.{service.cpanel_domain}?  If so, just change it to http://{service.cpanel_domain}.  That way it will either have the www they input, or it won't have one at all...either way will work (I prefer no www, but that's just me)

Link to comment
Share on other sites

  • 0

I can remove http://www in the welcome email but it is also showing the email setup as mail.www.mydomain.com

Cpanel is also using the www to create the username

I prefer if I can put something next to the domain box to say "use only domain.com and not www.domain.com"

Thank you

Link to comment
Share on other sites

  • 0
17 hours ago, mlsto said:

No answer on this, I just need to add a notice if possible, if not I am hoping this can be corrected very soon as it seems to be an issue.

The simplest way to do this is to edit the language file for the domain order screen.  The code below is an example for English, if you need it done for other languages it would be the same process, you'd just have to select the correct language folder.

In file: /plugins/order/views/templates/wizard/language/en_us/domain.php

Replace:

$lang['Domain.lookup.description'] = 'Start by searching for a domain, or skip this step by clicking "Order Other Items".';

with:

$lang['Domain.lookup.description'] = 'Start by searching for a domain, or skip this step by clicking "Order Other Items".<br /><font color="red"><strong>Please do not include "www" when selecting your domain.  This will be added automatically by the system when required.</strong></font>';

Edit the phrase above to your desired statement.

----------

Hi88qC7.png

 

You could also edit the line containing "yourdomain.com" to something like "yourdomain.com (without the www)" and it would put it right into the search box placeholder text.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...