Not really sure how to phrase my question but here's my issue:
I have a php template type site where the main navigation is in it's own file. Some of the navigation buttons point to anchors on the main page and some go to other pages completely.
My original menu used links like index.php# for the on page anchors and index.php?page= for the off page links. I had two issues with this: 1. When I selected an on page link the page seemed to refresh and it was slow taking me to the place on the page the link was connected to. 2. I'm using htaccess to redirect my url from mydomaincom/index.php to mydomaincom/ and found that my nav didn't work in Safari since my href addresses where index.php#value and Safari v5 wouldn't carry over the anchor links.
Rather than turn off my redirect I just changed the urls to point to mydomaincom/#value. Not only did this work great for all browsers but it also made my page quicker.
Now however when I'm on one of the other pages say index.php?page=photos and I use the nav it just tries to find the anchors on that page (which makes sense but obviously not what I want). What it's doing now: mydomaincom/index.php?page=photos#
What I need it to do: mydomaincom/#
Since the same nav file is used for all pages do I need to create a nave link variable so that when the nav is on a non-index.php page the link urls that hook to the index.php on page anchors uses the full url?
Hopefully this makes sense. Any suggestions? Also trying to keep this search engine/Google friendly :)
Thanks!