Content Type: Redirecting link

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
johnboyuk1
Forum Members
Forum Members
Posts: 235
Joined: Mon Nov 26, 2018 3:09 pm

Content Type: Redirecting link

Post 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 !
User avatar
creopard
Forum Members
Forum Members
Posts: 93
Joined: Fri Nov 10, 2017 10:25 am
Contact:

Re: Content Type: Redirecting link

Post 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.
johnboyuk1
Forum Members
Forum Members
Posts: 235
Joined: Mon Nov 26, 2018 3:09 pm

Re: Content Type: Redirecting link

Post 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...
User avatar
creopard
Forum Members
Forum Members
Posts: 93
Joined: Fri Nov 10, 2017 10:25 am
Contact:

Re: Content Type: Redirecting link

Post by creopard »

Maybe that plugin still works in CMSMS v2.x:

http://dev.cmsmadesimple.org/projects/redirectpage301
johnboyuk1
Forum Members
Forum Members
Posts: 235
Joined: Mon Nov 26, 2018 3:09 pm

Re: Content Type: Redirecting link

Post 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
Post Reply

Return to “CMSMS Core”