0

You see I have a Navigation bar items, in the parent item Products & Services with two sub menus.

redire

I have a requirement, when I click the menu item Products & Services it redirect to its sub-menu Dedicated Servers.

How can I do with this?


EDIT-01

I only want the Products & Services parent have this redirect, the other parent do not need, such as Home, Advantage they all have their own page.

2 Answers 2

0

Source

In the wp-admin under menus you just have to replace the ‘#’ with the url for the parent item.

2
  • 1
    can you explain more how to do with this? what's the wp-admin under menus ? and how to replace the ‘#’ with the url ?
    – 244boy
    Nov 26, 2019 at 9:52
  • go to the customize page and go for menus and change the url on the "Productd and Services" in the image above
    – Max Chan
    Nov 26, 2019 at 10:14
0

My solution is let the window location redirect redirect to your special URL:

<script>
    jQuery(document).ready(function(){
        window.location.href="http://path/to/dedicated-servers/";
    })
</script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.