Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. UrlRewriting depends on the Browser-Language

UrlRewriting depends on the Browser-Language

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharpasp-netcom
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tronix01
    wrote on last edited by
    #1

    hello i'm looking for some help for the following problem. i developed a asp.net 2.0 multilanguage webpage using localization with resource-files (FR and EN content). all of my aspx - pages are in the same folder but i want that the search engines detect the text of both languages. to solve that problem i atteched the Intelligencia.UrlRewriter.dll from www.urlrewritingnet.com to my project. later i've implement the following rule in my web.config file to make the french-content visible for the search engines <rewrite name="rule1" url="^/(.*)/(.*)/fr/(.*).aspx" to="/$1/$2/$3.aspx"></rewrite> that means, if someone enters directly: www.mypage.com/folder1/folder2/fr/default.aspx it will be rewritten to: www.mypage.com/folder1/folder2/default.aspx is that enough to make the french-content visible for the search engines ? and... how can i redirect or rewrite from www.mypage.com to www.mypage.com/folder1/folder2/fr/default.aspx , if anybody enters the website and uses fr-FR as the default browser-language ? How can i solve that ? thanks for any help

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups