Need to Open Page with www

ANKIT MISTRY asked on April 16, 2014 07:19

Hello,

In our E-Commerce site i have one special page which i need to open with www.sitename.co.uk/specialpage For e.g, if i type "sitename.co.uk/specialpage" it should open with "www.sitename.co.uk/specialpage".

Can anyone help in this.

Thank You.

Regards, Ankit

Correct Answer

Brenden Kehren answered on April 16, 2014 07:56

You can force the whole site to use www, I don't believe you can force it for a single page. You can change the site setting by going to CMSSiteManager>Settings>URLs & SEO>SEO - URLs>Process domain prefix: and select Always use domain with www prefix.

Then in CMSSiteManager>Sites>(select site) in the General tab change the domain to read www.< yourdomain >.com vs. < yourdomain >.com. Then add an alias with < yourdomain >.com without the www. These two items aren't required but it helps keep things clean.

2 votesVote for this answer Unmark Correct answer

Recent Answers


ANKIT MISTRY answered on April 16, 2014 08:12

Thank you Brenden, we can do this but i just to need do this for only a single page. is there any other way like redirection or something from which i can achieve this?

0 votesVote for this answer Mark as a Correct answer

ANKIT MISTRY answered on April 16, 2014 09:05

Hello,

I want to open this page from Menu. Now is there any way to open this page with WWW prefix?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 16, 2014 10:03

You would need to hard code that in the pages Navigation properties. You'd select URL Redirection and enter http://www.

0 votesVote for this answer Mark as a Correct answer

ANKIT MISTRY answered on April 16, 2014 11:22 (last edited on April 16, 2014 11:22)

Hello Brenden, Earlier I tried URL Redirection but it was showing some message of LOOP as it was redirecting to same page.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 16, 2014 13:36

I'd suggest the first, right way then.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.