Help making 301 redirect

Discussion in 'White Hat SEO' started by Ababba2, Jul 16, 2016.

  1. Ababba2

    Ababba2 Junior Member

    Joined:
    Feb 29, 2016
    Messages:
    100
    Likes Received:
    5
    Hello guys.

    I need to redirect this page: mysite.com/log.asp?id=9
    to
    mysite.com/log-9

    I tried many way using .htaccess but with no success.
    Any help?
     
  2. validseo

    validseo Senior Member

    Joined:
    Jul 17, 2013
    Messages:
    917
    Likes Received:
    536
    Occupation:
    Professional SEO
    Location:
    Seattle, Wa
    if .htaccess isn't working you need to contact your hosting provider to make sure your web server is properly configured. If you think you did the .htaccess wrong there are dozens of excellent youtube videos that walk you through the process step by step. Just search youtube for htaccess redirect
     
  3. Absan

    Absan Jr. VIP Jr. VIP

    Joined:
    Dec 28, 2013
    Messages:
    454
    Likes Received:
    134
    Gender:
    Male
    Occupation:
    SEO and PPC Consultant
    Location:
    Spain
    Home Page:
    Hi! Did you check Apache status on your server? How do you write the redirect in the htaccess file?

    Try this:

    Code:
    Redirect 301 /log.asp?id=9 mysite.com/log-9