<%if URL eq 'http://'%>
<a class="category_links" target="_blank" href="<%rewrite_url($ID,$Title)%>"><%Title%></a>
<%else%>
<a class="category_links" target="_blank" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a><%endif%>
This is a peace of code I use so people can submit information with no URL the detailed pages have the RewriteEngine On
<%rewrite_url($ID,$Title)%>
so the URLs are friendly for the search engines. The problem is I need the counter for the pages with no URL also; this way it doesn’t count how many times the link pointing to the detailed page has been clicked.
(The regular links with URL works fine)
If anyone can come up with some miracle <%else%> code it would be really nice and helpful. Or should I give up the Friendly URLs or the counter on all pages?
Any ideas or opinions are very welcome.
<a class="category_links" target="_blank" href="<%rewrite_url($ID,$Title)%>"><%Title%></a>
<%else%>
<a class="category_links" target="_blank" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a><%endif%>
This is a peace of code I use so people can submit information with no URL the detailed pages have the RewriteEngine On
<%rewrite_url($ID,$Title)%>
so the URLs are friendly for the search engines. The problem is I need the counter for the pages with no URL also; this way it doesn’t count how many times the link pointing to the detailed page has been clicked.
(The regular links with URL works fine)
If anyone can come up with some miracle <%else%> code it would be really nice and helpful. Or should I give up the Friendly URLs or the counter on all pages?
Any ideas or opinions are very welcome.