Frontend Tips: Use Relative Paths Whenever Possible
Imagine your page look like this
- /blog/1/category // list category page - /blog/1/category/create // category create page - /blog/1/category/edit/1 // category edit page Based this structure of your page, you should handle redirect to each page, then your code would be like this: