SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with a redirect

    I need a simple redirect in .htaccess file

    from:

    http://www.mydomain.com/search.aspx?...rner+tv+stands

    to:

    http://www.mydomain.com/tv-stand/corner-tv-stands.aspx

    Any help? Thank you!

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,671
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    cala,

    Welcome to SitePoint!

    I've asked the mods to move your post to its own thread.

    With the information you supplied, I'm not sure that your redirection can be made - even if it's done in the correct direction (which you've misstated).

    You might benefit from reading the mod_rewrite tutorial linked in my signature as it contains explanations and sample code. It's helped may members and should help you, too. Then, if you still have questions, please come back as I do make sure that noone leaves without the answer they need.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


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
  •