htaccess redirect 301 going to wrong location
-
I am in the final stages of moving an old site to WP. The WP site is live and I have been testing the redirecting of old pages to the new WP site. Some of the redirects are working correctly, but any that are redirecting from the directory tokyo are not working.
I have put Cloudflare in developer mode and flushed the cache.
Old page address: http://www.gojapango.com/tokyo/harajuku.htm
New page address: https://www.gojapango.com/places/tokyo/tokyo/district/harajuku/Code used:
redirect 301 /tokyo/harajuku.htm https://www.gojapango.com/places/tokyo/tokyo/district/harajuku/Actual redirect address: https://www.gojapango.com/location/tokyo/tokyo/harajuku.htm/
Pages in other directories work correctly, so I assume it is problem with the tokyo directory or the way WP does its own redirects.
Thank you for any assistance.
The topic ‘htaccess redirect 301 going to wrong location’ is closed to new replies.