Welcome Guest, Not a member yet? Register   Sign In
Database driven routing (301 and 302)
#1

Hi,
Basically i want to have a section in the backend where i can set redirect ourselves
so instead of using static values from routes.php i want to have it in a database table
also we need the option to set a permanent(301) vs temporary(302) redirect.

For this i create a table status_code with
id
old_url
new_url
status_code.
Now i want this routing to happen by database but i am unaware how exactly implement this.
Can anyone here help me to achieve this?
thanks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB