Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Looking for help with 301 redirects

Featured Replies

Hey guys,

 

I'm currently in the final processes of completely redesigning and rebuilding a fairly big website. One of those last things I need to do are redirects but I could do with a little help.The main changes are moving one section from static pages to a database design.

 

This is the current site and section - http://www.foofighterslive.com/liveguide/

 

As you can see it's all static with an index page for each year and a single, static page for each show, all with a unique URL.

 

The new, database driven site will be like this:

 

www.foofighterslive.com/liveguide

www.foofighterslive.com/liveguide/year.php?year=1996

www.foofighterslive.com/liveguide/show.php?show=152

 

Since having them all redirect to the right show ID would surely be impossible what I'd ideally like to do is a have a redirect so ANY page that is currently a subpage of a year just redirects to the new year index, ie:

 

www.foofighterslive.com/liveguide/1995/1995-02-23.php

www.foofighterslive.com/liveguide/1995/1995-04-27.php

 

Would both redirect to

 

www.foofighterslive.com/liveguide/year.php?year=1995

 

And

 

www.foofighterslive.com/liveguide/2002/2002-02-07.php

 

Would redirect to

 

www.foofighterslive.com/liveguide/year.php?year=2002

 

The year pages would also be slightly different, so

 

www.foofighterslive.com/liveguide/?id=1995 > www.foofighterslive.com/liveguide/year.php?year=1995

 

The same for each year. Is that possible and if so how would I go about it?

 

Thanks

Edited by Killer

  • 2 weeks later...
  • Author

Thanks, I'll try that out shortly.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.