1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Problem with URL rewriting

Problem with URL rewriting

6 posts, 0 answered
  1. tanmay
    tanmay avatar
    18 posts
    Registered:
    14 Aug 2007
    20 Oct 2009
    Link to this post
    Hi,
    We are creating a new site with sitefinity 3.7, here is the url of the site
    http://beeah-uae.com.temphostspace.com/

    We used url rewriting module to add culture ID in url prefix [this site support en, ar]

    This is our web config part :
      <localization defaultProvider="Sitefinity" persistenceMode="PathPrefix" defaultCulture="ar" cultures="ar,en" >

    Now problem is :
    when i hit "http://beeah-uae.com.temphostspace.com/" this url it's working fine, it autometically change url to
    http://beeah-uae.com.temphostspace.com/en/home [home.aspx is our home page, and we are using extension less url].

    But Problem arrise when a user hit url like this
    http://beeah-uae.com.temphostspace.com/en
    it's automatically change url as http://beeah-uae.com.temphostspace.com/en/en and getting 404 error.

    if user hit http://beeah-uae.com.temphostspace.com/en/  it is working fine.

    Please help, we need to make this site live as soon as possible.

    Thanks and Regards
    Tanmay



  2. tanmay
    tanmay avatar
    18 posts
    Registered:
    14 Aug 2007
    20 Oct 2009
    Link to this post
    We are also getting some problem with "aspx.gif" icon in file manager of sitefinity admin. image is there and we explore it by windows explorer. but when we hit the image url directly in browser it is showing 404.
    please see the attach file for more details .


    Please help me, is there any problem with url rewriting? or any thing else, rest of the images are displaying fine.

  3. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    21 Oct 2009
    Link to this post
    Hi tanmay,

    Thank you for using our services.

    We have experienced a similar problem before, and resolved the issue with a bug fix that would be included in the next SP, which should be released in the second half of November. If this time frame is not suitable for you, please open a support ticket in which you can provide us with information of your current version of Sitefinity. Then we will follow up with upgrade instructions and a custom build which should fix this issue.

    Greetings,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  4. tanmay
    tanmay avatar
    18 posts
    Registered:
    14 Aug 2007
    21 Oct 2009
    Link to this post
    Hello Radoslav ,

    Thank you for your response . We contact with our client regarding your response.
    We hope he will contact Sitefinity support regarding the issue.

    Thanks and Regards
    Tanmay
  5. tanmay
    tanmay avatar
    18 posts
    Registered:
    14 Aug 2007
    22 Oct 2009
    Link to this post
    Hello Radoslav,

    We are facing another problem with flash, we have some flash game for children .
    Here is the url for game location
    http://beeah-uae.com.temphostspace.com/en/whatyoucando/children/games

    there are 3 games if you click on one link it will open a new window to open game.
    say i am clicking on Match link. It will open
    http://beeah-uae.com.temphostspace.com/en/whatyoucando/children/match1
    first flash file is opening fine. but if a chose a game from the list it is not working.

    If you open the source of this page [http://beeah-uae.com.temphostspace.com/en/whatyoucando/children/match1]
    you will find
    var so = new SWFObject("../../../resources/flash/games/match/en/match.swf", "game", "800", "600", "8", "fff");
    as source of the file.
    if you hit directly this url in browser [replaceing match1 with "../../../resources/flash/games/match/en/match.swf")
    url will be  like 
    http://beeah-uae.com.temphostspace.com/resources/flash/games/match/en/match.swf
    and  here you can play game, no problem occur .

    As i informed from our Design team match.swf is calling 16.swf,24.swf,36.swf internally [these files are actual game file]

    Now please tell me is this happening due to url rewriting? or any thing else.
    Please help, we are using sitefinity 3.7.

    Thanks and Regards
    Tanmay



  6. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    29 Oct 2009
    Link to this post
    Hi tanmay,

    We tested the link you sent and here is what I found:

    Trash
    URL from the main page:
    http://www.beeah-uae.com.temphostspace.com/resources/flash/games/trash/en/Trash-Game-new.swf
    Actual working URL:
    http://www.beeah-uae.com.temphostspace.com/resources/flash/games/trash/en/Trash-Game-new.swf

    Clean the Park:
    URL from the main page:
    http://beeah-uae.com.temphostspace.com/resources/flash/games/clean/en/CleanPark.swf
    Actual working URL:
    http://beeah-uae.com.temphostspace.com/resources/flash/games/clean/en/CleanPark.swf

    Match:
    URL from the main page (non-working):
    http://beeah-uae.com.temphostspace.com/resources/flash/games/match/en/match.swf
    Actual working URL:
    http://beeah-uae.com.temphostspace.com/en/whatyoucando/children/match1

    As you can see, the only difference I found is in the Match game URLs. I have attached two screenshots which show that for some reason the javascript file is not loaded in the non-working URL. You will need to compare the way these two URLs are working; we are also not aware of how you are doing a URL rewriting.
    Let us know if you have more Sitefinity-specific questions regarding this issue.

    All the best,
    Sonya
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
6 posts, 0 answered