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

  • vaprarts
    Reply to Logo for a supplement company
    vaprarts
    I feel the colors seperate the image losing the dumbell look from being the instant thought.. I think you would have better luck if you made the weights be different sizes. I feel this would show a dumbell...
    Today, 03:58 AM
  • vaprarts
    Reply to Logo motorcycle magazine
    vaprarts
    I am somewhat in your target audience. I ride, i enjoy cafe racers, ive even heard of the company and been on their site once or twice. The thing about cafe racers are they believe "less is more"...
    Today, 03:52 AM
  • hrs.lidra
    Reply to Can you comment and critique my portfolio
    hrs.lidra
    thanks for the suggestion momoshy, i do use black transparrent BG, so it should be readable, but i think im going to make it more visible. Are you a webdesigner either?...
    Today, 03:37 AM
  • skribe
    Reply to hyperlinking multiple images with php
    skribe
    Your welcome! What you are doing is one way I learned php. I wanted to be able to make Wordpress do more, so I started experimenting, and reading through the both the Wordpress functions reference, and...
    Today, 12:38 AM
  • dotta
    Reply to hyperlinking multiple images with php
    dotta
    Thank you very much. Come to find out there was an element in my first code that stretched over the next button causing it to return to the first page. I will still try the php examples you gave me; I...
    Today, 12:02 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.
        Working...
        X