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?
- 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’?
- Passing variables through permalink structure
- 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
- 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
- Get closest page ID from URL
- Display a specific dynamic sidebar widgets on a specific page
- How can I add a page’s ID to its permalink using WP_Rewrite?
- 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
- 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
- Remove -2 from URL; no duplicate pages, no images, no pages in trash
- Let me choose permalinks
- Passing the JQuery string to Worldpress URL
- 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
- cannot link a external url, present page url acting as parent url
- Issue On Displaying Pages with Post Name Permalink
- implement separate templates for 1 post type
- Test site pages go to main site
- how to get a list of all top level pages
- 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?
- WordPress Page Not Found if Permalink Settings is Postname
- Custom permalink structure for remote content pages
- 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
- Non Latin page permalink problem
- How to make different urls for some tags pages
- Multiple URL rewrite rules and get every prams
- Nested permalink without dummy parent page
- Custom Permalink (with category) for Pages
- Can I link to content dynamically from a page to a new page?
- Adding styles/scripts to specific page
- WordPress form submit to custom page template does not work
- Page returns 404 for specific permalink
- Single.php not loading when permalink only contains date information
- Change all pages permalinks instead of hierarchical to have id of the page
- Rewrite single template permalink?
- How do you assign custom template for Posts page (under Front page displays setting)
- Page permalink ending in “-2”
- single.php being ignored, going straight to attachment.php
- Change the permalinks structure
- How can I get WordPress CPT archives and page templates to work with prettified permalink settings?
- Avada Theme – Display results from a specific category [closed]
- Development before domain name chosen
- Pages included in another page and duplicate content issues for SEO
- how bbPress and buddypress add their own page templates to the page template drop down on the page editing screen
- Category pagination first link works, remaining don’t
- wp_get_attachment_url not working
- Permalinks of New Pages and their Parents
- Choose template depending on URL
- Why doesn’t my page know it’s a page (won’t return true for is_page())?
- May I know where to edit the tax rate?