Skip to main content

Creating 301 Permanent Redirects for Courses prior to moving to new section and new pages


  • A new section (redirects) was created in the hierarchy as below under 'courses/courses':



  • the current course section was duplicated from course/course into this new section.
  • Content needs adding to each of the sections that need to be redirected using the 'Redirects' content type.



       where URL is the full url of the new page.

  • Approve the new piece of content that you have added.
  • Update the 'Page Layout' of the section to 'Redirects' on the 'Marjon 2013' Channel




  • Publish the section on the Marjon 2013 channel- when the publish has finished the last line of the output on the screen will contain the url to test. 

  • Copy this to clipboard and append it to http://t4 to make the full url to test (in this case http://t4/courses/redirects/courses/business-management/)




  • You should be redirected to the new page url that you created in your content

-------------------------------------------------------------------------------------------------------------------------

The next steps will ONLY be completed once the redirects have been set up and the new pages exist

Once all redirects have been set up and new course pages created, all of the subject area sections in this new section will be moved up one level to the 'redirects' directory. The redirects directory will be updated as below:


In effect, this will then become the courses/courses directory and all of the old pages will be replaced with the redirects, thus retaining their integrity and any rankings via the 301 permanent redirect code.

The redirects will then be removed at a pre-agreed date in the future when no longer required.

Comments

Popular posts from this blog

December 2018 Subject Area Page - how its built in SiteManager

Model Page https://t4.net.marjon.ac.uk/webdev/dec-2018-new-designs/subject-area-page/ Page Layout The Subject area page uses the '2018 Subject Area' page layout Content  There are 14 pieces of content that make up the Subject Area Page as follows: 1.    2018 Dual Header Block - content type. Adds an information block and an image to the top of the page. Select 'Show the Social Media Icons on this slider' to show social media icons on page.  Images are 1000 x 600. 2.    2018 Who What Why Block - content type. Adds 3 columns of information to page.  3.    2018 CTA Block - content type. Adds a single call to action block to page.  4.    Output courses by level and subject - content type. Displayed courses content by both level and the subject as they are tagged as in the course content 2015 content type (x2 to display both undergrad an...

2016 Website Designs - General Page - how its built

Model Page http://beta/webdev/2016-content/general/ Page Layout The General page uses the '2016 Inner Page' layout Content  There are 5 pieces of content that make up the General page as follows: 1, 2 & 3 (must be in sequence to appear in Media Slider but can appear anywhere on a page) -  Media Slider content type Example Image (must be height of 578px) Example Embedded Video 4.  Content -  ' Two Column General Content'  content type 5.  collapsible text - ' Two Column Collapsible General Content'  content type

2016 Website Designs - Student Life - how its built

Model Page http://beta/webdev/2016-content/studentlife/ Page Layout The Student Life page uses the '2016 Landing Page' layout Content  There are 5 pieces of content that make up the Student Life page as follows: 1. Static Image -  ' Static Image'  content type -    the images from the media library (need to be 1440px x 900px) 2. text title -  - ' Textual Section Title ' content type 3.  Two Column General Content -  ' Two Column General Content'  content type 4. 3 signpost -  Three Signpost Box  content type -    the images are used are from the media library (need to be 480px x 480px) 5. 2 box signpost -  Two Signpost Box  content type    -  the images from the media library (need to be 1440px x 900px)