1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

mod_rewrite help needed

Discussion in 'Apache' started by grandy, Jul 12, 2007.

Thread Status:
Not open for further replies.
  1. #1
    Hello,

    I need a small help from you guys. Whats my problem is, i was using a permalink structure for wordpress, but i m thinking to change it a bit. I m going to implement a word in the permalink. Now whats the problem is those who were linked with the old link will find 404 error page. So how can i redirect them to correct page.

    Think, my old url was like this: http://domain.com/mail-me-what-is-yahoo.htm while "what is yahoo" is the name of the post and mail-me is a static word. Now i m going to make it http://domain.com/please-mail-me-what-is-yahoo.htm , means i m going to place a static "please" word in the url. So how can i rewrite a rule which will automatically add please word in the url if its not inserted ?

    Thanks.
    Regards
     
    grandy, Jul 12, 2007 IP
  2. Im The ONE

    Im The ONE Peon

    Messages:
    800
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If u can tell me the URL in this format .php?axy=abc i can give u accurate mod_rewrite code for it
     
    Im The ONE, Jul 12, 2007 IP
Thread Status:
Not open for further replies.