Problem with Redirect created by WordPress
-
Hi,
I hope this is the right place where to ask.
[ Moved to the Fixing WordPress sub-forum. ]
I had a problem with my blog so I asked the hosting provider Siteground to run some test.
Basically, if I enter any word after the domain name, the url is redirect to the article that is starting with the same letters. Instead of giving a 404.
Example:
domain.com/pub -> domain.com/public-places-blabla
domain.com/inst -> domain.com/instagram-blablaExample 404:
If there is no articles starting with the same letters, finally wordpress give a 404domain.com/ggg
404We have deactivated all plugins, and we have changed theme with a basic wordpress theme and it happens the same. So the engineer went further.
This is the answer from the Siteground engineer:
I have carefully investigated the case and the redirects seem to be core function of WordPress. To verify that, I have installed a new WordPress on my account and created a post named testing-wp-redirects. When I accessed domain.com/testing, the WordPress automatically redirected me to domain.com/testing-wp-redirect.
The redirect seem to be caused by the wp_redirect function of WordPress, however I was not able to find how to prevent them. We are experienced in dealing with various hosting-related WordPress issues, but sometimes there are issues that require deeper investigation, which includes dedicating time and effort for debugging a problem, and this is usually best done by a professional developer.
I think this is a problem right? WordPress shouldn’t redirect by himself like this. Am I wrong?
Thanks.
- The topic ‘Problem with Redirect created by WordPress’ is closed to new replies.