When you delete a post, it merely gets put into the “trash” and retains its slug. When you created the “new” contact page, the slug “contact” was already in use by the original contact post that is in the trash.
Go into your posts on the dashboard and click on the “Trash” link near the top of the post listing. Once in the Trash area, permanently delete the original contact post.
You can now go back into the “new” contact post, edit the slug near the top of the post, and remove the extra -2 that was added to it. Click OK and save the post. It should now have the slug contact instead of contact-2
Related Posts:
- Access the same page from multiple urls (wildcard)
- How to inject custom url path for page ?
- Clean URL link for page without number
- How to Add a Rewrite Rule for Only One Page?
- Is there a way to create a URL (new WP page) that can only be accessed from a specific source?
- How to change only the home page / front page url on wordpress
- Blank Pages with # URL & Google
- Site url is not showing the home page
- Access the same page from multiple urls (wildcard)
- How to show the root webpage on all subpaths
- Organizing Your Pages
- How to create cutom link for page
- Separate URL for a specific page
- return page name in url
- How to fix broken URL – https://mywebsite.com/comments/feed/
- what does the symbol “?” mean and how can i edit that page?
- Add addtional page parameter before loading the page
- WordPress form submit to custom page template does not work
- Access link page and not folder content of that link
- New page has incorrect URL
- Is it possible to rewrite a page url Without setting the permalinks to Post Name?
- Temporary download page or restrict static download page based on how the user got to the page?
- How to change the default location where new post gets stored?
- How can I keep the content of my pages version controlled?
- How to load JS and CSS only on specific Pages using is_page()?
- Listing pages which uses specific template [duplicate]
- How do I convert a page’s title to lower case?
- page title, parent tilte and grand parent title
- How to add jQuery script to an individual page?
- How to check if feed URL was requested?
- Manual excerpts for pages not working on Search
- How to get post or page excerpt using post_excerpt
- Different fields in My Profile page depending on user role
- Object gets unwanted width and height
- WP is not using the select custom template.php that its selected for a page
- Is it possible to set a page template on a dynamic home page (articles list)?
- What’s the most minimal way in which a page can be hooked into WP?
- Associate Page with User
- Limit the number of pages created by the paging
- One page – Multiple parents?
- Check whether the child page has siblings
- How to re-order pages en-masse
- wp_dropdown_pages default value
- how to get specific page content
- is_page condition not working
- How to create a metabox that will list all my pages in a dropdown selector?
- Personal page for every user (not just authors)
- Relative instead of absolute links in pages?
- Produce a plain page with only a message
- load common thank you template with different content for different pages
- Password Protected Page Title
- Send mail from page using wp_mail
- Page displays content from different query?
- Can’t locate a hidden private page
- Making audio playlist by getting page’s parent’s ID
- Remove -2 from URL; no duplicate pages, no images, no pages in trash
- Restricting Pages based on Hierarchy and User Role
- page-name.php doesn’t execute on custom template
- How to retrieve attachments from child pages of a specific Page?
- how to display sidebar on pages in wordpress
- page.php is not called, falls back to index.php
- Issue On Displaying Pages with Post Name Permalink
- Custom page in archive page for certain category
- I would like my page editor to be sorted by date created, or updated, instead of in Alpha order, is this possible?
- Show FormCraft form on page open [closed]
- Why last blog post excerpt is shown instead of meta description? [closed]
- Prevent non-admin to add/create new pages
- How do you implement a page template automatically being applied to a page?
- Is it possible to restrict access to specific pages in the admin area based on the page slug?
- Make “default” wordpress pages & features unaccessible
- Set a variable to using in redirected page
- Show parent & child pages with featured image and hide the current page
- Publish page by invoking submit via jQuery
- One author not showing in Author drop down list while editing page
- WordPress Page Protect forwards to Admin Login
- How can I edit pages from my local environment?
- Modifying .page-content background image
- “Can’t update in WordPress”
- Why can’t pages be categorized / tagged?
- Pages in wp-admin is not found 404
- Shortcode runs when editing page
- List of pages of a specific user
- Multiple meta_key with get_pages
- Sup pages can’t be found
- How to manage a custom post type archive as a page?
- How to use wp_dropdown_pages or wp_list_pages to accomplish a menu like this?
- Get child pages in get_pages function
- Send e-mail from admin area to adresses in custom field
- Bundle a page with custom url and a function
- Custom Upload Adds Ghost File
- How to exclude sidebar from pages?
- Widget & storing a Select box choice
- How to Change the path of a child page?
- disable trashability for certain pages
- If searched in a category show different 404 page
- pages won’t show on front page using loop or pre_get_posts
- How can I cycle posts with a #next and #previous script?
- Using Page/Post Slug In Link / URL
- List of pages – AJAX load more
- How do I count the number of pages a user has seen on my site, and force them to log in after a certain amount