Viewing 1 replies (of 1 total)
  • Thread Starter VivBounty

    (@vivbounty)

    I have changed my .htaccess and now my error404 works on the main domain https://vivbounty.com, but https://vivbounty.com/petblog does not redirect to https://cherishmypets.vivbounty.com. Instead it goes to the error404 page.

    Here is what my .htaccess contains now:

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /vb_404.html
    Options +FollowSymlinks
    RewriteEngine On
    RewriteBase /petblog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^petblog/(.*) https://cherishmypets.vivbounty.com/$1 [R=301,NC]
    </IfModule>

    Note: I do not have a subdirectory /petblog anymore.

    What am I missing to make this redirect work and preserve permalinks from the old location?

    Appreciate kind direction.
    Thank you,
    VivBounty

Viewing 1 replies (of 1 total)
  • The topic ‘Moved Blog to Subdomain Issue with –Error 500 on main domain’ is closed to new replies.