Too many redirects issue on sub pages

I transfered a website from my development environment to a production environment at a different hosting provider. Since I transferred all my sub pages are returning a 301 redirect error (ERR_TOO_MANY_REDIRECTS). In addition, my archive category pages are returning a 404 error. I haven’t installed the SSL certificate. I tried the following things:

  • Deactivate plugins
  • Remove htaccess and add again
  • Remove SSL Certificate

The following .htaccess is in my root folder:

RewriteEngine on
RewriteCond %{REQUEST_URI} !web/
RewriteRule (.*) web/$1 [L]

The following .htaccess is in my web folder:

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Does anyone know how I could solve this issue?

Does your site use Trellis or Bedrock?

If not, this is probably more of a generic WordPress issue, which you might have more luck searching Stack Overflow for than here.

This topic was automatically closed after 42 days. New replies are no longer allowed.