+ Reply to Thread
Results 1 to 5 of 5

Thread: VBSEO URL's?

  1. VBSEO URL's?

    I installed the VBSEO on my forum, but this script is still showing the previous URL's and not the new ones that VBSEO creates/redirects to. Is there a way or how would I go about changing this script to direct to the new URL's instead of the old ones?

  2. Join Date
    Aug 2004
    Posts
    781

    Re: VBSEO URL's?

    You can edit the template for your news using the EP-Dev Forum News Administration Panel. Instead of using the generic !!AUTHOR_URL!! or !!COMMENTS_URL!! tags, place in the URLs that you want and place the appropriate !!THEADID!! and !!AUTHORID!! where necessary.

    ex:
    old: href="!!AUTHOR_URL"

    the new one may be: href="/forum/author/!!AUTHORID!!"

    I am speaking in general terms, but hopefully you understand.

  3. Re: VBSEO URL's?

    Yeah Patiek, that would work for one forum, but the problem is I want to fetch multiple forums.

  4. Re: VBSEO URL's?

    Ok, I'm going to have to make multiple templates for each catgeory and generate multiple codes for each forum. Its a little much, but it works.

    Thanks...

  5. Join Date
    Aug 2004
    Posts
    781

    Re: VBSEO URL's?

    Quote Originally Posted by big123
    Yeah Patiek, that would work for one forum, but the problem is I want to fetch multiple forums.
    There is no easy method of polling each forum script (i.e. vBulletin, Invision, phpBB, etc) for how the URL to the forum should be displayed. The URL definition is therefore predefined in the class for the forum.

    If you are accessing multiple forum installations, one or more of which use your different SEO links, I would recommend duplicating the forum class itself and modifying the forum's class to reflect the new forum URLs. Then you can still use the standard !!AUTHOR_URL!!, etc:

    Look under classes/sources/Forum/ for your specific class. For example, lets suppose you are using vBulletin 3.x. You need to create a copy of the file vBulletin_3.php.

    1. Name the copy of class vBulletin_3_SEO.php

    2. Open vBulletin_3_SEO.php in your text editor:
    a) Find all instances of "EP_Dev_Forum_News_vBulletin_3_Access" and replace the text with:
    "EP_Dev_Forum_News_vBulletin_3_SEO_Access"

    b) Edit the following lines:
    PHP Code:
    $this->LINKS['author'] = $this->CONF['url'] . "member.php?u=";
    $this->LINKS['thread'] = $this->CONF['url'] . "showthread.php?t="
    You want to modify the "member.php?u=" to instead be, for example, "author/". The id of the author or the thread will be appended to the end of it. So if your SEO URL for authors is forum/author/AUTHORID you would modify if to be "author/".

    3. Save the file & upload.

    4. Visit the admin panel, you will see the new vBulletin 3.x SEO available. Select it for the forum you need the SEO links for.

    That is a much better approach to this problem if you are combining the news of multiple forum scripts / installations (something I was not aware of in my original response).

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts