If you want to redirect your AddForm.aspx and EditForm.aspx page to your custom page, here is the solution.
1) Open your AddForm.aspx page in SharePoint Designer.
2) Right click on SharePoint ListForm Webpart, go to webpart properties and hide webpart.
3) Add Custom List Form from Insert->SharePoint Control.
4)Select your list name and select your form (e.g New Item Form).
5)Comment save button(
6)Insert javascript with button like (<button id="savebutton1" name="Ok" onclick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={/Subsite/Pages/test.aspx}')}" style="width: 16px;" title="Ok" value="Ok"></button>)
Or
<input name="btnSave" onclick="javascript: {ddwrt:GenFireServerEvent('__redirect={/subsite/Pages/test.aspx}')}" type="button" />
7)Save the page and check page is now redirect to your sprecified link.