GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   mod your wordpress permalinks (https://gfy.com/showthread.php?t=615206)

2HousePlague 05-28-2006 06:42 PM

mod your wordpress permalinks
 
Different wp tempates will create the permalink in different ways. Typically, the anchor text will be "permalink", which is kinda useless. If ya play with this part of the code (usually in the index.php template), you can change the anchor to something more useful, either the same word for all posts:

<span class="pside">permalink: </span> <a href="<?php the_permalink(); ?>">ANCHOR</a><br />

Or the name of the post:

<span class="pside">permalink: </span> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a><br />

The CSS tag for the treatment of the text in the title (in this case "pside"), may be called something else in your template.

2hp

Basic_man 05-28-2006 07:48 PM

That's true, I'm sure if you mix different kind of linking structure, SEs will love that !

Jace 05-28-2006 07:51 PM

I am not sure where you are getting your info, but I have my permalinks setup as the title of the post, I have always done that...it is a standard wordpress feature

uno 05-28-2006 09:36 PM

Depends on the template used and what the code is in the template Jace.

Jace 05-29-2006 12:13 PM

Quote:

Originally Posted by uno
Depends on the template used and what the code is in the template Jace.

ah, i didn't know that...every template I have used does the post name as the permalink

see you this week man, I am stoked!


All times are GMT -7. The time now is 07:48 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123