View Single Post
Old 06-06-2010, 03:46 PM
TheWrongGrape TheWrongGrape is offline

Advanced Member
Join Date: Nov 2002
Location: Los Angeles, CA
Posts: 68

Default Making anchor tags (internal page linking) work with Clean URLs?

Hey all,

A problem I've just encountered is that anchor tags aren't working correctly and I think this is related to using clean urls.

For example, when viewing a product, I want to have a link that says "Jump to Reviews" above the fold which would link like this <a href="#reviews">Jump to Reviews</a> And right near the beginning of my reviews section down the page is <a name="reviews></a>Customer Reviews ...

With clean urls, instead of the link being interpreted as it's Also, if I go ahead and hard code it as <a href="{$http_location}/{$product.clean_url}.html#reviews> the page refreshes then jumps down instead of jumping down directly.

Any ideas of a workaround?
Reply With Quote