My Custom Links (#) are redirecting to Home Page.
-
Hello there.
I’m really hoping someone can help with this as I’ve been trying to fix it all day and night and now tearing my hair out – somewhat ironic given the website content!
https://rogersofchell.co.uk/wordpress/gents/
I have a wordpress theme installed and site built in Visual Composer. The row ID’s are set (e.g services) and the custom links are set e.g #services
It all works fine when the page is set to the front page, the target URL shows correctly on hover and works when you open in a new tab, but clicking a link always redirects me to the home page rather than scrolling to the corresponding section.
Tried lots of things: Changing and saving Permalinks, changing theme (works fine with other themes!), reinstalled the theme, deactivated all plugins, renamed plugin folder, made a new .htaccess all to no avail.
Out of ideas now so thought I’d see if there’s any ninjas on here that could have a look at the code to see what’s going on?
Thanks in advance,
Dave
- The topic ‘My Custom Links (#) are redirecting to Home Page.’ is closed to new replies.