for the permalinks i’m using:
Date and name based
the problem i’m having is that i need to pass a variable to ALL the pages. my variable is called city and it contains the city name. So i want this variable passed around to all the pages within wordpress so i can display correct advertisment. Any ideas how i can accomplish this with URL rewriting?
when i turn it to default, i hardcoded the city=$city in the proper files. But i can’t understand the rewrite functions!
any help would be appreciated!