Custom page works with id but not name

Hi,

I have created some custom page templates (page-contact.php, page-about.php, etc,) following the instructions on http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates. I can navigate to the pages fine using page_id, however when I switch to permalinks and try to navigate to Theme/contact/ I get a message that no file was found on server.

I also tried changing the filename to contact.php. I’ve posted on the wordpress forum but no answer as of yet so was wondering if anyone here could suggest something.

Any help would really be appreciated.

Thanks,
Liz.

Hi,

Thanks alot for the help. Yep, it was the .htaccess. I have updated it but then I also had to enable mod-rewrite on wamp…duh.

Thanks for the push in the right direction.

Liz.

Do permalinks work for pages not based on your custom templates?

If the page id works, but the named links doesn’t, the most likely error is that the .htaccess file hasn’t been updated. Could you post a link to your website, along with the contents of your .htaccess file?