berko

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by berko

  1. Im trying to redirect 301 hundreds of error url under some category to my homepage except certain url to 410 Gone

    domain.com/Iklan/3262                                                        >>>> should be 301

    domain.com/Iklan/3264                                                        >>>> should be 301

    domain.com/Iklan/3265/?fb_comment_id=788343724   >>>redirect 410

    domain.com/Iklan/3267??attachment_id=1082                >>>redirect 410

    I found the htaccess code after browsing in internet

    redirectMatch 301 ^/Iklan/(.+)$ https://domain.com/

    But it redirect url marked as 410 to domain.com/?attachment_id=1082  (it creates two redirect , 301 and then 410)

    And some of them are 404 ( the url above is just sample, theres hundreds of them)..im suspecting there's upper case or different char but im not sure

    I have weak eyes and i cant tell which on of the letter is using upper case

    Can anyone help me?

    Thanks