Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7998151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:08:35+00:00 2026-06-04T15:08:35+00:00

The url http://www.example.com/ and http://www.example.com/index.html both display the same web page. But search engine

  • 0

The url http://www.example.com/ and http://www.example.com/index.html both display the same web page. But search engine treats them as 2 different urls. Hence there is a split in the page rank and affects SEO.

Possible solutions I got after web search:

1.Use DirectoryIndex index.html in the .htaccess file.

This tells the search engine that http://www.example.com/ and http://www.example.com/index.html are same.

Issue I am facing: DirectoryIndex index.html in the .htaccess file expects that all sub-folders also have and index.html file. Ex. if there is a folder “blog” in the root directory which has no index.html file in it, then the url
“http://www.example.com/blog/” throws index not found error.

2.using 301 redirect. Redirect http://www.example.com/index.html to http://www.example.com/

Issue: redirections increase load time. It is not a good practice.

Please suggest which solution is better? I doubt if the 1st one is a solution or not.
Also, if I have to redirect, redirecting http://www.example.com/index.html to http://www.example.com/ is better or vice-versa with regard to SEO?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T15:08:35+00:00Added an answer on June 4, 2026 at 3:08 pm

    Just use canonical URLs. This will solve the problem easily. You could also do a 301 redirect from the index.html to the / if necessary as that would also accomplish the same thing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have a URL that is http://www.example.com/sites/dir/index.html , I would want to extract
There is a page needs query string to trigger a function: http://www.example.com/index.html?triggerfunc After the
I want to create a single page such as this: http://www.mywebsite.com/special/index.html But anything in
Given: Url - http://www.contoso.com/search.php?q= {param} returns: -html- --body- {...} ---div id='foo'- ----div id='page1'/- ----div
As stated here : http://codeigniter.com/user_guide/general/cli.html A page like : http://www.example.com/myController/myFunc/myParam can be run on
URL url = new URL(http://www.example.com/comment); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setDoOutput(true); connection.setRequestMethod(POST); Is connection.setRequestProperty(key,
Is this a valid http url http://www.example.com?x&y or we must always have = sign
Is it possible to re-write (Apache Mod-Rewrite) a URL from this: http://www.example.com/view.php?t=h5k6 to this
I have URL scheme for my blog like this: http://www.example.com/%YEAR%/%MONTH%/%CATEGORY%/%POST_TITLE%/ Now i want to
H Regarding this URL http://www.codeproject.com/KB/aspnet/FlashUpload.aspx User.Identity as System.Web.Security.FormsIdentity is always null, because the Identity

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.