Results 1 to 3 of 3

Thread: Search Engine Friendly URL Issue w/ News

  1. #1

    Default Search Engine Friendly URL Issue w/ News

    Brian or others,
    On my homepage (http://www.123LearnToTrade.com) when you click on the title of a news item, it takes you to a non-search engine friendly URL. However, I have VB 4.0 set to advanced search engine friendly URL's so when I go to mysite.com/forums and there is a list of posts, the URL is a friendly one.

    So for example:

    Clicking on the post on the homepage (through Vbadvanecd) sends me to:

    PHP Code:
    http://www.123learntotrade.com/showthread.php?t=28756 

    However, going to the forum homepage then clicking that post sends me to:

    PHP Code:
    http://www.123learntotrade.com/showthread.php/28756-How-To-Trade-BP-Stock-During-The-Oil-Spill 

    It may sound like a stupid thing but a SEO company I am working with says it is effecting my google rankings. Any idea how to fix this issue?

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    Thank you for pointing this out. I've just applied the fix to the modules/news.php file in the download package here, so if you will download the files again and update that one on your server, that should take care of the issue.
    Or if you would rather apply the fix manually, just look in the file for this code:
    PHP Code:
    $mods['title'] = ($news['prefix'] ? $news['prefix'] : '') . ' <a href="' $vbulletin->options['bburl'] . '/showthread.php?' $vbulletin->session->vars['sessionurl'] . 't=' $news['threadid'] . '">' $news['title'] . '</a>'
    And replace with this:
    PHP Code:
    $mods['title'] = ($news['prefix'] ? $news['prefix'] : '') . ' <a href="' $vbulletin->options['bburl'] . '/' fetch_seo_url('thread'$news) . '">' $news['title'] . '</a>'
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  3. #3

    Default

    Thanks Brian that fixed the issue!! Appreciate the help!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Text In Modules Search Engine Friendly?
    By Mr Chris in forum "How Do I..." Questions
    Replies: 2
    Last Post: 08-07-2008, 01:16 PM
  2. Search Engine Friendly Experience...
    By cruiser in forum Pre-Sale Questions
    Replies: 1
    Last Post: 05-08-2007, 04:04 AM
  3. Search Engine Friendly
    By GuyFromChicago in forum Pre-Sale Questions
    Replies: 16
    Last Post: 11-25-2006, 05:02 PM
  4. Suggestion: DMOZ-style search engine-friendly urls
    By crankshaft in forum Feedback & Suggestions
    Replies: 3
    Last Post: 01-10-2006, 02:32 PM
  5. search engine friendly?
    By bangthebook in forum Modifications
    Replies: 4
    Last Post: 03-01-2005, 12:10 AM

Posting Permissions

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