redirect happening on every link
-
redirect happening on many pages and due to .htaccess permalink i believe
like when you click on installed plugins page
i want to fix that, most likely need to update the .htaccess file to postname structure
WP.com: Yes
Jetpack: Yes
Correct account: YesThe blog I need help with is: (visible only to logged in users)
-
If you are using the WP.com Business plan, you can use any File Manager plugin or the Htaccess File Editor plugin (https://wordpress.org/plugins/wp-htaccess-editor/) to make changes to the .htaccess file.
You can delete the existing code and use the following default .htaccess code to avoid any redirect issues.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressGive it a try and let me know how that goes! 😄
-
Hi @faisalahammad Sites on WordPress.com do not use htaccess files per: https://wordpress.com/support/php-environment/#can-I-access-htaccess
It’s worth checking the name servers for the site that is being reported to confirm if it’s pointing traffic to WordPress.com name servers or IP addresses. In this case your answer will not help users hosted on WordPress.com managed hosting.
DNS can be confirmed by using a tool like this: https://www.whois.com/whois/tippytown.com
Thanks!
- The topic ‘redirect happening on every link’ is closed to new replies.