Try adding this to your .htaccess file:
RewriteRule ^index\.htm$ index.php [NC,R]
SOURCE:
http://css-tricks.com/377-how-to-redirect-indexhtml-to-indexphp/
Related Posts:
- redirect does not work in ajax function
- Authentication / login mechanism (non wp-admin)
- Set front page as static page [closed]
- WordPress Theme Development: How to redirect templates the right way?
- Redirect Old .php URLs to New WordPress Page
- Redirect to specified page when insufficient permissions?
- Where to find the code that redirects requests on the static page URL to the home page
- I used single quote to design HTML of my WordPress blog. Now site redirects to index.php everytime than page.php or single.php
- Developing WordPress site behind a static site
- What is the best practice workflow for new website overhaul and keeping current SEO ranking? [closed]
- Check if redirected from a specific page template
- Question regarding WP multisite feature
- Call to undefined function add_menu_page() on theme activation
- “Theme without sidebar.php is deprecated”
- The Content is not Wraping in tag
- Using page-id-{ID} from body_class() in local dev, versus live staging
- Is there a way to visualize / print out which templates were used to render a given piece of UI?
- Is it acceptable for a WordPress theme to not accept widgets?
- Should all references to a text domain be to my current theme?
- WordPress Settings API not saving options
- Custom image size vs CSS sizing
- Unique design inside a specific category’s url
- Rewrite the HTML markup of wp-login.php
- Extending Twenty Eleven Theme
- my excerpts lack the ‘more’ link
- Simple child theme modification but links are broken
- Making a WordPress theme based on twentyten
- Iris color picker in custom theme option page not saving value
- Is functions.php in themes applied to all templates?
- Are there any caveats to compiling all of my theme’s SCSS into the style.css file in the theme root?
- SVG in list-style-image breaks when adding fill
- Doing context-aware previews in the WordPress Customizer
- Alignment Problem [closed]
- how do i develop a global nav and local nav to be wordpress dynamic?
- Why Tags don’t appear in my page?
- Clearing dummy data before launch
- Multiple editable areas
- First post full width without Sidebar
- multiple html/css files for wordpress theme?
- How to make a theme unable to be used on a multisite network?
- best practices for updating wordpress theme
- Create new wordpress theme with no need update
- How to display date of blog creation
- Multi Site Setup, Child Themes, Getting Style Sheet Directory
- Add image URL automatically to custom field?
- content filter (add_filter) for category description?
- Theming media inserts
- How to add testimonials with an image?
- How to setup sidebar modules to use jQuery Accordian
- Change default rel attributes for Image Block & Button Block
- ACF get_sub_field ALT TAG in the repeater doesn’t show
- theme directory fallback image outputs url and not the image
- How to copy page/post from one theme to another?
- Not sure how to debug this npm install error. This is a wordpress theme that comes with a built-in gulp/webpack task automation [closed]
- Add class every 4 post like , class_1, class_2, class_3, class_4 and class_1, class_2, class_3, class_4
- Using has_term() function for category-subcategory structure
- Why front-page.php doesn’t show content of file instead shows loop
- Theme functions don’t work as expected in partial included via get_template_part() after custom query using Ajax [duplicate]
- Find the source file causing a Mixed Content warning
- Ajax Comment Upvotes – Votes don’t always register
- How can I not disable my theme when I want to upload a new version of it?
- Are paginated comments required for publishing Themes?
- Avoiding do_shortcode() loops
- What is the general function to add a Widget area (not of a particular type)?
- WordPress Post Order
- Why content is not adding for each blog post
- Correct was to customise theme using get_theme_mod in scripts
- how can I re-utilize and class on a child theme
- How to manipulate wordpress template tags’ output
- Recent post in the middle of the content
- How to figure out which wordpress theme a site was using?
- Best way to allow for extended use of WordPress functions inside single.php
- Data not saved WordPress Custom Admin Page
- WordPress Footer Widget Processing
- Flexslider not working for my custom theme WordPress
- Redirect to custom login page
- Default calendar widget not showing up
- Mamp pro permalink issues. Pages keep reverting to index.php
- How to close open divs in post loop
- Display Today’s date outside the loop?
- How to Disable Color Options?
- Form to Add Posts to Custom Post Type (Again)
- Creating Multiple Menus in the Thesis Theme?
- get_header() on new page fatal error
- Turning WordPress Into full-featured website?
- Workflow of Collaboration on wordpress development [closed]
- How to make admin theme option with image slide show?
- Explanation of User Roles and Capabilities
- Getting URL of Resized Image
- Detect custom font size
- How to send async emails in wordpress?
- How To add li class and a class wp_nav_menu() with bootstrap 5 navbar?
- Permalink Setting Changes From Post Name to Default After Changing The Page Name
- Full site editing templates folder vs block-templates
- How can a theme define which settings for blocks are available in the block editor?
- How to enable wc_add_to_cart_message?
- Export WordPress theme with modifications for other site
- how to combine wordpress and front framework
- Starter Bootstrap and Custom Fonts
- How do I access the current post object within a block theme template or pattern?