The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Why do some URLs for a specific client have "/index.shtml"?

    Why do some URLs for a specific client have "/index.shtml"?

    Technical SEO Issues
    3 3 173
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FranFerrara
      FranFerrara last edited by

      Reviewing our client's URLs for a 301 redirect strategy, we have noticed that many URLs have "/index.shtml." The part we don'd understand is these URLs aren't the homepage and they have multiple folders followed by "/index.shtml" Does anyone happen to know why this may be occurring? Is there any SEO value in keeping the "/index.shtml" in the URL?

      1 Reply Last reply Reply Quote 0
      • Travis_Bailey
        Travis_Bailey last edited by

        It sounds like there's a problem with the .htaccess file. There's a lot of potential negatives to the situation. One of those is duplicate content.

        Find out if the potential duplicates are indexed. Perform a link audit for those pages and 301 or 410, depending upon value. I'm not a big fan of 'excessive' 301 redirects, so knowing nothing else about the situation I would err on the side of 410s.

        1 Reply Last reply Reply Quote 0
        • customerparadigm.com
          customerparadigm.com last edited by

          SHTML is an old-school way to use SSI (server side includes) in what is otherwise a static HTML page.
          Stack Overflow talks about this in more detail here:
          http://stackoverflow.com/questions/519619/what-is-shtml

          Web servers know that if the page is .shtml, then it's okay to run inline php code, for example.

          My guess is that your .shtml files are older remnants of SSI files.

          I'm not a big fan of changing URLs just to clean up things, because if you change links you will need to use a 301 redirect, and that will keep about 85% of the SEO value of the original link.

          If you do want to use inline php code on .html pages, I agree with Travis, above. You can modify your .htaccess file with:

          addhandler x-httpd-php5-cgi .htm
          addhandler x-httpd-php5-cgi .html

          (This will allow you to run php in static HTML files, without having to change the file extension to .php)

          Hope this helps!

          • Jeff
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Home Page Being Indexed / Referral URLs /
            Andrew-SEO
            Andrew-SEO
            0
            2
            44

          • Http:// vs Https:// in Og:URL
            ThompsonPaul
            ThompsonPaul
            0
            6
            637

          • Duplicate pages with "/" and without "/"
            Nigel_Carr
            Nigel_Carr
            0
            3
            127

          • Hey all -- ever seen a client with URLs that keep repeating the domain? Something like: client.com/client.com/client.com/subfolder-name. Any idea what glitch could cause that?
            rjonesx. 0
            rjonesx. 0
            0
            5
            103

          • If I want clean up my URLs and take the "www.site.com/page.html" and make it "www.site.com/page" do I need a redirect?
            Booj
            Booj
            0
            4
            113

          • WordPress - How to stop both http:// and https:// pages being indexed?
            Dr-Pete
            Dr-Pete
            0
            4
            1.9k

          • URL Structure "-" vs "/"? Are there any advantages to one over the other?
            RyanKent
            RyanKent
            0
            5
            920

          • "/" at the end of a URL
            RyanPurkey
            RyanPurkey
            0
            2
            938

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy