Skip to content
Advertisement

how to fix URL Resolve, 301 redirects in the htaccess file

I’m a novice and I work PHP. My professor introduced a site that gives me website problems. (woorank) My site has a problem with 301 redirects. Look at the picture below.

Click to see my problem

My problem is and I want to resolve this problem in the .htaccess file. I knew the following code answered this but was wrong

JavaScript

I wrote the above code on the first line of codes, but my problem was not resolved, I do something like this to apply in the .htaccess file.

JavaScript

Please guide

Advertisement

Answer

I am the author of the question. You can fix this using the following code in your .htaccess file:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement