Announcement

Collapse
No announcement yet.

Removing suffixes

Collapse
X
  • 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

        Search

        Collapse

        Advertisement

        Collapse

        Latest Topics

        Collapse

        • HotButton
          Comment on CS6 vs. Creative Cloud
          HotButton
          Ack. I meant ''I have NO plan...''
          Today, 01:36 PM
        • HotButton
          Comment on Jesus Tank
          HotButton
          ''I imagine that kind of controversy is his boss's decision.''

          To some extent I agree, but just because someone has managed to become a ''boss,'' that doesn't mean he can't be wrong, or that...
          Today, 01:33 PM
        • salsa
          Reply to Jesus Tank
          salsa
          I get the whole "armor of God" analogy, but anyone not read up on Ephesians is going to think it's just promoting warfare. It's a better concept for an internal publication rather than on a...
          Today, 01:33 PM
        • salsa
          Reply to Publication design pricing for loyal client
          salsa
          I can't and won't give you my prices, but I do charge a flat rate per page when I do magazine layouts like you do. I think what you need to do is figure out what you're making per hour and what you'd...
          Today, 01:23 PM
        • bigdata
          Comment on CS6 vs. Creative Cloud
          bigdata
          Ditto.
          Today, 01:15 PM

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