| Author |
Message |
sandman7
Nuke Cadet


Joined: Oct 07, 2004
Posts: 1
|
Posted:
Thu Oct 07, 2004 9:18 am |
  |
Hi guys i installed google tap but i noticed that in the articles when you click read more instead of going to the page to read the hole article it goes to the main page http://www.mydomain.com/index.php
i left click on the read more and the link is like this
http://www.mydomain.com/article2.html
does anybody knows why is doing this?
also my htaccess for articles is
#Articles
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html article.html$1&mode=$2("der=$3&thold=$4
RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$2("der=$3&sid=$4$5
RewriteRule ^article-topic([0-9]*)-page([0-9]*).html modules.php?name=News`"w_topic=$1&pagenum=$2
RewriteRule ^article-category([0-9]*)-page([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2
RewriteRule ^article-category-([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1
RewriteRule ^article-print-([0-9]*).html modules.php?name=News&file=print&sid=$1
RewriteRule ^article-friend-([0-9]*).html modules.php?name=News&file=friend&op=FriendSend&sid=$1
RewriteRule ^article-page-([0-9]*).html modules.php?name=News&pagenum=$1
RewriteRule ^article([1-9][0-9]*).* article.html$1
RewriteRule ^article-topic-([0-9]*).html modules.php?name=News`"w_topic=$1
RewriteRule ^allnews.html modules.php?name=News&file=allindex
RewriteRule ^news.html modules.php?name=News |
|
|
   |
 |
gormnass
Nuke Soldier


Joined: Feb 29, 2004
Posts: 25
|
Posted:
Thu Nov 04, 2004 5:31 pm |
  |
I have the same problem . did you find a solution?
Regards Gorm |
_________________ Regards Gorm
www.itbergen.no |
|
    |
 |
psychofski
Nuke Cadet


Joined: Jul 28, 2004
Posts: 2
|
Posted:
Fri Nov 05, 2004 1:57 am |
  |
no man the only solution i found was to remove google tap |
|
|
   |
 |
gormnass
Nuke Soldier


Joined: Feb 29, 2004
Posts: 25
|
Posted:
Fri Nov 05, 2004 7:23 am |
  |
|
    |
 |
Imago
Captain


Joined: Jan 17, 2003
Posts: 629
Location: Europe
|
Posted:
Sat Nov 13, 2004 4:45 am |
  |
|
    |
 |
gormnass
Nuke Soldier


Joined: Feb 29, 2004
Posts: 25
|
Posted:
Mon Nov 15, 2004 4:39 am |
  |
| Imago wrote: |
This seems weird
News`"w_topic |
what do you mean? |
_________________ Regards Gorm
www.itbergen.no |
|
    |
 |
mikeshields
Sergeant


Joined: Feb 21, 2004
Posts: 101
|
Posted:
Tue Nov 16, 2004 12:32 am |
  |
I managed to solve this problem, a while back, for my site http://www.shepro.org
I also had a similar problem with http://www.shepro.org/topics.html & the More --> link
In addition, I also had problems in weblinks when there was more than one page of search results for example http://www.shepro.org/links-search-health_and_safety.html
To the matter in hand - In GoogleTap/GT-topics.php, I made these changes:-
| Code: |
<?php
$urlin = array(
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)&mode=([a-z]*)&order=([0-9]*)&thold=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=categories&op=newindex&catid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&op=newindex&catid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=topics&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=Topics'"
);
$urlout = array(
"article-\\1-\\2-\\3-\\4.html",
"article-category-\\1.html",
"article-cat-\\1.html",
"article\\1.html",
"article-topic-\\1.html",
"topics.html"
);
?> |
In .htaccess - I think, I made alterations somewhere here-
| Code: |
#Articles
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html article.html$1&mode=$2&order=$3&thold=$4
RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$2&order=$3&sid=$4$5
RewriteRule ^article-topic([0-9]*)-page([0-9]*).html article-topic-.html$1&pagenum=$2
RewriteRule ^article-category([0-9]*)-page([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2
RewriteRule ^article-category-([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1
RewriteRule ^article-print-([0-9]*).html modules.php?name=News&file=print&sid=$1
RewriteRule ^article-friend-([0-9]*).html modules.php?name=News&file=friend&op=FriendSend&sid=$1
RewriteRule ^article-page-([0-9]*).html modules.php?name=News&pagenum=$1
RewriteRule ^article([1-9][0-9]*).* article.html$1
RewriteRule ^article-topic-([0-9]*).html article-topic-.html$1
RewriteRule ^allnews.html modules.php?name=News&file=allindex
RewriteRule ^news.html modules.php?name=News
|
Let me know if this works, and if you have problems with weblinks or the topics More --> link - let me know  |
_________________ Turkish Real Estate | Health & Safety Resources | Health & Safety Consultants | Blog |
|
    |
 |
gormnass
Nuke Soldier


Joined: Feb 29, 2004
Posts: 25
|
Posted:
Tue Nov 16, 2004 5:57 am |
  |
| mikeshields wrote: |
To the matter in hand - In GoogleTap/GT-topics.php, I made these changes:-
| Code: |
<?php
$urlin = array(
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)&mode=([a-z]*)&order=([0-9]*)&thold=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=categories&op=newindex&catid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&op=newindex&catid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=topics&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=Topics'"
);
$urlout = array(
"article-\\1-\\2-\\3-\\4.html",
"article-category-\\1.html",
"article-cat-\\1.html",
"article\\1.html",
"article-topic-\\1.html",
"topics.html"
);
?> |
|
Where did you put the first code (in index.php modules/Topics/index.php)? |
_________________ Regards Gorm
www.itbergen.no |
|
    |
 |
mikeshields
Sergeant


Joined: Feb 21, 2004
Posts: 101
|
Posted:
Tue Nov 16, 2004 6:53 am |
  |
|
    |
 |
gormnass
Nuke Soldier


Joined: Feb 29, 2004
Posts: 25
|
Posted:
Tue Nov 16, 2004 8:25 am |
  |
| mikeshields wrote: |
In the root directory is the folder 'GoogleTap' - inside there is the file GT-topics.php
 |
Sorry...I do not have this folder. But I found the entrys in my header.php.
I will try with this....thanks |
_________________ Regards Gorm
www.itbergen.no |
|
    |
 |
gormnass
Nuke Soldier


Joined: Feb 29, 2004
Posts: 25
|
Posted:
Tue Nov 16, 2004 9:17 am |
  |
It didn't work for me, it just messed up the links.
Maybe it is because I use an older/different version of GT, since I didn't have the GT-folder, but have to add things in my header.php
I think I can live with these problems.
Ad. the problems with the search with more than one page, I had similar problems, but I got around the problem by adding more results pr.page (more than 500) then the user wouldnt have to choos "next page"
Anyone with these problems ? let me know |
_________________ Regards Gorm
www.itbergen.no |
|
    |
 |
mikeshields
Sergeant


Joined: Feb 21, 2004
Posts: 101
|
Posted:
Tue Nov 16, 2004 11:01 am |
  |
|
    |
 |
|
|