Hi,
I have a strange problem, where to generate pages I am using my URL's as:
site/city/city-name/page-number
for that mod_rewrite is:
RewriteRule ^city/(.*)/(.*)$ tagcity.php?tag=$1&pnum=$2 [L]
But now the problem is if I delete the city-name and make it empty like "site/city//page-number" then it starts taking page-number as city-name.
I know its a strange situation but unfortunatly some of my sites pages are indexed in Google as above.
How to detect that its empty so I can generate a 404 page?
Thanks,