WORDPRESS NOT DIRECTING PROPERLY

CAUSES:

  • SEO URL
  • WordPress SEO Plugin
  • incorrect URL in WordPress Address URL or Site Address URL settings on general settings
  • don’t leave a trailing slash at the end of your URL like http://www.example.com/

TO RESOLVE:

  • You can simply deactivate that plugin that causing redirects by deleting that plugin’s folder from wp-content/plugins/
  • To fix the incorrect url, you need to change your WordPress Address and Site Address. Go to Settings » General, change your WordPress and Site Address. If you have your address with www prefix, then change it to non-www URL, and if you have it with non-www URL then add the www prefix.
  • To eliminate the trailing slash ,go to the address on wp-config.php file

Simply connect to your website using an FTP client. Once you are connected to your site, you will find wp-config.php file in your site’s root directory. You need to download and edit this file using a text editor like Notepad. Simply add these two lines to the file and don’t forget to replace example.com with your own domain.

1 define(‘WP_HOME’,’http://example.com’);
2 define(‘WP_SITEURL’,’http://example.com’);

Save the file and upload it back to your web server. Now try to access your WordPress site. If you still can not access your site, then try to add your domain with www prefix.

Was this article helpful?

Related Articles

Leave A Comment?