Our new site built with Drupal 7: http://www.girlscoutsmoheartland.org
When you click on a link, it'll change to that URL. But then sometimes you'll click on a link, and it'll keep the old URL and then just tack the rest at the end.
For example, if you go there and click on one of the main links like: "for Volunteers", you go to:
http://www.girlscoutsmoheartland.org/content/volunteers
But then click on a menu item on the right side, like "Get more info," and it make it:
http://www.girlscoutsmoheartland.org/content/volunteers?q=content/intere...
It works, it goes there, but I'm afraid that people might be making bookmarks or copying links for URLs that aren't really the optimum and future-trouble-free.
What's causing this and, more importantly, how do I fix it?
Thanks,
Comments
It looks like node 99 has
It looks like node 99 has those links in html and that link looks like
so the fix would be to change the html so href="?q=content/interest-form" is href="/content/interest-form"
I see. Well, OK then.
I see. Well, OK then. Tedious, but if it works. :)
Thanks for the clue. :)
Too bad I can't go a global
Too bad I can't go a global find/replace of "?=" to "/" like I can will a non-database-based site. :(
Well since that seems to be
Well since that seems to be the body of the node you could use sql to do a global replace.
Clean urls
Turn on clean URLs and clear cache.
I have Clean URLs on, and I
I have Clean URLs on, and I just cleared cache again to see... but it still does it.
Actually, come to find out,
Actually, come to find out, it looks like I CAN'T use Clean URLs! When I do, it breaks this calendar app:
http://www.girlscoutsmoheartland.org/?q=content/activity-calendar
so that it messes up the GET info in the URL and leads to a 404. But works fine without CleanURLs. :-/