Named anchor tags being removed from URLs in Safari
-
Hi,
I built a website on the WordPress Platform about 6 months ago with some anchor links that pointed to specific areas on an FAQ page. The reason I did this was to direct the user to the relevant questions of the page they came from.
Last week, the site owner contacted me that the ‘#tagname’ was being stripped off the end of the URL in Safari and thus breaking that functionality.
I have done lots of research and have determined that this is because the WordPress set up is in its own subdirectory. Therefore, I need to change the Site URL to: https://www.example.com/wordpress to fix this issue. The problem here is that the website owner doesn’t want her page urls to say: https://www.example.com/wordpress/about
Is there a different way to fix this issue? Or is there a way to change the Site URL but keep the /wordpress/ directory out of the public user’s address bar?
I would love ANY help with this. Thanks!
- The topic ‘Named anchor tags being removed from URLs in Safari’ is closed to new replies.