Direct Links Broken After Switching To htaccess Redirect
-
As I had been enduring some performance/load issues since activating Really Simple SSL, I wanted to try the .htaccess redirect option.
I recently activated that feature, and it seemed to work smoothly. I wasn’t locked out of anything, and my pages were all loading (and a bit faster than they were on wpredirect).
However, I noticed a potential problem:
If I type the direct link to a page that isn’t in the root directory (such as articles, or the WP-ADMIN) using the https:// protocol, it is not redirecting me correctly.
My wordpress is setup as follows:
domain.com/wpdirectory/ (so the admin is at domain.com/wpdirectory/wp-admin, etc)
Now, when I type https://domain.com/wpdirectory/wp-admin it tries to redirect me to https://domain.com/wp-admin
The same happens for articles. It’s trying to drop the “wpdirectory” part of the string.
For additional context:
I have a 301 redirect that goes from domain.com to domain.com/wpdirectory. That didn’t cause any problems when I was using wpredirect, but maybe it conflicts with the htaccess option?
Please lt me know what I can do here.
- The topic ‘Direct Links Broken After Switching To htaccess Redirect’ is closed to new replies.