Googletap with keywords in Url like in this Forum

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   re: Googletap with keywords in Url like in this Forum
xtrax1
CZ Active Member
 Codezwiz Site Donator
xtrax1 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 18, 2005
0.02 posts per day
Posts: 107
Points: 3,824
   
Well no worries here, I give credit where credit is always due!

I guess the problem I am having is finding the URL in the forum module

modules.php?name=Forums&file=viewtopic&t=$topic_id

Mine are appen viewtopic '.topicid.' blah blah...

What files should I be looking in to make the changes to the URL

xtrax1 icon_smile.gif



Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Please post an actual example from one of your files.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Googletap with keywords in Url like in this Forum
xtrax1
CZ Active Member
 Codezwiz Site Donator
xtrax1 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 18, 2005
0.02 posts per day
Posts: 107
Points: 3,824
   
Which file is where I am confused, which file would you like to see Telli?

xtrax1 icon_question.gif



Back to top Reply with quote
#4   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   


Mine are appen viewtopic '.topicid.' blah blah...


Is that exactly what it looks like?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: Googletap with keywords in Url like in this Forum
scz74
CZ Active Member
scz74 has been a member for over 19 year's 19 Year Member
philippines.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Aug 15, 2004
0.02 posts per day
Posts: 145
Points: 7,972
   
Hi telli, can this code also work for the news module? im running an article site and i would love to use this like what im seeing here in codezwiz....

if it also does work for the news module what files do i exactly insert it into....

thanks in advance telli... would really really appreciate it very much if i can solve this.




_________________
[ Register or login to view links on this board.]
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
If you have issues after you try editing the files and adding it in then post back with any errors or questions. Just remember to make back ups of any files you edit.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: Googletap with keywords in Url like in this Forum
scz74
CZ Active Member
scz74 has been a member for over 19 year's 19 Year Member
philippines.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Aug 15, 2004
0.02 posts per day
Posts: 145
Points: 7,972
   
Hi telli,

i placed this code


function prepare_title($title) {
   //this is how telli (http://www.codezwiz.com) gets seo titles
   $abc = "1234567890abcdefghijklmnopqrstuvwxyz_";
   $title = strtolower($title);
   $r = '';
   for($i=0; $i < strlen($title); $i++) {
      if (strpos($abc, $title[$i]) !== false) {
         $r .= $title[$i];
      }
      if ( ($title[$i] == ' ') && ($r[strlen($r)-1] != ' ') ) {
         $r .= ' ';
      }
   }
   $r = trim($r);
   return str_replace(' ', '-', $r);
}


in my mainfile.php

and i tried to place this code


$seo_title = prepare_title($title);
modules.php?name=Forums&file=viewtopic&t=$topic_id&title=$seo_title


in my article.php and its not working do i have to edit my .htaccess file?

or do i have to place the 2nd code in another file other than article.php?



_________________
[ Register or login to view links on this board.]
[ Register or login to view links on this board.]
Back to top Reply with quote
#8   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Do you have google tap or some kind of seo for rewriting your url's on your site now? This won't work unless you do. You can try searching google for google tap you may find someone that is holding a copy or someone that is keeping up on it.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#9   re: Googletap with keywords in Url like in this Forum
scz74
CZ Active Member
scz74 has been a member for over 19 year's 19 Year Member
philippines.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Aug 15, 2004
0.02 posts per day
Posts: 145
Points: 7,972
   
hi telli,

yes i do have google tap installed what i cant figure out is what exact files do i place the codes into....

thanks for the reply...




_________________
[ Register or login to view links on this board.]
[ Register or login to view links on this board.]
Back to top Reply with quote
#10   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
You will have to edit your google tap file for the module and add the new link also edit your .htaccess and add the new rewrite url.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum