deleting 301 redirect

Re: deleting 301 redirect

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

Still uncertain but .... how about checking your servers logs - especially error logs after restarting apache ... assuming you are using apache as the web server.

One last try at some info: https://airbrake.io/blog/http-errors/301-moved-permanently

In the config files for apache (domains/sites in cPanel - I guess) look for a  'Rewrite' rule ... here's an example of one:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^somehost.com
RewriteRule ^/(.*)$ http://www.somehost.com/$1 [L,R=301

Could also be in an .htaccess file

If one removed the above from config, apache service would have to be restarted for changes to take effect.

'spirit of sharing', Ken