SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Graphic Designer silver trophy Dache's Avatar
    Join Date
    Aug 2005
    Location
    Switzerland
    Posts
    149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Url rewrite queries

    Hello all,

    I have been collecting ressources this weekend on all I can find about url rewritting, .htaccess files etc.
    I havent found a site with a learning curve, with info for beginners ( never touched code in his life, like me ) to expert. They all just start complicated. Im still ambitious to learn how to url rewrite that said. If you know of a site or something Id like to know.

    Im looking to learn because I want to modify certain parts of my site, I would like to ask some questions:

    Are these changes possible and if so estheticly interesting

    www.example.com/folder1.html --> http://www.example.com//folder1

    www.example.com/folder1a.html --> http://www.example.com//folder1//folder1a

    http://www.example.com/ --> www.example.com or even example.com

    I'd appreciate any help, thankyou.
    | identity | print | webdesign | typography |
    | My portfolio www.dache.ch |
    | Contact : email |

  2. #2

  3. #3
    Graphic Designer silver trophy Dache's Avatar
    Join Date
    Aug 2005
    Location
    Switzerland
    Posts
    149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Double slashes is to match my sig, and a certain way my site looks. Is it too avant garde?
    Thanks for all those links, I've got about half of them on my url rewrite favourites. Thanks for your quick reply.
    Pity about the protocol though, I thought there was a way around that one.
    | identity | print | webdesign | typography |
    | My portfolio www.dache.ch |
    | Contact : email |

  4. #4
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're welcome

    You could try using double slashes, but there is no guarantee that it would work in all browsers. I would not risk it.

    The default protocol for most web browsers is HTTP, so you don't always have to type it in, however, it should always be specified in links on a web page.

    Also, I should warn you that Apache 1.3.x and 2.x handle mod_rewrite a little differently.
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.

  5. #5
    Graphic Designer silver trophy Dache's Avatar
    Join Date
    Aug 2005
    Location
    Switzerland
    Posts
    149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interesting, well thanks again for the warnings and the info.

    Regards,
    Dache
    | identity | print | webdesign | typography |
    | My portfolio www.dache.ch |
    | Contact : email |


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •