More in this section

Forums / General Discussions / Links from subdomain to WWW domain unconditionally overridden in the output of all content and script blocks

Links from subdomain to WWW domain unconditionally overridden in the output of all content and script blocks

2 posts, 0 answered
  1. Trevor
    Trevor avatar
    35 posts
    Registered:
    28 Jan 2012
    10 Apr 2012
    Link to this post
    I put a link into a content block on a development server.

    The dev server base URL is
    dev.example.com

    The link I entered goes to 
    www.production.com/page

    When I pushed the site live to:
    subdomain.production.com

    The link in my content block updated itself automatically to:
    subdomain.production.com/page

    I tried changing it back to:
    www.production.com/page

    but SiteFinity re-writes it to
    subdomain.production.com/page 


    I then tried putting a javascript block, and told the script to reassign the href to:
    www.production.com/page 

    But even the Javascript block gets rewritten by SiteFinity to
    subdomain.production.com/page 


    This is very bad.  We need to have the ability to link to www.production.com from subdomain.production.com

    Why is that not possible?  What can I do to stop Sitefinity from changing my links like this?


  2. Andrew
    Andrew avatar
    1 posts
    Registered:
    17 Oct 2012
    18 Apr 2012
    Link to this post
    I also have this issue and need it resolved.  What can we do to stop Sitefinity from changing  links like this?
2 posts, 0 answered