pritisen Posted February 16, 2017 Share Posted February 16, 2017 Hello, A month ago, on the site on WordPress completely changed the structure of the site. The .htaccess file is registered to more than 1000 redirects from the old URL to the new, not to lose traffic. Today, we installed security certificate on the site's. The .htaccess file is usually prescribed to all RLC started now with "https": RewriteEngine On RewriteCond% {SERVER_PORT}! ^ $ 443 . RewriteRule * https: //% {SERVER_NAME}% {REQUEST_URI} [R = 301, L] #N WordPress but now there is a problem of all other prescription redirects from the old URL to the new ... They were registered as follows: 301 redirect /74-xyz.html https://site.com/xyz.html 301 redirect /personal_page/personal_page.html https://site.com/personal_page.html etc. But now all these rules do not work .... If you try to go to the old kind of link - http://site.com/74-xyz.html , instead of forwarding the page https://site.com/xyz.html where Now there is an article in the address just added "s" and a link ceases to type http s : //site.com/ and get a 404 error. I tried in the .htaccess file to register the full addresses of links, like so: 301 redirect http://site.com/74-xyz.html https://site.com/xyz.html but also does not redirect to the new page, just add "s" ... It turns out that in any way I will not be able to set up a 301 redirect from the old address to the http URL to the new modified so even with https? Or is there any options? Thanks in advance for your help and sorry if I have shared my problem in wrong section. Quote Link to comment Share on other sites More sharing options...
TCH-Marshal Posted February 16, 2017 Share Posted February 16, 2017 Hi Priti, Https or secure url on Wordpress is a tricky thing especially when you have additional redirects on htaccess because Wordpress urls are mostly hard coded in databases with specific redirect requests in htaccess. Secure url for Wordpress can be best achieved by using additional plugins they offer purposely for this. There are many documentation and tutorials available in Worpdress support forums which you can refer about this. I would suggest you try any of those plugins or else if you wish we specifically take a look into this, open a helpdesk request with all details of your hosting account and we will advise you. 1 Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted February 17, 2017 Share Posted February 17, 2017 Welcome to the forum, pritisen. 1 Quote Link to comment Share on other sites More sharing options...
pritisen Posted February 17, 2017 Author Share Posted February 17, 2017 Hi Priti, Https or secure url on Wordpress is a tricky thing especially when you have additional redirects on htaccess because Wordpress urls are mostly hard coded in databases with specific redirect requests in htaccess. Secure url for Wordpress can be best achieved by using additional plugins they offer purposely for this. There are many documentation and tutorials available in Worpdress support forums which you can refer about this. I would suggest you try any of those plugins or else if you wish we specifically take a look into this, open a helpdesk request with all details of your hosting account and we will advise you. Thanks Marshal. Will try using some plugin to get this fixed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.