Sitemde bir sayfa alanı işaret

0 Cevap php

I'm having a directory website with sub-pages for each city. Like for example Newyork will have an address www.directory.com/newyork, LA will have www.directory.com/la

so i want to point the the domain newyorkdirectory.com to www.directory.com/newyork and so for each sub sections... what are the options I have.. can I do this in my code? Is there any way to detect the domain from php and load the content accordingly?

I tüm etki siteye bulunuyor işaret eden tüm i gelen etki algılar ve bir sayfa onları başvurabilir? Ben tamamen bu konuda hiçbir fikrim yok.

Clarification: when people goto the site through newyorkdirectory.com the page www.directory.com/newyork/malls should be accessed through newyorkdirectory.com/malls

0 Cevap