Page is a not externally linkable
jdMorgan - 3:57 pm on May 23, 2005 (gmt 0)
Then modify your rewriterule to change requests for '/nav-name.php' to '/template.php?page=nav-name' instead of rewriting '/nav-name/index.php' to '/template.php?page=nav-name'. You will have to add an exclusion for template.php itself, so that it doesn't get rewritten itself, creating an infinite loop -- See RewriteCond %{REQUEST_URI} to get started on the exclusion part. Once you accomplish this, you'll probably want to redirect all of your old URLs to the new scheme. That's another subject, and one you should probably ignore until you get the main problem worked out. Jim
Change the code in template.php to create 'pages' using '/nav-name.php' instead of '/nav-name/index.php'. You can hard-code this or use preg_replace if the pagenames are coming directly out of the SQL data.