• Resolved goody317

    (@goody317)


    Hi, I am under Openlitespeed server and I’ve just installed Yoast and created a few redirects. However nothing seems to work? I check my htaccess and this is how it looks:

    ### Rewrite Rules Added by CyberPanel Rewrite Rule Generator

    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

    ### End CyberPanel Generated Rules.

    # BEGIN LSCACHE
    # END LSCACHE
    # BEGIN NON_LSCACHE
    # END NON_LSCACHE

    # BEGIN WordPress
    # The directives (lines) between “BEGIN WordPress” and “END WordPress” are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^/index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter goody317

    (@goody317)

    I’ve just tried with Rankmath as well but no redirections thus far.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    But how does Yoast do for redirection ?

    use .htaccess ?

    because I don’t see any rewrite rule for redirection

    if it is dynamic redirection , did you purge cache ?

    Best regards,

    Thread Starter goody317

    (@goody317)

    Yes via .htaccess, same for Rankmath. Is this something on server side that I need to enable?

    Plugin Support qtwrk

    (@qtwrk)

    If it is using .htaccess

    then for OpenLiteSpeed, you need to restart it in order to load new content from .htaccess

    Thread Starter goody317

    (@goody317)

    Hi, yes I have done that many times today but that doesn’t help. I believe is not giving permission to Yoast or Rankmath to write on the .htaccess the redirects? not sure at this point what is the problem :/

    Plugin Support qtwrk

    (@qtwrk)

    check ownership and permission on your .htaccess files

    are you using any of these cloud image from market like digital ocean or amazon AWS ?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m going to mark this topic “Resolved”, due to lack of activity.

    If you still need help, please feel free to re-open it.

    Best regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Yoast compatibility ?’ is closed to new replies.