Skip to main content

Redirect Links

Buttons, menus, and category entries all may need a link. The most important rule: confirm the target page actually exists before putting the link into a module.

The flow​

Set the Target in a module​

Open the page designer and select a button, menu, or module. In the right-hand properties panel, find Target, choose Custom, then enter the path.

For example, to go to the OEM page:

/oem

AllinCMS designer Target setting - in the right panel, Target is set to Custom with /oem entered, used to set a button or menu link

A page link must match a real route. If you've created /oem, enter in the menu:

/oem

Don't guess links. Check existing page addresses in the Routes list.

AllinCMS designer menu link - the nav menu Target is set to Custom with /oem, used to make the menu jump to a created page

Don't hand-guess category links. On the front-end product page, click the specific category and copy the path from the browser address bar.

Example:

/products?category=wireless-earphones

Back in the designer, paste that path into the module or menu Target.

AllinCMS front-end category page - clicking a category shows the /products?category= parameter in the address bar, used to copy the category link

AllinCMS category link setting - the designer panel takes /products?category=fenlei1, used to make a menu jump to a specific category

Troubleshooting 404s​

If a click shows a 404, first check the link for typos.

A common mistake:

/product

The correct product list page is usually:

/products

One missing s is a completely different page.

AllinCMS 404 example - the page shows Not Found, meaning a menu or button pointed at a path that doesn't exist