Jump to content

Search the Community

Showing results for tags 'virtual path'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello All, So I've launched my first PW site: http://www.neighborhoodsewerdrain.com - yea! Next challenge: We have an 11 county service area in south east Michigan. My boss would like the site to function in such a way as to "localize" the site depending on where the user is located. So, if the user clicked on a Google AdWords ad targeted at Macomb County, the URL would be "www.neighborhoodsewerdrain.com/macomb/". From there, I'd like to pull in dynamic content specific to that region, like a local phone number, the words "Macomb County" wherever I want to drop them in the content (most likely using Hanna Code or code in the template). Further, once the user enters through the above sample URL, I'd like to prepend "/macomb/" to the root domain as the user visits other pages, which will keep the content localized. This would be ideal so as not to have to manage 11 different versions of each page. I've begun to experiment with URL Segments and PHP switch statements. I'm sure it's going to get a bit more complicated than that. So, if anyone can point me in the right direction with suggestions on how to pull this off, it would be most appreciated Thanks!
×
×
  • Create New...