Page 1 of 1

Content Type: Redirecting link

Posted: Fri Jul 12, 2024 10:37 am
by johnboyuk1
Content Type: Redirecting link

Does this show as a 301 or a 302 redirect? Ive been told my links are showing as 302, is there anyway of setting them so they show as a 301?

I've put in a bunch of redirects via the content manager using this

Many thanks !

Re: Content Type: Redirecting link

Posted: Fri Jul 12, 2024 11:57 am
by creopard
CMSMS redirects are of type 302 by default.

If you want 301 redirects, the easiest approach is to put that in the .htaccess file, e.g.

Code: Select all

Redirect 301 /dir/oldpage.htm /newdir/newpage.htm
or if you don't have a ".htm" extension

Code: Select all

Redirect 301 /dir/oldpage /newdir/newpage
That way, search engines will know that this is a permanent redirect.

Re: Content Type: Redirecting link

Posted: Fri Jul 12, 2024 12:34 pm
by johnboyuk1
ok, thanks - its easier to do in CMSMS for my content editors (who wouldn't be able to edit an htaccess file) ... is there any way of changing the CMSMS redirect type somewhere? even if it means changing a core file I guess...

Re: Content Type: Redirecting link

Posted: Fri Jul 12, 2024 12:41 pm
by creopard
Maybe that plugin still works in CMSMS v2.x:

http://dev.cmsmadesimple.org/projects/redirectpage301

Re: Content Type: Redirecting link

Posted: Fri Jul 12, 2024 12:56 pm
by johnboyuk1
Yeah, just found that but was a bit worried to install it in case it doesnt work and breaks the site ;D
thanks