Skip to content

A simple class that takes a csv file and outputs a txt file with 301 redirects in mod_rewrite compatable format. (also matches/strips get variables)

Notifications You must be signed in to change notification settings

NinjaBanjo/csvToRedirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This is a PHP class whose purpose is to take a csv file with 2 columns [from uri, to uri] respectively and parse/clean the urls and output a .txt file containing the syntax for 301 redirect using Apache mod_rewrite (typically for use in a .htaccess file)

This class is still personalized, but with slight modification can be addapted to be used for any situation.

About

A simple class that takes a csv file and outputs a txt file with 301 redirects in mod_rewrite compatable format. (also matches/strips get variables)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages