Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard
Author Message
craigmack
Hangin' Around


Joined: Jan 07, 2006
Posts: 35

PostPosted: Tue Apr 18, 2006 8:59 pm Reply with quote

I finally got my site google tapped with gt-nextgen and im trying to tap a module on my site the module is located at modules.php?name=Video

The links i tried tapping are here
Code:


modules.php?name=Video
modules.php?name=Video&op=videos&list=hottest
modules.php?name=Video&op=view&video_id=27


The .htaccess for the links
Code:


#Video
RewriteRule ^video.html modules.php?name=Video [L]
RewriteRule ^video-hot.html modules.php?name=Video&op=videos&list=hottest [L]
RewriteRule ^video-([-0-9]*).html modules.php?name=Video&op=view&video_id=$1 [L]


And the GT-Video.php
Code:


<?php

$urlin = array(
"'(?<!/)modules.php\?name=Video'",
"'(?<!/)modules.php\?name=Video&op=videos&list=hottest'",
"'(?<!/)modules.php\?name=Video&amp;op=view&amp;video_id=([0-9]*)'"
);

$urlout = array(
"video.html",
"video-hot",
"video-\\1.html"
);

?>


Does this look right and is there anything else i gotta do besides this to tap a module? My links don't change to html like the other core modules.
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Apr 19, 2006 7:28 am Reply with quote

I don't use GT-NextGen, but your rules seem to look correct. I would put the modules.php?name=Video rule last, as it will start first rewriting the URLs .. so the other ones won't rewrite correctly

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©