| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		
			
  | 	
	
	
		
		|||||||
| New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Oct 2009 
				Location: 565-013-936 
				
				
					Posts: 728
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				TGPX Users, want more SEO friendly gallery URLS like Smart Thumbs? Look here!
			 
			Hey Hey 
		
	
		
		
		
		
			If you've been using the TGPX software by JMB Soft then you know the generated gallery URL's don't always look too pretty. After investigating a couple of website who are using Smart Thumbs, I thought I'd look for a way to get Smart-Thumbs-like SEO-friendly URLS. It took some time, but got it figured together with Jemery after half-stealing the Smart Thumbs codes. This rewrite is also perfectly working with the Click.php script. Requirements: - mod_rewrite enabled on your server - possibly a text editor - 5 minutes of your time instead of watching porn So Yeah, how? First we'll start off by making a change in your TGP templates. Completely remove your old gallery URL code, and replace it by: Code: 
	<a href="gallery/{$gallery.description|strtolower|treplace_special::'-'}.html?id={$gallery.gallery_id|urlencode}&u={$gallery.gallery_url|urlencode}" target="_blank">
Code: 
	RewriteRule ^gallery/(.*)$ http://www.yoursite.com/tgpx/click.php?%{QUERY_STRING}
Code: 
	Replace http://www.yoursite.com/tgpx/click.php in your .htaccess file with the full URL to the click.php script on your server. 
				__________________ 
		
		
		
		
	
	++ SIGNATURE FOR SALE ++ 
			ICQ: 565-013-936  | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Masterbaiter 
			
		
			
			
			Industry Role:  
				Join Date: Feb 2006 
				
				
				
					Posts: 26,556
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Thanks for sharing. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Oct 2009 
				Location: 565-013-936 
				
				
					Posts: 728
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 If done correctly, it will work. However, feel free to contact me on ICQ (565-013-936) if you encounter any problems and I'll happily help you out. 
		
	
		
		
		
		
			An additional note for the .htaccess files to work in subfolders is that you will have to edit 301 redirects to match the subfolder, or it will return you to the main page. Let's say your website is porn.com and your htaccess file looks like this: Code: 
	# permanently redirect from non-www domain to www domain
RewriteCond %{HTTP_HOST} ^porn\.com$ [NC]
RewriteRule ^(.*)$ http://www.porn.com/$1 [R=301,L]
Code: 
	# permanently redirect from non-www domain to www domain
RewriteCond %{HTTP_HOST} ^porn\.com$ [NC]
RewriteRule ^(.*)$ http://www.porn.com/babes/$1 [R=301,L]
				__________________ 
		
		
		
		
	
	++ SIGNATURE FOR SALE ++ 
			ICQ: 565-013-936  | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Aug 2009 
				
				
				
					Posts: 819
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Great tip, I've been meaning to look into this for a while. Thanks for posting it here. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	.  | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Confirmed Fetishist 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Mar 2005 
				Location: Fetishland 
				
				
					Posts: 11,539
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 nice tips, i might finally give tgpx a try these months since i am an agsql user for years  
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#6 | ||
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Oct 2009 
				Location: 565-013-936 
				
				
					Posts: 728
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 Quote: 
	
 The above links are referrals. Although it's absolutely not required to follow them in order to get the promotional discount, I would be grateful if you did. Good luck either way! 
				__________________ 
		
		
		
		
		
			
		
		
	
	++ SIGNATURE FOR SALE ++ 
			ICQ: 565-013-936  | 
||
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Pay It Forward 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Sep 2005 
				Location: Yo Mama House 
				
				
					Posts: 77,258
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 thanx 4 the 411 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	TRUMP 2025 KEKAW!!! - The Laken Riley Act Is Law! DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com  | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Too lazy to set a custom title 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Sep 2005 
				Location: Springfield 
				
				
					Posts: 13,826
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 great tips!!! 
		
	
		
		
		
		
			will try to apply it later on my site running TGPX... 
				__________________ 
		
		
		
		
	
	Make a bank with Chaturbate - the best selling webcam program        Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:  
			 | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Oct 2009 
				Location: 565-013-936 
				
				
					Posts: 728
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 If you crazy about valid html warnings  and such, then replace "&" by "&" 
		
	
		
		
		
		
			Code: 
	<a href="gallery/{$gallery.description|strtolower|treplace_special::'-'}.html?id={$gallery.gallery_id|urlencode}&u={$gallery.gallery_url|urlencode}" target="_blank">
				__________________ 
		
		
		
		
	
	++ SIGNATURE FOR SALE ++ 
			ICQ: 565-013-936  | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Join Date: Oct 2009 
				
				
				
					Posts: 428
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 why dont you post this tip on JMBSOFT forum so they implement it 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Sep 2001 
				Location: The Global Digerati Village 
				
				
					Posts: 6,265
				 
				
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Nov 2009 
				
				
				
					Posts: 575
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 great tip, gonna try it 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	![]() --------------------------------------------------------- www.puZcash.com ICQ: 575610973 Max  | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2009 
				
				
				
					Posts: 2,346
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 LOL damnit, I spent a half hour looking for this because I thought it was FOR smart thumbs, not tgpx... Oh well. Found it on google after many failed searches on here. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 Pay It Forward 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Sep 2005 
				Location: Yo Mama House 
				
				
					Posts: 77,258
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 your sig is 2 big! 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	TRUMP 2025 KEKAW!!! - The Laken Riley Act Is Law! DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com  | 
| 
		 | 
	
	
	
		
                 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Mar 2006 
				Location: Earth 
				
				
					Posts: 1,197
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Thanks for the heads up. 
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 |