Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Marcus 6 posts 36 karma points
    Jul 30, 2015 @ 09:23
    Marcus
    0

    Dynamic routing that works on both dev server and local host

    Hi!

    I'll start with saying that I am not a very good web developer so I don't even know if I am using the correct terms here, but I'll do my best to explain.

    I'm developing a web application in Umbraco version 7.2.5 assembly: 1.0.5610.18894 locally against a database located on a dev server. On occasion when I have a working update I copy my local directory over to the dev server in order to let others see my results. I know this is far from optimal and best practices, but it works for now. Anyway, my problem is the routing then trying to set up multiple languages. Under content I have one home page for every language with english as default and in the head of the web page the user has the possibility to switch language. When I configured the routing under "Culture and Hostnames" I put

    1. Language: en-GB

    Domain: http://localhost:123/

    Culture: en-GB

    2.

    Language: sv-SE

    Domain: http://localhost:123/sv

    Culture: sv-SV

    This works fine when running the web application locally but it doesn't work on the dev server and I have no idea how to configure this so it works for both. Any ideas?

    Thanks!

  • Marcus 6 posts 36 karma points
    Aug 03, 2015 @ 10:05
    Marcus
    0

    So, I did some further research and evidence points towards not being able to do what I ask for. It's simply not applicable. So if anyone wonders about the same thing, my answer is to find another way :)

Please Sign in or register to post replies

Write your reply to:

Draft