Page 1 of 2 1 2 LastLast
Results 1 to 15 of 28
Like Tree7Likes

Remove forum/forum.php from Breadcrumb

This is a discussion on Remove forum/forum.php from Breadcrumb within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello, So I have yet another question. When you go to forums and posts, in the breadcrumb for the linked ...

  1. #1
    Member
    Real Name
    Brian
    Join Date
    Nov 2008
    Posts
    32
    Liked
    0 times

    Remove forum/forum.php from Breadcrumb

    Hello,
    So I have yet another question. When you go to forums and posts, in the breadcrumb for the linked "forum" the url is Bike Reviews Forum - Bike Forums, Cycling Message Board, Bicycle Discussion Groups.

    I went into forumdisplay and could not find where to remove the .php. I also went into navbar and breadcrumb folder and could not find it. Where can I go to remove this?

    Thanks,

  2. #2
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    Hi,

    As you are just running the forum and not the CMS at the moment you can simply rename the current index.php to something like index-old.php then rename forum.php to index.php

    once you have done this you need to go into vBulletin options and change the forum script name from "forum" to "index".

    Ceri

  3. #3
    Member
    Real Name
    Brian
    Join Date
    Nov 2008
    Posts
    32
    Liked
    0 times
    Ok,
    but isn't there a way to just remove the forum.php? I did this for the navi bar and logo, so I would think there is a way for the breadcrumb? But if I did it your way, wouldn't it just be forum/index.php?

  4. #4
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    No index.php is automatically stripped out because it is a document index file... forum.php however isn't, for example if you currently try loading http://bikereviews.com/forum/index.php then it will redirect you to forum.php.

  5. #5
    Member
    Real Name
    Brian
    Join Date
    Nov 2008
    Posts
    32
    Liked
    0 times
    That gives me a redirecting error.
    How can I actually remove it from the breadcrumb?

  6. #6
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello Brian,

    I'm currently seeing a redirect loop in your site. If you want to remove forum.php from the URL of your forum home, you should set the Settings -> Options -> Forums Home Page Options -> 'Script Name for Forum Home Page' setting (within Admin CP) to 'index' instead of 'forum' (without renaming forum.php to index.php).

    Then, make sure to add

    Code:
    index.php
    index.php?
    forum.php
    forum.php?
    to your homepage aliases list. You can find it at vBSEO CP -> SEO Functions -> Homepage Settings.

    Also, please make sure that your index.php is pointing currently to your forum.php script, i.e.:

    Instead of having this:
    PHP Code:
    /**
     * Use the CMS as the default script:
     */

    require('content.php');


    /**
     * Use the forum as the default script:
     */

    // require('forum.php'); 
    You should have:
    PHP Code:
    /**
     * Use the CMS as the default script:
     */

    // require('content.php');


    /**
     * Use the forum as the default script:
     */

    require('forum.php'); 
    If you loose your CSS, images, etc. after making these changes, make sure that the following setting is set to 'Yes':

    Admin CP -> Settings -> Options -> Site Name / URL / Contact Details -> 'Always use Forum URL as Base Path'
    Last edited by Andrés Durán Hewitt; 12-21-2011 at 03:08 PM. Reason: f
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  7. #7
    Member
    Real Name
    Brian
    Join Date
    Nov 2008
    Posts
    32
    Liked
    0 times
    Ok I will check that out.
    What about just removing it from the text, or breadcrumb?

  8. #8
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    I advice you to not do that. Just try to use the method I supplied on post #6.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  9. #9
    Member
    Real Name
    Brian
    Join Date
    Nov 2008
    Posts
    32
    Liked
    0 times
    Ok I will do that.
    But I am wondering, why do you advise me not to do it? Can I do both? And if so, how do I remove it?

  10. #10
    Senior Member woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    788
    Liked
    5 times
    Quote Originally Posted by Brain916 View Post
    Ok I will do that.
    But I am wondering, why do you advise me not to do it? Can I do both? And if so, how do I remove it?
    Breadcrumbs are important to search engines. It allows them to figure out your sites subjects/makeup and figure out how one page relates to another. Sitelinks (the 8 or so links you see under Google results => like this) are usually automatically compiled based on your breadcrumbs.
    2011 Average: 1 post every 5 seconds... 24/7

  11. #11
    Member
    Real Name
    Brian
    Join Date
    Nov 2008
    Posts
    32
    Liked
    0 times
    I understand that. I am not trying to remove the actual breadcrumb, just the end of the "Forum" url only (where it says forum/forum.php). I use the breadcrumbs on the homepage (blog) of the site.

    So I guess once again lol, how would I remove this from the coding?

  12. #12
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    Quote Originally Posted by Brain916 View Post
    I understand that. I am not trying to remove the actual breadcrumb, just the end of the "Forum" url only (where it says forum/forum.php). I use the breadcrumbs on the homepage (blog) of the site.

    So I guess once again lol, how would I remove this from the coding?
    That link is automatically created based on the Forum Script Name variable in the vBulletin admincp... If you set it to index instead of forum then it will not show the forum.php.

  13. #13
    Member
    Real Name
    Brian
    Join Date
    Nov 2008
    Posts
    32
    Liked
    0 times
    Just did that, and it worked! Thank you so much, this forum is awesome.

  14. #14
    Member Taurus's Avatar
    Real Name
    Pierre
    Join Date
    May 2010
    Posts
    88
    Liked
    7 times
    Can you please specify to me how to make my vbcms my homepage. So that it says like vbseo.com, and my forum to say like vbseo.com/forum

    Thanks.
    CreativX - Custom designed Widows 7 Themes -FREE-

  15. #15
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello Pierre,

    Please see:

    vBSEO 3.5 Release Candidate 1 is here!
    Taurus likes this.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


Page 1 of 2 1 2 LastLast

Similar Threads

  1. Change the word Forum to Home in the breadcrumb
    By Wird0 in forum General Discussion
    Replies: 3
    Last Post: 09-01-2010, 12:25 AM
  2. Q: remove category link in breadcrumb
    By pokerprop in forum Template Modifications
    Replies: 4
    Last Post: 05-23-2010, 03:18 PM
  3. How To Remove Forum Description For Parent Forum Only
    By Brandon_R in forum Template Modifications
    Replies: 5
    Last Post: 04-19-2009, 02:05 PM
  4. where do I remove the breadcrumb?
    By inparadise in forum vBSEO.com Styles
    Replies: 2
    Last Post: 04-23-2008, 11:01 AM
  5. Remove breadcrumb
    By I, Brian in forum Template Modifications
    Replies: 10
    Last Post: 10-09-2005, 04:43 AM

Tags for this 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
  •