vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
New vBSEO Discount Level for Network Builders Meet vBSEO Team in New York (Nov. 3rd & 4th) vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

How to write my own showthread / forumdisplay links with vbseo URL rewriting enabled?

This is a discussion on How to write my own showthread / forumdisplay links with vbseo URL rewriting enabled? within the General Discussion forums, part of the vBSEO SEO Plugin category; Currently I have my own links in templates like: <a href="showthread.php?t=$variable"> I want to automaticaly look them as <a href="showthread.php/1234-topicname">. ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > General Discussion

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 01-14-2008, 06:13 AM
Junior Member
 
Real Name: vbul
Join Date: Jan 2008
Posts: 17
Arrow How to write my own showthread / forumdisplay links with vbseo URL rewriting enabled?

Currently I have my own links in templates like: <a href="showthread.php?t=$variable">

I want to automaticaly look them as <a href="showthread.php/1234-topicname">.

How can I do that, what conditional variables are there?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 01-14-2008, 06:34 AM
Shadab's Avatar
Senior Member
 
Real Name: Shadab
Join Date: Oct 2007
Location: Bhopal
Posts: 268
Blog Entries: 12
Send a message via ICQ to Shadab Send a message via MSN to Shadab Send a message via Yahoo to Shadab
You don't have to change anything 'inside' the templates.

Set the appropriate options and link structure from your vBSEO's Control Panel,
and let vBSEO do the rest !

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 01-14-2008, 07:16 AM
Junior Member
 
Real Name: vbul
Join Date: Jan 2008
Posts: 17
I have changed my styles which involves adding additional links. Currently I have my own links in templates like: <a href="showthread.php?t=$variable">

I want to automaticaly look them as <a href="showthread.php/1234-topicname">.

How can I do that, what conditional variables are there?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 01-14-2008, 07:49 AM
Shadab's Avatar
Senior Member
 
Real Name: Shadab
Join Date: Oct 2007
Location: Bhopal
Posts: 268
Blog Entries: 12
Send a message via ICQ to Shadab Send a message via MSN to Shadab Send a message via Yahoo to Shadab
Can you give a live example of what you are trying to achieve ?

What you said earlier, ie, converting URLs from showthread.php?t=$variable to showthread.php/1234-topicname
vBSEO already does that automatically. You don't need to edit any templates to reflect the changes.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 01-14-2008, 08:06 AM
Junior Member
 
Real Name: vbul
Join Date: Jan 2008
Posts: 17
This is what I wrote
Code:
<!-- show latest active threads -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" 
align="center">
<tbody>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_external')"><img 
id="collapseimg_forumhome_external" 
src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_external].gif" alt="" border="0" /></a>
<a href="forumdisplay.php?f=$foruminfo[forumid]">Topics in $foruminfo[title]</a>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_external" style="$vbcollapse[collapseobj_forumhome_external]">
<tr>
 
<td class="alt1" width="100%">
 
<div class="smallfont">
<script type="text/javascript" src="external.php?forumids=$foruminfo[childlist]&type=js"></script>
<script language="" type="text/javascript">
<!--
for (var x in threads)
{
document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"&goto=newpost\"><img class=\"inlineimg\" src=\"$stylevar[imgdir_button]/firstnew.gif\" alt=\"\" border=\"0\" /></a> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <br />");
}
//-->
</script></div>
 
</td>
</tr>
</tbody>
<!-- show latest active threads -->
</table>
<br />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 01-29-2008, 11:08 AM
Junior Member
 
Real Name: vbul
Join Date: Jan 2008
Posts: 17
are there any solutions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 01-29-2008, 03:01 PM
Joe Ward's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Joseph Ward
Join Date: Jun 2005
Location: Puerto Rico
Posts: 19,320
Blog Entries: 7
You want your URL rewrites to look like this?

Code:
showthread.php/1234-topicname
__________________
Joe Ward / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 01-29-2008, 03:22 PM
Junior Member
 
Real Name: vbul
Join Date: Jan 2008
Posts: 17
I just want them to be shown like in my forum (for example "http://www.vbseo.com/how-write-my-own-showthread-forumdisplay-links-vbseo-url-rewriting-enabled-19969/"). How can I do that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 01-29-2008, 04:33 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,450
Blog Entries: 1
Hello,

as I see, you have those links created in javascript:
HTML Code:
for (var x in threads)
{
document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"&goto=newpost\"><img class=\"inlineimg\" src=\"$stylevar[imgdir_button]/firstnew.gif\" alt=\"\" border=\"0\" /></a> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <br />");
}
as a result, that code is processed on client side (browser) and cannot be processed by vBSEO automatically. You can create SEOed URLs in your mod/script using vBSEO Functions for Extensibility though.
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
My Links & Download Manager Custom Re-write rules SemperFideles Custom Rewrite Rules 1 03-16-2008 06:21 PM
Enabled Archive re-write huntz Troubleshooting 6 01-10-2007 08:30 PM
No refresh/stable content of forumdisplay and showthread Tomek Troubleshooting 1 07-02-2006 08:52 AM


All times are GMT -4. The time now is 11:46 AM.


Powered by vBulletin Version 3.8.0 Beta 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.