-
As i am new to the rankmath plugin, i was working on my technical seo. while i couldn’t redirect my non www page to www page. As you mentioned in the documantation i applied instructed code on .htaccess . its is not working , i need rank well on seo, please help me to fix this
-
Hello,
Backing up the WordPress is necessary as editing .htaccess file may make the website inaccessible. Though editing with Rank Math editor, it’s safe, but we cannot take any risk when we are editing .htaccess file.
Please do take the backup and then share the details.
We really look forward to helping you.
Thank you
Sure, I will edit the file as said above. thank you for the response.
Hello,
The changes has been done and now all the URL are redirecting to www version.
https://i.rankmath.com/i/xujusGPlease don’t hesitate to let us know if you need our assistance with anything else.
Thank You
Dear team,
Its been a long time trying to solve my issue, i appreciate your efforts, but still the issues hasn’t solved. even after giving access to my website. Kindly check before leaving the website if it is working. Here is screenshot of your seo analyzer, one of the major error i got is non www hasn’t been redirected to www. i am tired of sending screenshots and writing to you. I hope you understand and fix this issue right away this time.
Awaiting your response. As i need this to solve by today. Please help me to fix this
Hello,
We would require FTP / cPanel access to be able to make the changes.
I’ve made the edits whatever possible from the WordPress dashboard.Please share the FTP / cPanel detail or even better you can ask hosting provider to do the changes at the server level.
Please don’t hesitate to let us know if you need our assistance with anything else.
Thank You
I have hosted in easywp in namecheap. it has no cpanel or fttp access. Do you have any idea to fix in there?
Hello,
As there’s no FTP / cPanel access, I would suggest posting a question to Namecheap. They can easily modify the htaccess rule from the server level.
Hope it helps.
Thank you
Alright, let me check with them. i am talking to the customer service
As you suggested i have contacted the customer service of namecheap and figured it our that easywp (my hosting) doesn’t have .htaccess, instead it has Nginx server. They suggested me to ask you the code for Nginx server and to provide them they will do it from there! Kindly send that code for Nginx server and please find the screenshot of the chat i had with customer agent for the confirmation
Awaiting for the code of Nginx. Kindly forward it soon to fix this problem as soon as we can.
Hello,
The code should be:
server { listen 80; server_name example.com; return 301 https://www.example.com$request_uri; }Source: https://serverfault.com/questions/624848/redirect-non-www-to-www-over-ssl-with-nginx
Please do tell Namecheap about what you’re trying to achieve as they might have some already laid out rules for these types of request.
Hope it helps.
Thank you
hii
Hello there! As i have contacted my server team, they have told even if the code they will put on the server it is only for temporary according to architecture of easywp, so they have suggested me to install one plugin called insert header and footer by wp, and to paste some code over the header to solve this issue permanently. here is the code of it. I am not sure, if the rank math is compatible with this plugin
hello there! After installing that plugin the site has been redirected to www but in seo analyzer still the issues can be seen, i don’t understand what is the problem here even after doing all this.
The ticket ‘My non www page is not redirecting to www page’ is closed to new replies.