No announcement yet.

Removing suffixes

  • Filter
  • Time
  • Show
Clear All
new posts

  • Removing suffixes

    Hey guys!

    I've been asked to research into removing the suffixes from domain name url's. I honestly can't remember how to do this, feel I've lost my bloody memory!

    How do I remove the suffixes from the end of domain name pages again, like .html for example?

    Many Thanks!!!

  • #2
    there are several ways to do it.

    if your site is just html -- not php or .NET, you can simply make folders inside your root directory for each page you want.

    for instance, if you have a 3 page site consiting of a homepage, an about page, and a contact page:

    homepage is index.html in the root folder
    there is an "about" folder in the root folder
    inside of the "about" folder lives it's own "index.html"
    this will make it so that it is
    the same goes for /contact/ -- a folder inside of the main root folder named "contact" with it's own "index.html" inside of that.

    if you are using PHP or .NET however, it is different. you can google search "php clean urls" or " clean urls" for more information on those, but here is a pretty comprehensive PHP clean urls tutorial using mod_rewrite:


    • #3
      You can do the folder trick with PHP or ASP. The problem I have with this is it's easy to get confused in your text editor when all your files are named index.php.
      Swedish Meatball Pornography


      • #4
        You can do with the htaccess file.
        “Pain is temporary. Quitting lasts forever.” Lance Armstrong






        Latest Topics


        • Buda
          Indesign hyperlinks - PDF not working on Android and some PC.
          I have an Indesign file with hyperlinks throughout. Saved as an Interactive PDF.

          I've emailed the PDF to myself and have tested on my mac and on a PC. Links are working fine.

          Today, 09:12 PM
        • PrintDriver
          Reply to Graphic Design in the 2010s...
          This is actually exactly my point. Are graphic designers leaving the physical world behind because they view it as ''construction''?
          Is the physical world limited to simple wayfinding? Or is a graphically...
          Today, 07:47 PM
        • PrintDriver
          Reply to Illustrator Pen Tool vs Brush Tool
          Illustrator has added a bunch of new drawing tools that make taking an illustration from sketch to vector art a lot easier than just using the old pen too method.

          My new favorite is actually...
          Today, 07:27 PM
        • Buda
          Reply to Freelance
          Hi getgraphix and welcome to GDF.

          We ask every new member to read the threads posted HERE, particularly this thread to get acquainted with how things work on GDF. They will explain how...
          Today, 06:03 PM
        • Buda
          Reply to Illustrator Pen Tool vs Brush Tool
          Are you able to post a screenshot close-up of the scan and your brush tooled lines? It would be good to see the quality of line you're achieving.

          I don't use the brush tool based on personal...
          Today, 05:59 PM

        Incredible Stock
        GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright © 2016 Mediabistro Holdings