1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help making 301 redirect

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

  1. Ababba2

    Ababba2 Registered Member

    Joined:
    Feb 29, 2016
    Messages:
    90
    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 Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 17, 2013
    Messages:
    910
    Likes Received:
    527
    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:
    367
    Likes Received:
    110
    Occupation:
    SEO and PPC Consultant
    Location:
    Spain
    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