wicked forum, lots of info, I apologize if this has been covered before. Is there a way to do this (I don't have mod_rewrite)... It's important that these links "appear" to be static. Any info would be great...Thanks!
Jul 9, 2001, 10:27 PM
Veteran / Moderator (1936 posts)
Jul 9, 2001, 10:27 PM
Post #2 of 23
Views: 13391
There's no excuse for laziness. If you think this has been asked and aswered before, why don't you look for it?
Jul 10, 2001, 12:30 AM
Veteran / Moderator (18441 posts)
Jul 10, 2001, 12:30 AM
Post #4 of 23
Views: 13363
This won't make jump.cgi static, but it will make it appear a bit more like it is
In link.html add;
ONMOUSEOUT="window.status='';return true;"><%Title%></a>Well, dunno if that was any help, but heck, its worth a try
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
In link.html add;
Code:
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" target="_blank" ONMOUSEOVER="window.status='<%URL%>';return true;" ONMOUSEOUT="window.status='';return true;"><%Title%></a>
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
Jul 10, 2001, 1:11 AM
Veteran / Moderator (1936 posts)
Jul 10, 2001, 1:11 AM
Post #5 of 23
Views: 13353
http://www.gossamer-threads.com/p/26231
http://www.gossamer-threads.com/p/32079
http://www.gossamer-threads.com/p/42031
http://www.gossamer-threads.com/p/46800
http://www.gossamer-threads.com/p/128716
http://www.gossamer-threads.com/p/114777
http://www.gossamer-threads.com/p/89737
I did more than call you lazy. In fact, I was kind enough to offer a method to find your solution.
--Drew
Links 2.0 stuff
http://www.camelsoup.com
Jul 10, 2001, 1:34 AM
New User (4 posts)
Jul 10, 2001, 1:34 AM
Post #6 of 23
Views: 13373
By "appear" in my original post I meant real indexable links that *all* search engines can follow (without the "?" in the URL), just like it is possible to do with mod_rewrite (that's why I mentioned it). Sorry for the confusion. I did view the posts you listed (among many others) before I posted, junko - they don't address what I'm after.
Jul 10, 2001, 3:33 AM
Veteran (19537 posts)
Jul 10, 2001, 3:33 AM
Post #7 of 23
Views: 13395
Just change the jump.cgi link to <a href="<%URL%>">"><%Title%></a>
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com
Jul 10, 2001, 4:41 AM
Veteran (19537 posts)
Jul 10, 2001, 4:41 AM
Post #9 of 23
Views: 13391
Yeah but it is the only way to do it the way he wants
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com
Jul 10, 2001, 4:47 AM
Veteran / Moderator (18441 posts)
Jul 10, 2001, 4:47 AM
Post #10 of 23
Views: 13363
should be;
Jul 10, 2001, 8:58 AM
Veteran (19537 posts)
Jul 10, 2001, 8:58 AM
Post #12 of 23
Views: 13341
Yeah my booboo - I originally had:
<a href="<%URL%>"<%Title%></a>
...so edited my post but must have got carried away
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com
<a href="<%URL%>"<%Title%></a>
...so edited my post but must have got carried away
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com
Nov 30, 2003, 12:56 AM
Novice (32 posts)
Nov 30, 2003, 12:56 AM
Post #16 of 23
Views: 13070
if you still want to count hits with the cgi? function - you can put the href="<%URL%>" anywhere on the link. i put mine on the description then set the font color to the normal text of the page and set the style to text-decoration: none on them and it looked exactly the same. hope that helps those who still wanna count clicks but also wanna help their se placement :)
Vote Stinky
Vote Stinky
Jan 7, 2004, 6:26 PM
User (125 posts)
Jan 7, 2004, 6:26 PM
Post #17 of 23
Views: 12926
I looked into this for ages, eventually found a way. I'm on a redhat linux server running apache, this is how I can do it, different flavours of webserver might not be the same.
You need to learn up on url rewriting using .htaccess on your web server.
If you have the ability to do this then you need to invoke mod rewrite function via the .htaccess file something like this (heres mine) :
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]
RewriteRule ^\.htaccess$ - [F]
RewriteRule ^([^/]+)/$ jump.cgi?ID=$1 [L]
This means when the browser requests http://www.somedomain.com/cgi-bin/702 what actually gets called is http://www.somedomain.com/cgi-bin/jump.cgi?ID=702
That means the urls appear as followable by all manner of things, but hits still get counted by the script as its all happening normally as the script is concerned. The file must be called .htaccess (note the dot) and be placed in the root of the cgi-bin or wherever your jump.cgi is and affects all directories beneath it recursively.
Then in your link.html template change the site link to something like :
<a href="<%db_cgi_url%>/<%ID%>/"><b><%Title%></b></a>
and anywhere else where the jump.cgi file might be called.
Hope this helps :)
You need to learn up on url rewriting using .htaccess on your web server.
If you have the ability to do this then you need to invoke mod rewrite function via the .htaccess file something like this (heres mine) :
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]
RewriteRule ^\.htaccess$ - [F]
RewriteRule ^([^/]+)/$ jump.cgi?ID=$1 [L]
This means when the browser requests http://www.somedomain.com/cgi-bin/702 what actually gets called is http://www.somedomain.com/cgi-bin/jump.cgi?ID=702
That means the urls appear as followable by all manner of things, but hits still get counted by the script as its all happening normally as the script is concerned. The file must be called .htaccess (note the dot) and be placed in the root of the cgi-bin or wherever your jump.cgi is and affects all directories beneath it recursively.
Then in your link.html template change the site link to something like :
<a href="<%db_cgi_url%>/<%ID%>/"><b><%Title%></b></a>
and anywhere else where the jump.cgi file might be called.
Hope this helps :)
Jan 14, 2004, 12:32 PM
User (118 posts)
Jan 14, 2004, 12:32 PM
Post #18 of 23
Views: 12946
Thanks...Small thing but very useful !!
>> Nakul Goyal (SEO, Link Building Expert)
Web Site Promotion
Tips 'n' Tricks
SEO News
>> Nakul Goyal (SEO, Link Building Expert)
Web Site Promotion
Tips 'n' Tricks
SEO News
Jan 27, 2004, 11:20 PM
User (104 posts)
Jan 27, 2004, 11:20 PM
Post #19 of 23
Views: 12937
Nakul Goyal is Link Building Expert and he is just writing one or another line which is not much relevent to that post just to create his footer which has got link of its own site. He is making misuse of this great forum . He is just taking link our of it. Alex must ban such kind of practices
Jan 28, 2004, 12:00 AM
User (118 posts)
Jan 28, 2004, 12:00 AM
Post #20 of 23
Views: 12834
Megri, I would rather leave things on Alex and other GT administrators and moderators to decide and wont leave any public comments about somebody. These forums are here to dicuss about Gossamer Threads, it's products, development and plugins....!! I am a glad Links Users and I have been working with several people here.
Alex, and other moderators, if you feel I have done anything wrong here on these forums, feel free to delete my account altogether. But just in case that's not the point, I would like to know that these forums are to discuss what megri said or to discuss Gossamer.
P.S. > Take action against either of us. I present myself to your decision and what you people decide would be final for me. Delete my account and I would have no hard feelings if I am wrong please.....!!!
>> Nakul Goyal (SEO, Link Building Expert)
Web Site Promotion
Tips 'n' Tricks
SEO News
Alex, and other moderators, if you feel I have done anything wrong here on these forums, feel free to delete my account altogether. But just in case that's not the point, I would like to know that these forums are to discuss what megri said or to discuss Gossamer.
P.S. > Take action against either of us. I present myself to your decision and what you people decide would be final for me. Delete my account and I would have no hard feelings if I am wrong please.....!!!
>> Nakul Goyal (SEO, Link Building Expert)
Web Site Promotion
Tips 'n' Tricks
SEO News
Feb 2, 2004, 4:33 AM
User (144 posts)
Feb 2, 2004, 4:33 AM
Post #21 of 23
Views: 12853
You could probably put that rewrite rule directly into httpd.conf as well...
Interesting idea, as it would probably increase the indexing of links by Google etc.,
Blacknight Solutions - Hosting
Search.ie
Armchair.ie
Interesting idea, as it would probably increase the indexing of links by Google etc.,
Blacknight Solutions - Hosting
Search.ie
Armchair.ie
Feb 2, 2004, 3:21 PM
User (125 posts)
Feb 2, 2004, 3:21 PM
Post #22 of 23
Views: 12815
I'm sure it prob would work in httpd.conf, never had that level of access to a linux server before, I've just used virtual hosting accounts etc. It certainly does increase the indexing of links - and rapidly rolls up the overall hits counter if you have that mod, as well as the induvidual hits for each site, can make it a bit difficult to accurately assess traffic through the site but whos complaining when you see many different se bot user agents regularly rolling through :)
Mar 30, 2004, 3:13 AM
User (104 posts)
Mar 30, 2004, 3:13 AM
Post #23 of 23
Views: 12663
Most of people do not have access to httpd.conf file as you need root access to the server to do that i think htaccess is the good method to do the Rewrite Mod
Megrisoft
Web Hosting Company
India Software Company
SEO Company
Megrisoft
Web Hosting Company
India Software Company
SEO Company