You don’t do that with your permalinks. You can do what you want in WordPress Settings.
- Go to your WordPress dashboard, 2. Click “Settings”, 3. Click General. 4. In the “Site Address (URL)” Box remove the “blog” part like this –> “http://site.myurl.com/
NOTE: DON’T CHANGE THE WORDPRESS ADDRESS URL!!! Only change the Site Address
Here is a screenshot
Related Posts:
- Custom permalink structure only for default posts
- Custom post type single (permalink) throws a 404 error
- Custom post type permalinks breaking due to 3.1 bug fix
- Blog Posts in Custom Menu
- How to make number of blog posts a custom field?
- Move first half of posts to one parent page, second half to the other page
- WordPress Query Posts From Category Post on Static Page
- register_post_type permalink
- Post titles and thumbnails as links to custom post types?
- Changing permalink of WordPress
- Custom Post Types and Broken Permalinks
- My posts page is missing the page title
- Permalink base only for posts
- Append a random string to a post permalink
- How can I have the posts from one word press blog show on the presentation page of another word press site
- Default post type doesn’t display in url
- Changes done in admin panel are taking time to reflect in the REST api responses
- Need to show birthday of custom post type(Famous people in this case) in elementor. Date of birth set in custom fields
- Use category base slug in posts’ permalink
- Setting Custom Sort Order of Posts within a Category
- Change the Slug of Post Type post to baseurl/post/%postname%
- How to control which category will be picked for the slug of a post?
- Change slug with custom field
- adding a custom css class to post
- Add default content to post (for specific category)
- blog page showing only first post
- WP get_permalink Return Wrong URL
- Post in Multiple Categories to stay in current category (permalink, next previous post link)
- display order of connections
- same template for multiple custom post type single
- How to place HTML below the title of the (custom) post overview
- How to get a nofication when post submitted
- .current-menu-item class on custom post type children pages – again?
- Display page content AFTER a loop of posts
- Run a function when post is deleted?
- How can I create custom button in post.php
- how to replace embedded “full” sized images within a post with the “large” ones
- Downgrade user from role that allows post creation
- Bulk update post slugs through database
- Animated gif for a thumbs
- How blog page in WordPress works : blog page retrieve first post ID
- I am unable to publish/update post
- How to change permalink on post click on post listing page
- Get posts of ONE taxonomy term of custom post type
- WordPress Custom Fields (Checkboxes with multiple values)
- Custom Post Archive Page not working
- Show certain posts in a LIST format that members have been granted access to
- After database migration, posts not showing up in dashboard
- WordPress custom Query for Posts in Category display posts multiple times
- Editing the default page to show all posts, rather than most recent ones
- WP Admin register taxonomy and post type performance
- WordPress Multisite – Create Default Post and New Category On New Site Install
- Permalink doesn’t get displayed in Twitter button (Local WordPress problem?)
- Format latest/newest post differently
- relating business and products with custom taxonomy?
- Append ‘Continue Reading’ link if post length is more than 3 lines of text?
- older blog posts not showing in new theme
- Edit multiple custom post types while saving a new or edited post
- How to allow multiple thumbnail upload for Posts?
- add external project to web site wordpress on production
- Exclude post category in a blog page
- Custom Post Type, post-formats associated to custom post type > 404 archives
- Internal linking to posts permalink fail because of spaces and stripe at postname
- Delete post from admin but not from database
- Custom Select Query – Selecting the Year?
- how to create a sub section in posts
- What would causes search to return incorrect results?
- Pagination not give another posts
- “Blog pages show at most” in setting not working
- Permalink Short code showing unnecessary link text inside the loop
- How to pull sticky post permalink inside php?
- Tag for custom post type
- Blog images not showing on homepage
- Manual Scheduler For Custom Post Type
- Prevent Archive URLs
- Dev and prod on the same database- dev version active for IOS
- How to delete/customize imported demo content from a theme or add my own?
- Multiple Pages – Seperate blogs
- How to put the WordPress blog into theme
- How to give priority to page than to posts permalink structure?
- single- and archive- templates not being applied to custom post types, not even after flushing permalinks
- Blog styling in SASS
- How to list all names and descriptions of a custom taxonomy
- Is there a way to change the complete URL of the blog post for a redirecting tracking link?
- WordPress with static posts page and custom permalink structure doesn’t find posts with numeric permalinks
- Can’t seem to replicate permalink structure for localhost development site
- My posts section for logged in user
- How to mix pages and sub-categories in a url
- Show a Category Specific Info Box
- Make a custom URL and link to custom Template
- Changing permalink of custom category
- Special Query: Title, Terms, Content – %LIKE%
- Overwrite URL on blog posts
- Posts don’t appear on the Blog page
- WordPress 3.2 – Problem with WYSIWYG editors in a custom post type?
- 301 Redirecting posts without %postid% (just %post_name%) in permalink to ones with %post_name%_%postid%
- How do I add /blog/ on my permalink without affecting the portfolio project types permalink?
- How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?
- Permalink remain the same on each page
- WordPress Custom Theme: My site shows the same posts on Page 1 and Page 2 and so on [duplicate]