2017 © Pedro Peláez
 

project php301mapper

Maps an array of key val pairs to 301 redirects

image

gkimball/php301mapper

Maps an array of key val pairs to 301 redirects

  • Thursday, February 23, 2017
  • by yourlocalwebmaster
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Installation

Include the Php301Mapper class to your header file. Add the following to the top of your 404 loader page., (*1)

$redirects = [
    '/index.php?page1OLD' => '/index.php?page1NEW',
    '/index.php?page2OLD' => '/index.php?page2NEW',
    '/index.php?page3OLD' => '/index.php?page2NEW',
];

MapFactory::Mapper($_SERVER['REQUEST_URI'],$redirects)->run();

Dev Installation

composer install, (*2)

The Versions

23/02 2017

1.0

1.0.0.0

Maps an array of key val pairs to 301 redirects

  Sources   Download

The Development Requires

by Grant Kimball

redirection redirect 301 .htaccess

23/02 2017

dev-master

9999999-dev

Maps an array of key val pairs to 301 redirects

  Sources   Download

The Development Requires

by Grant Kimball

redirection redirect 301 .htaccess

22/02 2017

dev-dev

dev-dev

Maps an array of key val pairs to 301 redirects

  Sources   Download

The Development Requires

by Grant Kimball

redirection redirect 301 .htaccess