Yes, this is the intended behaviour:
page-{slug}.php – If the page slug is recent-news, WordPress will look
to use page-recent-news.php
So, simply use a different filename for your templates, like template-contact.php for example. You can find more info about this here:
Related Posts:
- How to get full content including template HTML
- Get the url of a page template without using the page slug and ID
- All top-level pages are using index.php as template
- Select page/template from the permalink url
- Permalink / sub-template issue
- Is it possible to get a page link from its slug?
- Custom templates not showing up in template dropdown
- How can I reverse engineer a Permalink to Find the Page?
- How can I store page ID in a post instead of other selected permalink?
- Page begins with number, WordPress adds 2
- Is it possible to manipulate the list of page templates?
- Removing hierarchical pages in the permalink
- Can WordPress realistically handle a site with 500 ‘pages’?
- Create built-in pages without creating actual pages
- Subdomains to pages
- Passing variables through permalink structure
- Broken wordpress permalinks on pages only
- How to get a page url by a page id?
- How to Remove Slug From Database?
- Limit number of pages that use a specific template?
- Is including the loop necessary for page.php? [duplicate]
- Relative or Absolute Paths for Flash Video Player Files
- Should I use relative or absolute urls when pointing to internal pages
- how to show all post in my page-grid.php template page
- How to change the permalink structure of a master page?
- Is it possible to list post attachments in a sub URL endpoint with a dedicated template?
- Why I can’t change the permalink of this page?
- Adjust which tempalte a page uses with a function?
- How to dynamically save a selected option from page “Templates” selectbox?
- Subpage template
- Page Attachment Permalink Structure based on Menu Order?
- WordPress not respecting template hierarchy (fetches index.php instead of single.php or page.php)
- Link to blog index from template
- Is there a wordpress function that I can use to retrieve the current page that is loaded?
- Change author slug and functionality
- Where can I access my custom page template?
- Custom page template not working
- Get closest page ID from URL
- Display a specific dynamic sidebar widgets on a specific page
- Custom Template 404 for specific custom post type
- How can I add a page’s ID to its permalink using WP_Rewrite?
- How do I pass data from page content to the underlying PHP template
- Permalinks for pages
- Permalinks by page/post name returning 404
- Avoid WordPress categorizing a permalink request as Not found 404 Page
- Pages not using permalink
- How to get post object on blog template
- Getting pages filtered by template assigned
- Is it possible for a custom post type and sub pages of a page with the same slug as the custom post type to share a slug?
- Add prefix to page URL based on the page template
- get_permalink returning site home url instead of the url of slug being passed
- Remove -2 from URL; no duplicate pages, no images, no pages in trash
- Switch to page template when using post permalink
- Host frontpage via example.com and everything else via example.com/blog
- WordPress is suppressing page extensions!
- Let me choose permalinks
- Passing the JQuery string to Worldpress URL
- WordPress Not Using Template Files After Permalink Update
- Path to Pages Resolves to Archive instead of Actual Content
- Permalink opens attachment instead of page
- How To Load an HTML File As A WordPress Page (With No 301/No Redirect)
- How do I reclaim either deleted pages or their permalinks?
- Need help with adding templates (archives and sitemap) to WordPress child theme
- Permalink of a page that has already been deleted
- Edit permalink for certain pages
- Environment independent way to link to certain pages on frontend
- cannot link a external url, present page url acting as parent url
- Permalink for specific page name
- Issue On Displaying Pages with Post Name Permalink
- the_content of template page
- implement separate templates for 1 post type
- Test site pages go to main site
- how to get a list of all top level pages
- “-2” Being added to end of URL (no duplicate pages, no pages in trash)
- Redirect From Url To Url
- Use same page-mypage.php template for several pages
- post permalinks with dot in url don’t resolve to correct page template
- Avoid pages losing template association on site re-deploy
- How are WordPress Page URLs affected by permalink settings?
- How to use page jumps to top of banner and page title?
- Access or edit custom generated permalinks with WP_Rewrite
- Get Posts Based on Tag Matching Page Title
- optional parameter in permalink structure
- Get a link to paged() part?
- Custom form not showing in correct place on page
- WordPress Page Not Found if Permalink Settings is Postname
- Custom permalink structure for remote content pages
- Pagination url for page template
- Why does enabling Permalinks make pages not found?
- Setting a homepage – doesn’t seem to work
- Page content doesn’t display when published but does when previewed as draft?
- Update page breaks permalinks
- WP as a CMS menu
- Subdomains pointing to a permalink URL
- How can I see a list of all pages my WordPress site has generated?
- Auto Changing Text Case
- Default Permalink Structure for Pages
- Non Latin page permalink problem
- How to make different urls for some tags pages
- How do I structure my permalinks in WordPress?