You can get the value of front in the global $wp_rewrite:
global $wp_rewrite;
echo $wp_rewrite->front;
// or
echo home_url( $wp_rewrite->front );
Though that is probably of limited use, as the front base isn’t necessarily an existing page, and may 404 in many cases. If you’re using that value to prepend to other URLs, you’re likely doing it wrong.
If you want the page designated as the posts page, that value is stored in the page_for_posts option:
echo get_permalink( get_option( 'page_for_posts' ) );
Related Posts:
- How to change URL of my pages?
- remove “index.php” from permalinks
- How to get pretty URLs with add_query_arg in permalinks
- Creating custom permalink structure for languages
- Update URL Snippet to Canonical Permalink URL
- “.#[random-char-string]” being inserted at end of URLs
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- Pretty Permalinks
- How to create a permalink structure for posts in a specific category
- Remove subfolders from URL
- flexible rewrite ‘ramble’ URLs with WordPress
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- How to Modify Existing Rewrite Rules?
- custom permalink/shortlink with base62 encoded post ID
- Multilanguage URLs
- How to reset canonical URLs / fix redirect loop
- How to show the homepage on a different url, like site.com/blog instead of site.com?
- Change blog segment of URL
- Force wordpress to display page with same url structure as categories
- How to bulk edit image url in featured image and product description?
- How can i have a custom post type with more slugs for each post?
- URL rewriting: removing the site’s basename for a specific category
- Permalinks settings
- mod-rewrite exception? keep #hash in matching urls?
- Remove parent page from url
- Getting back a permalink from custom url
- Bulk append URL (add word to slug)
- home_url on IIS missing permalink index.php
- Access posts while mod_rewrite is broken
- Can I change the URL structure for a CPT only?
- Multiple Taxonomy Items for Separate URLs
- WordPress keeps removing query var from the URL
- How to construct a dynamic rewrite rule for child pages that passes more than one query var
- Permalink not changing according to post type
- Got 404 error when changed siteurl via DB in WordPress
- Using a template file for a specific custom URL
- Extra url paths as variable
- Passing parameter through permalink structure
- Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)
- rebuilding/ rewriting a url to make it SEO friendly
- My permalinks for all pages and posts now include old page titles as parents/categories
- Get value from URL with different types of parameters
- a way to support totally different url structure
- How to retrive previous Domain URL in Wp
- Custom Permalink Base
- Include language variable in url
- permalinks url with woocommerce
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- Lost WordPress website access after changing URL [closed]
- What’s the difference between home_url() and site_url()
- How does WordPress create URLs that Apache knows about?
- Add .html (dot HTML) extension to custom post types
- Get current URL (permalink) without /page/{pagenum}/
- URL rewrite based on a custom field value
- How to change author base without front
- How to make draft posts or posts in review accessible via full url / slug?
- Add custom directory in URL
- Nice RSS Feed URLs for each custom post type
- Rewrite url / permalink for default archive – yearly / monthly
- Permalinks, Rewrites, Get Variables, Oh My!
- Remove the Parent category from the permalink but leave the child category
- Can’t get rewrite rules working
- Rewrite my default post URL
- When is it a good idea to build a permalink structure from scratch?
- Attachment Page Permalink/URL Rewrite Issue. How to change the actual rewriting?
- Permalinks: Page Not Found
- How to rewrite url wordpress?
- Add “page-a” slug to category link if user visit category link from “page-a”
- Is a permastruct possible on pages?
- Rewrite rule for a query string
- How to add a variable as a tag base?
- WPML – how to get the permalinks to display also the default language
- display dynamic content based on url slug on custom page
- How to generate a list of all urls
- Permalinks only for posts
- Visiting posts results in 404 errors after host migration
- Suddenly new posts have the default permalink instead of the post name
- Redirecting “wrong” but working links to their canonical URL in order to prevent search engine penalties (e.g. /123/ at the end of URLs)
- Two sets of url one content?
- Custom permalink structure with %postname% in front of domain name
- How can I set up a secondary permalink structure?
- How to Use metada Value in Url and is it possible? [duplicate]
- How do I rewrite attachment urls when permalink structure contains %category%?
- Custom child page permalink
- Safest way to create a custom permalink
- How do I structure my permalinks in WordPress?
- Creating an alternate path for a page
- How to change URL from /%postname%/ to custom-name/%category%/%year%/%monthnum%/%day%/%postname%/
- WordPress Attachment Page URL Rewrite!
- Customize URL for specific tags archive
- Add #primary at the end of navlink permalinks on single posts
- WordPress Multisite ABSPATH and get_home_path() to check for htaccess or web.config file
- Permalink structure /page/page/cpt-post gives 404 with pagination
- Rewrite posts url as they’re all children of a page
- Multiple Permalink Patterns for one page
- WordPress permalink still not working (error or not understood?)
- how to create several url aliases for a page
- Standard Htaccess directives disappear by themselves
- Change default URL (or permalinks) in the back-end
- Allow question marks (?) in WordPress permalinks