PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
craigmack
Hangin' Around


Joined: Jan 07, 2006
Posts: 35

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

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
Moderator


Joined: Apr 30, 2004
Posts: 2846

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

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
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum