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

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

  • <b>
    Reply to How to choose a scanner?
    <b>
    I agree, the Canoscan is a good scanner -- especially for the price. I've bought a couple of Epson Perfection V700 Photo Scanners for work, and would do so again if they're still made. They've been very...
    Today, 03:54 AM
  • PanToshi
    Reply to [ Logo Critique ] Period or not at the end of the tagline?
    PanToshi
    Adding my vote for keeping it.
    Today, 03:31 AM
  • PanToshi
    Reply to Glad to Be Here Now!
    PanToshi
    Welcome to GDF Tess

    We ask all new members to read the very important links here and here. These explain the rules and how the forum runs. No, you haven't done anything wrong, we ask every...
    Today, 02:44 AM
  • PanToshi
    Comment on Where do you find talent?
    PanToshi
    Yep, like I said, freelancers who are hoping to work full-time for the company for which they are occasionally freelancing are unemployed designers who are freelancing until they find full-time work.
    Today, 02:40 AM
  • MichaelWied
    Comment on Where do you find talent?
    MichaelWied
    The "freelancers" are basically there to be called in if a big project comes up and they need the extra hand, and these are designers hoping to get a full time spot at the company.
    ...
    Today, 01:51 AM
Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

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 © 2014 Mediabistro Inc. call (212) 389-2000 or email us
        Working...
        X