重定向问题,由于重写错误而不断向url添加字符串

I have a link: /oldlink/ that needs to be directed to /oldlink/general but if I do this code in my htaccess there is an infinite loop because it keeps adding /general/general/general behind my URL.

Redirect 301 /oldlink/ /oldlink/general/

Is there some kind of code I can add to let it stop adding extra string to the url? Maybe a rewrite instead of a redirect?

Your redirect pattern also matches the destination url. You need to use RedirectMatch instead of Redirect directive to avoid the loop error

RedirectMatch ^/oldlink/?$ /oldlink/general/