Jump to content

URL issue when linking a folder with dropdown links to a hidden index

Recommended Posts

Site URL: https://www.bookdumplingtutors.com/

Hi SS forum,

The main navigation of the site needs a drop down. They were created using folder with links as the child items. These child items are actually anchor links in a hidden index, and not separate pages. It's a one page scroll with anchors.

You can see the URL when you hover over the "Services" menu item - the Academic Tutoring URL is /services/#academic-tutoring. This is fine.  

The issue is when you click on parent menu item "Services" the URL is /services-2. This is the issue. 

I created the "clean" slugs on the index and had to resort to -2 on the main navigation folder. The result is untidy and it's bugging me. The reverse isn't an option because I do not want /services-2/#academic-tutoring as the URL either because this would apply to all anchors in the index. 

So I'm "living" with the main folder URLs as a -2.

As a possible work around, I tried a permanent redirect (ugh) on the /services-2 to /services:  /services-2 -> /services 301 
but it doesn't seem to work.

Does anyone have another suggestion here? This seems like such a weird work around.




Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.