Announcement Announcement Module
Collapse
No announcement yet.
Removing suffixes Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Latest Topics Latest Topics Module
Collapse

  • frutiger
    Wide Format Printer
    frutiger
    Hi everyone. The boss and I are trying to decide on a wide format printer. I haven't priced printers in years, but I know years ago that Epson was the top choice for graphic pros. Are they still? We can't...
    Today, 12:58 PM
  • DonPig
    Reply to wedding invitations
    DonPig
    Hello Aubrie

    If this invitations are gona be printed, I suggest that you go for a little more contrast in the colours, as well as a heavier weight in the font, as when you print it the...
    Today, 12:03 PM
  • KitchWitch
    Reply to Rookie here - can someone explain this picture
    KitchWitch
    Hi Nba and welcome to GDF.

    We ask all new members to read very important links here and here. These explain the rules, how the forum runs and a few inside jokes. No, you haven't done anything...
    Today, 11:45 AM
  • KitchWitch
    Reply to Hi from Spain
    KitchWitch
    Hi Imlio and welcome to GDF.

    We ask all new members to read very important links here and here. These explain the rules, how the forum runs and a few inside jokes. No, you haven't done anything...
    Today, 11:44 AM
  • KitchWitch
    Reply to wedding invitations
    KitchWitch
    Hi Aubrie and welcome to GDF.

    Just post your second design in this post, so everyone can comment here and not have to go between posts.

    We ask all new members to read very important...
    Today, 11:44 AM

X
Conversation Detail Module
Collapse
  • 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!!!
    Diego

  • #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 www.yoururlhere.com/about
    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 "asp.net clean urls" for more information on those, but here is a pretty comprehensive PHP clean urls tutorial using mod_rewrite: http://wettone.com/code/clean-urls

    Comment


    • #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

      Comment


      • #4
        You can do with the htaccess file.

        http://gabriel.zeropeople.com/2009/0...with-htaccess/

        http://www.google.com/#hl=en&source=...9ff31901b811ad
        “Pain is temporary. Quitting lasts forever.” Lance Armstrong

        Comment

        Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2015 Mediabistro Inc.
        Working...
        X