Results 1 to 10 of 10

Thread: forwarding with .htaccess

  1. #1
    I am straight, but my ass is gay jIgG's Avatar
    Join Date
    Oct 2003
    Posts
    2,081

    forwarding with .htaccess

    i lost the code for it

    i want to forward users when they land on a certain page to another page, or if i removed the page instead of showing 404 to take them to the right one


  2. #2
    Words paint the real picture gaystoryman's Avatar
    Join Date
    Apr 2004
    Location
    western canada
    Posts
    2,151
    Redirect 301 /directory/page.htm http://www.mydomain.com/page.html
    Webmasters: Add Custom Stories To Your Sites Custom Gay Stories

    My Blogs Gay Talk, Free Gay Fiction, Erotic Fiction Online


  3. #3
    Registered User MWCren's Avatar
    Join Date
    Oct 2004
    Location
    Upstate NY
    Posts
    460
    Add the following meta tag to your old page name and put the URL you want it to go to.

    meta http-equiv="Refresh" content="0; url=YOUR URL HERE"

    You've gotta put the < and > around it, but I had to take them out cuz the page kept reloading. LOL


  4. #4
    On the other hand.... You have different fingers dirtygeek's Avatar
    Join Date
    Oct 2003
    Location
    West Hollywood, Ca
    Posts
    2,490
    I don't know that I would use the javascript to redirect things. Search engines tend to think that your trying to pull something.
    You'll get more with a kind word and a 2 by 4 then you'll get with just a kind word.



    Stunner Media Presents 8 great programs:
    IndieBucks | StandAhead | BoyCrushCash | Phoenixxx | <a href="http://hunkmoney.com/">Hunk Money</a> | <a href="http://nats.britishbucks.com/">British Bucks</a> | <a href="http://nats4.emoprofits.com/">Emo Profits</a> | <a href="http://latinobucks.com/">Latino Bucks</a>


  5. #5
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    Jigg,

    There are also a couple of tutorials in that section of the community forums, do a search for 'htaccess' and you should find a few different options that will assist you with this

    Regards,

    Lee


  6. #6
    chick with a bass basschick's Avatar
    Join Date
    Nov 2003
    Posts
    7,922
    here's what i use.



    PHP Code:
    <HTML>
    <
    HEAD>
    </
    HEAD><meta http-equiv="Refresh" content="0; URL=http://www.thewebsideyoureforwardingto.com/page.htm">
    </
    html


  7. #7
    The Prince of Dorkness Jasun's Avatar
    Join Date
    Jan 2005
    Location
    West Hollywood
    Posts
    2,283
    Basschick.. I edited your post... it was actaully working so well that it was forwarding thispage to thewebsiteyouareforardingto.com

    hee hee


  8. #8
    chick with a bass basschick's Avatar
    Join Date
    Nov 2003
    Posts
    7,922
    thanks! it did seem to be working a trifle TOO well


  9. #9
    On the other hand.... You have different fingers dirtygeek's Avatar
    Join Date
    Oct 2003
    Location
    West Hollywood, Ca
    Posts
    2,490
    I found this site that might help you guys with htacess stuff. http://www.htmlbasix.com
    You'll get more with a kind word and a 2 by 4 then you'll get with just a kind word.



    Stunner Media Presents 8 great programs:
    IndieBucks | StandAhead | BoyCrushCash | Phoenixxx | <a href="http://hunkmoney.com/">Hunk Money</a> | <a href="http://nats.britishbucks.com/">British Bucks</a> | <a href="http://nats4.emoprofits.com/">Emo Profits</a> | <a href="http://latinobucks.com/">Latino Bucks</a>


  10. #10
    I am straight, but my ass is gay jIgG's Avatar
    Join Date
    Oct 2003
    Posts
    2,081
    spanks all

    im gona test it tomorrow

    Yahoo bumped me to #3 on a good phrase but fucking engined spydered a dead page :bomb:


Posting Permissions

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