Trailing slash after index.html

  • Unknown's avatar

    My default home page is a page (as opposed to a post or recent posts). When visiting the site, htaccess resolves the URL to http://www.example.com/

    If, however, you were to try to visit index.html for the home page by typing in http://www.example.com/index.html, WordPress redirects this to http://www.example.com/index.html/ (note the trailing slash).

    I can’t figure out which file in wp-includes to edit to fix this problem. It’s interfering with a lot of our tracking and analytics efforts, because “index.html” is not appearing as a visible and viable page.

    Thank you for any help!

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • The topic ‘Trailing slash after index.html’ is closed to new replies.