• 0
Sign in to follow this  
Followers 0

Anchor links on sidebar won't open

Question

Posted · Report post

I've put in anchor links on the sidebar but when I click them it gives a 404 page because the links become incorrect. Here's the page with the sidebar links: http://energyfitnessbysergio.com/training-programs/fitness-and-nutrition-program/ Here's the page it gives while adding extra link info: http://energyfitnessbysergio.com/training-programs/fitness-and-nutrition-program/%E2%80%9Dhttp:/energyfitnessbysergio.com/resources/recipes-and-nutrition-facts/%E2%80%9D How do I fix this so it opens up the pages?

Share this post


Link to post
Share on other sites

10 answers to this question

  • 0

Posted · Report post

Wherever you put in the url to link to, try just putting it in this format: /fitness-and-nutrition-program/ without the http and all that.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Are you typing the anchor tag into a custom text widget. If so is it just like this:

Google[/code]

Can you paste the code that you have typed in here so we can see it?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Sorry, lets try that again. It should look similar to:

Google[/code]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I can't seem to html code here, maybe you could send a screenshot of your backend showing what you have typed in.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hmmm, nothing seems wrong with the code you've used... I know it doesn't make sense but perhaps there's a plugin or something causing a conflict. Perhaps disable all of your plugins and see if the problem persists. If that doesn't work, for the time being perhaps just do the full link and perhaps we could help troubleshoot further.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I deactivated all plugins and did the full link but still the same thing. Here's whats in the widget now: http://screencast.com/t/iDGn0Nt3 And here's what the link looks like when I click it. Notice how it doubles the link: http://energyfitnessbysergio.com/resources/recipes-and-nutrition-facts/"http:/energyfitnessbysergio.com/resources/recipes-and-nutrition-facts/" Thanks

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Here's what I'm seeing you use: `Exercises and Routines` when you need: `Exercises and Routines` If you're not adding those extra quotations it might be a php.ini problem. But, first if the above code doesn't work try: `Exercises and Routines` Thanks, Bryan

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks Bryan, that last code fixed it!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0