Viewing 1 replies (of 1 total)
  • Hey, you could try adding this to your .htaccess file.

    I would advise trying commenting out any other redirects to prevent any redirect loops.

    #Redirect from old domain with subdirectory to new domain w/o subdirectory including full path and query string:
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/subdirname/(.*)$
    RewriteRule ^(.*) https://www.katcode.com/%1 [R=302,NC]
    • This reply was modified 2 years, 6 months ago by gytisp.
Viewing 1 replies (of 1 total)
  • The topic ‘Multisite to Single Site Redirect issues’ is closed to new replies.