You can filter home_url
:
add_filter( 'home_url', 'wpse102523_home_url' );
function wpse102523_home_url( $url ) {
return $url . 'index.php/';
}
Reference: Adam Brown’s Filter Database
Related Posts:
- Getting the Site URL Including the Front Base
- Got 404 error when changed siteurl via DB in WordPress
- Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)
- Setting a permalink for the home page?
- How to get rid of index.php?
- removing index.php IIS 7.5 webconfig
- Getting links to work the same on development and production
- Multilanguage URLs
- How to show the homepage on a different url, like site.com/blog instead of site.com?
- Why does the ‘Month and Name’ Permalink Format not Work on my new WordPress Site (running on IIS7)?
- How to bulk edit image url in featured image and product description?
- example.com/index.php/%postname is working while /%postname is not working WordPress on IIS6
- IIS 7 Rewrite with parent categories
- Permalinks settings
- WordPress suddenly changed all links to example.com/example.com/
- Permalink opens attachment instead of page
- Permalinks on Windows IIS not working and web.config breaks site – does wordpress not support windows server now, if so how?
- Page redirect to 404 when set Permalink = “Post Name”
- Moving blog and maintaining current permalinks
- IIS7.5 URL rewrite pboblem on index page
- Permalink not changing according to post type
- My permalinks for all pages and posts now include old page titles as parents/categories
- Remove index.php from URL (WP installed in subdirectory)
- Get value from URL with different types of parameters
- Remove index.php from url in permalinks over IIS server (web.config)
- How to change URL of my pages?
- How to make custom page link to root automatically?
- On IIS, stop WordPress from resaving my web.config file when I enter the Permalinks config page
- Permalinks setting raises 500.0 error
- Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?
- Remove index.php from URL
- permalinks url with woocommerce
- Siteurl code for links
- Permalinks is not working in my wordpress setup
- Stymied by 500.5 error for WordPress on IIS 8 / Windows Server 2012
- Is it possible to get a page link from its slug?
- What’s the difference between home_url() and site_url()
- Need help with add_rewrite_rule
- After server migration only the homepage works
- remove “index.php” from permalinks
- where is permalink info stored in database?
- Changing permalinks gives me 404 errors on nginx
- How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?
- Change media item permalink
- Get Permalink without domain (i.e. get relative permalink) [duplicate]
- How does WordPress create URLs that Apache knows about?
- Strange permalink issue: can’t rename /company-2/ to /company/
- Passing and retrieving query vars in wordpress
- Get the current page URL (including pagination)
- Stop WordPress appending `-2` to the end of my url after i change it
- Get default permalink structure from pretty URL’s
- How to get permalink and title from post ID?
- Why is “/page/2/” not working?
- WordPress Permalinks not working in Apache2 Ubuntu 14.04
- Performance of my permalink structure?
- Permalink format: singular or plural
- What is the difference between get_post_permalink and get_permalink?
- WordPress matching URLs with trailing tildes
- Get current URL (permalink) without /page/{pagenum}/
- How does WordPress handle permalinks?
- Pretty permalinks for search results with extra query var
- Switching MultiSite installation from HTTP to HTTPS
- Get page permalink without wpurl
- How can I get the privacy policy page?
- Can I use REST-API on plain permalink format?
- WordPress slug issue with non-latin characters
- Rewrite Rule for Multilingual Website, Like qTranslate?
- How to get pretty URLs with add_query_arg in permalinks
- What is the best permalink structure for SEO?
- Change author permalink
- Creating custom permalink structure for languages
- Hide permalink and preview button and link on custom post
- Custom post type permalink endpoint
- How can I make Capital letter ( upper-case ) permalinks?
- How can I reverse engineer a Permalink to Find the Page?
- Mapping Domains to Permalinks (not multisite)
- How to remove dates from existing permalinks?
- How do I set a custom base URL for standard posts?
- Removing Parent Page(s) from Permalink
- Why permalinks work with /index.php/%postname% but not with just %postname%?
- Setting up WordPress with Custom Permalinks and no .htaccess File?
- Does WordPress Change the .htaccess File When Updating?
- Using $_GET variables in the URL?
- Removing the redirect after changing a page’s slug
- How to display a public profile page for registered users with custom slug?
- Removing leading zeros from custom permalink structure
- Must slugs be unique?
- Setting 404 page in Nginx
- How to get the clean permalink in a draft?
- How to use relative links on my pages?
- How does wordpress keep track of post id when post id is not used in permalinks?
- How to filter to output of the get_permalink() function
- Stop WordPress from reserving slugs for media items?
- Including category-base in a post permalink results in 404
- How to change ‘with_front” key from an existing custom post type?
- Change slug on post creation
- Does WordPress automatically do 301 redirect if I change permalink
- How can I store page ID in a post instead of other selected permalink?
- WordPress Permalink changes to question mark (?) in URL
- WordPress thinks my custom route is a 404