1

I want to redirect http://example.com/folder1/page1/ to https://example.com/folder1/page1/. In simple 301 redirect plugin in the request part I should write: /folder1/page1/.

In the destination I may write /folder1/page1/. Here is the problem. Wouldn't it cause redirect loop since both of the URLs are the same for the plugin?

Also for the homepage redirect should I write /?

1

Wouldn't it cause redirect loop since both of the URLs are the same for the plugin?

Yes. If you want to redirect from HTTP to HTTPS then you need to specifically check the protocol by which the site has been accessed. This is not part of the URL path.

Also for the homepage redirect should I write /?

Yes.

  • The basic concept of redirect plugin is to take care for 404 pages, or if pages are moved from one directory to another. You can then specify a 301 redirect. Ideally, if you wanna change the http protocol, then it is better to provide the redirect at your cPanel hosting. The plugin won't be suitable for doing this. For more details, you can reach out to your hosting provider about how to configure http:// to https:// redirect. – Bhargav Joshi Nov 3 '18 at 0:10

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.