How do you add meta tag BASE on overall_header ???

phpBB SEO Premod for phpBB3 support forum.
This premodded version of phpBB3 includes the three different type of URL rewriting for phpBB3 by phpBB SEO. It comes with several other Search Engine Optimization mods installed.

Moderator: Moderators

How do you add meta tag BASE on overall_header ???

Postby ASLAN » Sun Aug 17, 2008 4:37 am

How do you add meta tag BASE on overall_header ???

I mean this
Code: Select all
<head>
   <base href="http://www.mysite.com/" />


Thanks
ASLAN
PR0
PR0
 
Posts: 58
Joined: Mon Nov 19, 2007 2:38 am
Location: Chile

Advertisement

Postby ASLAN » Sun Aug 17, 2008 5:21 am

I found this array on phpbb_seo_class.php
Code: Select all
      // Array of the filenames that may require the use of a base href tag.
      $this->seo_opt['file_hbase'] = array('viewtopic', 'viewforum', 'memberlist', 'search');


I add my file on this array and it worked perfect
ASLAN
PR0
PR0
 
Posts: 58
Joined: Mon Nov 19, 2007 2:38 am
Location: Chile

Postby dcz » Mon Aug 18, 2008 12:23 pm

exactly, but this part went updated in 0.4.4 and now looks like :

Code: Select all
      $this->seo_opt['file_hbase'] = array('viewtopic' => $this->seo_path['phpbb_url'], 'viewforum' => $this->seo_path['phpbb_url'], 'memberlist' => $this->seo_path['phpbb_url'], 'search' => $this->seo_path['phpbb_url']);


We are now providing with the full URL to use in the bas href tag to allow the usage of the phpbb_seo class on any folder and domain, so this mean you should update too ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21375
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB SEO Premod

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 18 guests