How to resolve cycle redirect in WordPress after domain name was changed?

I’ve had a website on wordPress. Lets say olddomain.com/test/wordpress and everything was ok. Additionaly I would like to mention that I had Search enginme friendly URLs (I think it’s important).

After i moved my website to newdomain.com/wordpress and put in admin bew domain name, I also put some changes in .htaccess file:
HERE WHAT I’VE HAD
# BEGIN WordPress

RewriteEngine On
RewriteBase /test/wordpress/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /test/wordpress/index.php [L]

# END WordPress
HEREW WHAT I HAVE NOW
# BEGIN WordPress

RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]

# END WordPress

After I’ve done all the above, I have the following: home page and admin are working. Pictures are showing. All other pages are in error 500

Here are Apache server Logs: [Sat Feb 15 17:31:39 2019] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: newdomain.ru/wordpress

how to fix this issue, please help!

Advanced Web Care Professional Web Development

Here is the right solution:
1. In the dump file create the following:  search & replace olddomain.com/test/wordpress => newdomain.com/wordpress (just doing it only for siteurl and home page  is not enough)
2. Now you can fix your .htaccess or you can  renew urls rules from admin panel

CONTACT US