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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:01:47+00:00 2026-06-01T13:01:47+00:00

On a site I’m working on there will be about 7 different directories. I

  • 0

On a site I’m working on there will be about 7 different directories. I use DirectoryIndex in my .htaccess to point to index.php, so you can go to site.com/menu/ or site.com/menu/index.php and get the same content and so on for the other 6 directories.

I know duplicate content is supposed to be bad. Will this cause any SEO issues, or will search engines be smart enough to understand it’s a DirectoryIndex and only index the result once?

  • 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-01T13:01:49+00:00Added an answer on June 1, 2026 at 1:01 pm

    Using DirectoryIndex is a very common practice. If done right it isn’t a problem. However it can introduce duplicate content.

    • Pick one to be “canonical”. You probably want to use site.com/menu/ as canononical. Who wants to see “index.php” in urls?
    • Never link to the non-canonical version. Instead of href=”index.php” use href=”./” Users shouln’t ever see “index.php” in the url by clicking around the site.
    • If you do that, Googlebot will probably never even know what the real name of the file is and there will be no problem. If Googlebot does start crawling urls with “default.php” in them, then use the canonical tag to tell Google which is the correct url that it should pay attention to.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

site.com/link?p=2 give $_GET['p']==2 even though i've already made site.com/link rewrite to site.com/index.php?page=link So, i'm
A site I am working on that is built using PHP is sometimes showing
Site 1 has dll's for x amount of object and data calls. Can Site
A site I'm working on has Flash headers (using swfobject to embed them). Now
Site structure: / /products /products/design /products/photo /about I want to see parent menu item
My site is almost up and running, but in the original code there are,
Site's at http://cocktail.juggernautwebsites.com/ and I'm working in the footer. I'm trying to scroll the
The site I'm working on is using the Frontpage module to redirect anon users
A site should be ready in 6 days. I am not allowed to use
The site I am working on wants to generate its own shortened URLs rather

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.