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 6135787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:31:17+00:00 2026-05-23T17:31:17+00:00

I have a website with a ‘home’ link like many do and I am

  • 0

I have a website with a ‘home’ link like many do and I am wondering whether I should do:

<a href="./">Home</a>

or

<a href="index.html">Home</a>

Obviously my homepage is contained in the index.html file. I have the first option implemented right now and it seems to work, but I am not sure what the preferred practice is or if there are any drawbacks to one or the other.

I appreciate any help!

  • 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-05-23T17:31:18+00:00Added an answer on May 23, 2026 at 5:31 pm

    Using href="/" may require the browser to submit two requests. The first to "/" which is redirected at the server to "index.html". If it’s not a 302 redirect, then there may be some potential search indexing implications, though that’s subjective voodoo that may not apply.

    The other issue is if your server just returns the contents of index.html for "/". When that is true your site will have two different URLs for the same resource. Not having canonical URLs for the same reference will affect your search performance.

    While linking to "/" may offer some flexibility in that you can change it in the future, the difference between index.html and index.php is usually a significant architectural change and “future proofing” against is pointless. If you’re switching to a dynamic site in the future, you’ll be updating all your home links anyway…so no need to optimize for what won’t ever happen.

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

Sidebar

Related Questions

I have website A: http://dl.dropbox.com/u/3264697/calc/v2/index.html It is working as intended, 100%. I have website
I have a website with these menus <li><a href=#>Man</a> <ul class=sub_menu> <li><a href=mcaps>Caps</a></li> <li><a
I have website with like button and facebook page that was created manually. I
i am calling iframe on html page within it i have website url, i
i have website with text area where user pastes text which looks like this:
I have website build in php . I like the revision control system used
I have website display images, each image has its facebook-like button linked to its
I have website whose home-page's body has a class name: .homepage Inside the body
I have website, usually all looks fine but sometimes one div is on the
I have website on the server, which is not precompiled (with source code, so

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.