PDA

View Full Version : Navbar / Linkpath problem


600256
06-16-2009, 05:45 PM
for some reason all navigation urls in my Links Directory are pointing to my forum directory. I have read and tried suggestions from the FAQ and other topics but wasn't able to fix my problem so far.

I fixed the navbar links manually in the templates but that doesn't fix all the problems. for instance: if you would use the add-link page and save, it points to a php in the forum directory that doesn't exist.

so I guess this is a url problem in the main settings or installation, but I can't find it..

forum:
http://www.webdesign-spot.com/forums

link dir
http://www.webdesign-spot.com/links

*if you have a look you can see the link directory-link in the breadcrumb is pointing to the forum.

is there anyone who can help me with this?

Thanks in advance.

Brian
06-17-2009, 01:43 PM
<base href="http://www.webdesign-spot.com/forums/" />

I'm seeing that in your source code, which is most likely the culprit. If you remove that code (likely in your 'headinclude' template) then that should take care of the issue.

Our Sponsors
 

600256
06-17-2009, 03:14 PM
Thanks a lot!
though I can't believe I didn't notice that :D

well it turned out to be Zoints SEO plugin that caused all this, but naturally you would want to keep that running.
so here's the fix I found on the Zoints site:

put this in the index file of the link directory:

define('VB_AREA', 'webdesign');

webdesign can be replaced by anything, as long as this is not defined as "forum".

This makes the EVIL <base> tag go away.

thanks again :)

600256
06-17-2009, 03:20 PM
worth mentioning: you also need to do this fix on all other *.php pages :)