<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Tag: permalink</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Tag: permalink</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 08:42:35 +0000</pubDate>

<item>
<title>LiftBigEatBig on "How to use PERIODS in permalinks?"</title>
<link>http://wordpress.org/support/topic/335722#post-1294116</link>
<pubDate>Thu, 26 Nov 2009 02:54:29 +0000</pubDate>
<dc:creator>LiftBigEatBig</dc:creator>
<guid isPermaLink="false">1294116@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hey there,&#60;/p&#62;
&#60;p&#62;I have a site with a postname Amazon.com Coupons. The default permalink will set it to mydomain.com/amazon-com-coupons/&#60;/p&#62;
&#60;p&#62;Is there anyway to make it set it as mydomain.com/amazon.com-coupons/ ??&#60;/p&#62;
&#60;p&#62;I tried using the advanced permalinks plugin, and it did work, however when I clicked on the categories in the sidebar I get a page not found error.&#60;/p&#62;
&#60;p&#62;Any help?&#60;/p&#62;
&#60;p&#62;Thanks!!!!!
&#60;/p&#62;</description>
</item>
<item>
<title>grosbouff on "Build custom permalinks tags"</title>
<link>http://wordpress.org/support/topic/335690#post-1294034</link>
<pubDate>Thu, 26 Nov 2009 00:27:35 +0000</pubDate>
<dc:creator>grosbouff</dc:creator>
<guid isPermaLink="false">1294034@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi, is it possible to build custom permalink tags and use them ?&#60;/p&#62;
&#60;p&#62;Example :&#60;/p&#62;
&#60;p&#62;Currently I have the current permalink for my single post :&#60;/p&#62;
&#60;p&#62;.../%year%/%monthnum%/%category%/%postname%/&#60;br /&#62;
giving&#60;br /&#62;
.../2009/11/dogs/wondeful-shihuahua/&#60;/p&#62;
&#60;p&#62;Hi would like to &#60;/p&#62;
&#60;p&#62;ADD A CUSTOM PERMALINK TAG defined with a function.&#60;br /&#62;
Let's say the tag name would be &#34;action&#34;&#60;/p&#62;
&#60;p&#62;The permalink would be&#60;/p&#62;
&#60;p&#62;.../%year%/%monthnum%/%action%/%category%/%postname%/&#60;/p&#62;
&#60;p&#62;And the %action% value would be build with a function that checks something.&#60;/p&#62;
&#60;p&#62;It that case, I would like action to be &#34;sell&#34; if the single post contains the &#34;sell&#34; tag, and the action to be &#34;buy&#34; if the single posts contains the &#34;buy&#34; tag.  Else, nothing.&#60;/p&#62;
&#60;p&#62;Something like&#60;/p&#62;
&#60;p&#62;function get_permalink_action_tag():&#60;br /&#62;
global $post:&#60;/p&#62;
&#60;p&#62;	$post_tags = wp_get_post_tags($post-&#38;gt;ID);&#60;br /&#62;
	if ($post_tags) {&#60;br /&#62;
		foreach($post_tags as $tag) {&#60;br /&#62;
			if (($tag=='sell') &#124;&#124; ($tag=='buy'))&#60;br /&#62;
				return $tag;&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;Is it possible ?&#60;/p&#62;
&#60;p&#62;Thanks !
&#60;/p&#62;</description>
</item>
<item>
<title>awtj on ""pretty" permalinks"</title>
<link>http://wordpress.org/support/topic/333099#post-1293922</link>
<pubDate>Wed, 25 Nov 2009 22:03:52 +0000</pubDate>
<dc:creator>awtj</dc:creator>
<guid isPermaLink="false">1293922@http://wordpress.org/support/</guid>
<description>&#60;p&#62;OK...  Folowing the directions, I have installed URL Rewrite Module 1.1 (using Microsoft Web Platform Installer).  However...&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Once installed, open the &#60;strong&#62;web.config&#60;/strong&#62; file in the WordPress folder and add the following rule to the system.webServer element . . . &#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;There is NO &#60;strong&#62;web.config&#60;/strong&#62; file to edit &#60;em&#62;anywhere&#60;/em&#62; in my computer.&#60;/p&#62;
&#60;p&#62;So... now what?
&#60;/p&#62;</description>
</item>
<item>
<title>emartin24 on "SimpleModal Contact Form question"</title>
<link>http://wordpress.org/support/topic/331160#post-1292271</link>
<pubDate>Tue, 24 Nov 2009 16:23:32 +0000</pubDate>
<dc:creator>emartin24</dc:creator>
<guid isPermaLink="false">1292271@http://wordpress.org/support/</guid>
<description>&#60;p&#62;This question was resolved via email. Here was the proposed solution:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
There are a number of ways to accomplish your request, but try&#60;br /&#62;
this out and see if it fits your needs:&#60;/p&#62;
&#60;p&#62;In js/smcf.js, change:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;data: $(&#38;#39;#smcf-container form&#38;#39;).serialize() + &#38;#39;&#38;amp;action=send&#38;#39;,&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;data: $(&#38;#39;#smcf-container form&#38;#39;).serialize() +
&#38;#39;&#38;amp;action=send&#38;amp;permalink=&#38;#39; + encodeURIComponent(location.href),&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then in smcf_data.php, below:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (get_option(&#38;quot;smcf_ua&#38;quot;)) {
       $message .= &#38;quot;\n\nUSER AGENT: &#38;quot; . $_SERVER[&#38;quot;HTTP_USER_AGENT&#38;quot;];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Add:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (isset($_POST[&#38;quot;permalink&#38;quot;])) {
   $message .= &#38;quot;\n\nPERMALINK: &#38;quot; . isset($_POST[&#38;quot;permalink&#38;quot;]);
}&#60;/code&#62;&#60;/pre&#62;
&#60;/blockquote&#62;</description>
</item>
<item>
<title>chadrockman on ".htaccess and permalink: Internal server error after checking everything"</title>
<link>http://wordpress.org/support/topic/237668#post-1291789</link>
<pubDate>Tue, 24 Nov 2009 03:22:07 +0000</pubDate>
<dc:creator>chadrockman</dc:creator>
<guid isPermaLink="false">1291789@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I was having the same exact trouble. Did the suggestion that Shane G recommended and now it works perfectly! THANK YOU!
&#60;/p&#62;</description>
</item>
<item>
<title>spags on "Numeric Permalinks Skipping Numbers"</title>
<link>http://wordpress.org/support/topic/334117#post-1290181</link>
<pubDate>Sun, 22 Nov 2009 17:38:10 +0000</pubDate>
<dc:creator>spags</dc:creator>
<guid isPermaLink="false">1290181@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Ok, thanks for the information. I guess this has changed because my last version of Wordpress posted sequentially.
&#60;/p&#62;</description>
</item>
<item>
<title>darkhorn on "Contact Form 7 doesn't work with Permalink"</title>
<link>http://wordpress.org/support/topic/264607#post-1289718</link>
<pubDate>Sun, 22 Nov 2009 02:48:16 +0000</pubDate>
<dc:creator>darkhorn</dc:creator>
<guid isPermaLink="false">1289718@http://wordpress.org/support/</guid>
<description>&#60;p&#62;yes, permalinks does not work. i've done everthyng that is necessary. it shows me 404 error. why my wiki works but wordpress does not work?
&#60;/p&#62;</description>
</item>
<item>
<title>starnetwork on "seo permalinks with Hebrew URL's"</title>
<link>http://wordpress.org/support/topic/334159#post-1289604</link>
<pubDate>Sat, 21 Nov 2009 23:19:11 +0000</pubDate>
<dc:creator>starnetwork</dc:creator>
<guid isPermaLink="false">1289604@http://wordpress.org/support/</guid>
<description>&#60;p&#62;any solution ?
&#60;/p&#62;</description>
</item>
<item>
<title>starnetwork on "seo permalinks with Hebrew URL's"</title>
<link>http://wordpress.org/support/topic/334159#post-1289316</link>
<pubDate>Sat, 21 Nov 2009 18:02:20 +0000</pubDate>
<dc:creator>starnetwork</dc:creator>
<guid isPermaLink="false">1289316@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi&#60;br /&#62;
am using /%category%/%postname%.html as permalink&#60;br /&#62;
and its work well with posts (Hebrew and English URL's)&#60;br /&#62;
and its work well with English URL's in Pages&#60;br /&#62;
but its not work for Hebrew URL's in Pages&#60;/p&#62;
&#60;p&#62;there is someting i can do to make /%category%/%postname%.html work with Hebrew URL's for Pages ?&#60;/p&#62;
&#60;p&#62;Best Regards,&#60;br /&#62;
Star-Network.
&#60;/p&#62;</description>
</item>
<item>
<title>MichaelH on "Numeric Permalinks Skipping Numbers"</title>
<link>http://wordpress.org/support/topic/334117#post-1289209</link>
<pubDate>Sat, 21 Nov 2009 16:01:31 +0000</pubDate>
<dc:creator>MichaelH</dc:creator>
<guid isPermaLink="false">1289209@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Because the posts table stores revisions, pages, and attachment records your post IDs will NOT be sequential.&#60;/p&#62;
&#60;p&#62;Nothing you can do about it, really.
&#60;/p&#62;</description>
</item>
<item>
<title>spags on "Numeric Permalinks Skipping Numbers"</title>
<link>http://wordpress.org/support/topic/334117#post-1289175</link>
<pubDate>Sat, 21 Nov 2009 15:11:24 +0000</pubDate>
<dc:creator>spags</dc:creator>
<guid isPermaLink="false">1289175@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I just upgraded to 2.8.6 and now my numeric permalinks are not working correctly. When I create a new post it doesn't name the link with the next successive number. Back to back posts will be&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.alispagnola.com/blog/archives/123&#34; rel=&#34;nofollow&#34;&#62;http://www.alispagnola.com/blog/archives/123&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;and then&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.alispagnola.com/blog/archives/128&#34; rel=&#34;nofollow&#34;&#62;http://www.alispagnola.com/blog/archives/128&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;and posts number 124-127 are skipped. Why's this happening and how do I fix it?
&#60;/p&#62;</description>
</item>
<item>
<title>Christiaan on "Batch 301 redirect plugin?"</title>
<link>http://wordpress.org/support/topic/334079#post-1289056</link>
<pubDate>Sat, 21 Nov 2009 10:27:54 +0000</pubDate>
<dc:creator>Christiaan</dc:creator>
<guid isPermaLink="false">1289056@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I want to change my permalink structure from /2009/11/ to /&#60;/p&#62;
&#60;p&#62;Are there any plugins that will write the required 301 redirects automatically to my .htaccess file? If so, which is the best one for this particular task?
&#60;/p&#62;</description>
</item>
<item>
<title>esmi on "query_post for Child page or Page with - or — in it creates error"</title>
<link>http://wordpress.org/support/topic/333993#post-1288767</link>
<pubDate>Fri, 20 Nov 2009 23:50:11 +0000</pubDate>
<dc:creator>esmi</dc:creator>
<guid isPermaLink="false">1288767@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Try using:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php query_posts(&#38;#39;pagename=child&#38;#39;);?&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>jsml on "query_post for Child page or Page with - or — in it creates error"</title>
<link>http://wordpress.org/support/topic/333993#post-1288752</link>
<pubDate>Fri, 20 Nov 2009 23:40:43 +0000</pubDate>
<dc:creator>jsml</dc:creator>
<guid isPermaLink="false">1288752@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hello, I was trying to use this tag:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
query_posts(&#38;#39;pagename=parent/child&#38;#39;); // retrieve the child page of a parent
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;as seen on &#60;a href=&#34;http://codex.wordpress.org/Template_Tags/query_posts&#34;&#62;http://codex.wordpress.org/Template_Tags/query_posts&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However, when I do—for example—the following, I get errors (as in, the page does not get called and it instead shows the text for &#34;nothing posted yet&#34;)&#60;/p&#62;
&#60;p&#62;&#60;code&#62;pagename=about/history&#60;/code&#62;&#60;br /&#62;
or&#60;br /&#62;
&#60;code&#62;pagename=about-history&#60;/code&#62;&#60;br /&#62;
or&#60;br /&#62;
&#60;code&#62;pagename=about-—-history&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;They all won't bring up the post...&#60;/p&#62;
&#60;p&#62;The only pagename tag that I can get to work is when the title has no dashes in it...&#60;/p&#62;
&#60;p&#62;Any help, please???&#60;/p&#62;
&#60;p&#62;Many thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>JacoGriesel on "Attach permalink to image"</title>
<link>http://wordpress.org/support/topic/333778#post-1288595</link>
<pubDate>Fri, 20 Nov 2009 21:36:48 +0000</pubDate>
<dc:creator>JacoGriesel</dc:creator>
<guid isPermaLink="false">1288595@http://wordpress.org/support/</guid>
<description>&#60;p&#62;OK, no need to be an arse...&#60;/p&#62;
&#60;p&#62;Here's my solution in case somebody could use it.&#60;/p&#62;
&#60;p&#62;Replace:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;featcatpic&#38;quot; style=&#38;quot;width: 40px; height: 40px;background: url(&#38;lt;?php if($image_src != &#38;#39;&#38;#39;) { echo $image_src; } else { ?&#38;gt;&#38;lt;?php bloginfo(&#38;#39;template_directory&#38;#39;); ?&#38;gt;/images/default125.png&#38;lt;?php } ?&#38;gt;) 0 0 no-repeat;&#38;quot;&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div&#38;gt;
&#38;lt;?php if ($image_src) { ?&#38;gt;
&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink(); ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;&#38;lt;?php echo $image_src; ?&#38;gt;&#38;quot; alt=&#38;quot;Post Pic&#38;quot; width=&#38;quot;200&#38;quot; height=&#38;quot;200&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;?php } else { ?&#38;gt;
&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink(); ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;&#38;lt;?php bloginfo(&#38;#39;template_url&#38;#39;); ?&#38;gt;/images/default250.png&#38;quot; alt=&#38;quot;Screenshot&#38;quot; width=&#38;quot;200&#38;quot; height=&#38;quot;200&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;?php } ?&#38;gt;&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Easy!
&#60;/p&#62;</description>
</item>
<item>
<title>JacoGriesel on "Attach permalink to image"</title>
<link>http://wordpress.org/support/topic/333778#post-1288593</link>
<pubDate>Fri, 20 Nov 2009 21:30:01 +0000</pubDate>
<dc:creator>JacoGriesel</dc:creator>
<guid isPermaLink="false">1288593@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Four hours later and guess what?&#60;/p&#62;
&#60;p&#62;I SOLVED IT MYSELF!&#60;/p&#62;
&#60;p&#62;Lots of googling, lots of trial and error, lots of crappy parse messages, but eventually -&#60;/p&#62;
&#60;p&#62;I SOLVED IT MYSELF!&#60;/p&#62;
&#60;p&#62;In case anybody was struggling with the same problem -&#60;/p&#62;
&#60;p&#62;SOLVE IT YOURSELF!
&#60;/p&#62;</description>
</item>
<item>
<title>JacoGriesel on "Attach permalink to image"</title>
<link>http://wordpress.org/support/topic/333778#post-1288267</link>
<pubDate>Fri, 20 Nov 2009 17:07:59 +0000</pubDate>
<dc:creator>JacoGriesel</dc:creator>
<guid isPermaLink="false">1288267@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Whoop-whoop!&#60;/p&#62;
&#60;p&#62;Our American friends must be up and going by now - maybe they can solve this for me...&#60;/p&#62;
&#60;p&#62;Any help would be appreciated...&#60;/p&#62;
&#60;p&#62;THANKS!
&#60;/p&#62;</description>
</item>
<item>
<title>carlla on "Permalink without /author/"</title>
<link>http://wordpress.org/support/topic/333449#post-1287972</link>
<pubDate>Fri, 20 Nov 2009 13:10:18 +0000</pubDate>
<dc:creator>carlla</dc:creator>
<guid isPermaLink="false">1287972@http://wordpress.org/support/</guid>
<description>&#60;blockquote&#62;&#60;p&#62;Maybe have a main page -&#38;gt; list all authors -&#38;gt; author.php with profile and author posts underneath?
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Yes, my index.php is working like that&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62; what happens when an author makes a post with the same name as another author? That's bad structuring ( and with that comes bad sites ).
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I can use a filter when update posts and change the slug to prevent that, but if it happens then the permalink will show the author page - default.&#60;/p&#62;
&#60;p&#62;My blog will give special atention to the authors, then the permalink will be very important. &#60;/p&#62;
&#60;p&#62;but ok, you convinced me.. I will leave it /author-name/post-name&#60;/p&#62;
&#60;p&#62;thank you very much for your help =)
&#60;/p&#62;</description>
</item>
<item>
<title>basszje on "Permalink without /author/"</title>
<link>http://wordpress.org/support/topic/333449#post-1287958</link>
<pubDate>Fri, 20 Nov 2009 12:40:08 +0000</pubDate>
<dc:creator>basszje</dc:creator>
<guid isPermaLink="false">1287958@http://wordpress.org/support/</guid>
<description>&#60;p&#62;You can use the template tags to get all posts from 'test' author within the profile page maybe ( not sure if you are looking for that !) &#60;/p&#62;
&#60;p&#62;But if you want to mix names I don't think that will be very smart. For instance what happens when an author makes a post with the same name as another author? That's bad structuring ( and with that comes bad sites ). &#60;/p&#62;
&#60;p&#62;Maybe have a main page -&#38;gt; list all authors -&#38;gt; author.php with profile and author posts underneath? &#60;/p&#62;
&#60;p&#62;Just a thought..
&#60;/p&#62;</description>
</item>
<item>
<title>skepticismevan on "Change all permalinks after blog move"</title>
<link>http://wordpress.org/support/topic/333796#post-1287954</link>
<pubDate>Fri, 20 Nov 2009 12:32:00 +0000</pubDate>
<dc:creator>skepticismevan</dc:creator>
<guid isPermaLink="false">1287954@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Oops.. sorry... It was much easier than I thought. A simple change of desired URL in the Settings&#38;gt;General.
&#60;/p&#62;</description>
</item>
<item>
<title>skepticismevan on "Change all permalinks after blog move"</title>
<link>http://wordpress.org/support/topic/333796#post-1287944</link>
<pubDate>Fri, 20 Nov 2009 12:12:12 +0000</pubDate>
<dc:creator>skepticismevan</dc:creator>
<guid isPermaLink="false">1287944@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi folks. I've run into a problem.&#60;br /&#62;
We had a blog located at... say.. &#60;a href=&#34;http://www.ourblog.com&#34; rel=&#34;nofollow&#34;&#62;http://www.ourblog.com&#60;/a&#62;&#60;br /&#62;
Now we've moved it to a friend's hosting service and he had the space he offered named blog.nonsense.com&#60;br /&#62;
We set up the blog and redirected &#60;a href=&#34;http://www.ourblog.com&#34; rel=&#34;nofollow&#34;&#62;http://www.ourblog.com&#60;/a&#62; so it points to blog.nonsense.com. The problem is that all the internal links in the blog now read blog.nonsense.com/etc... (silly mistake, I know)&#60;/p&#62;
&#60;p&#62;Is there a way to change all links so that they print the original domain URL (in this case &#60;a href=&#34;http://www.ourblog.com&#34; rel=&#34;nofollow&#34;&#62;http://www.ourblog.com&#60;/a&#62;)? (in case it matters, we're using the Vigilance Theme)
&#60;/p&#62;</description>
</item>
<item>
<title>JacoGriesel on "Attach permalink to image"</title>
<link>http://wordpress.org/support/topic/333778#post-1287914</link>
<pubDate>Fri, 20 Nov 2009 11:16:59 +0000</pubDate>
<dc:creator>JacoGriesel</dc:creator>
<guid isPermaLink="false">1287914@http://wordpress.org/support/</guid>
<description>&#60;p&#62;*sigh*&#60;/p&#62;
&#60;p&#62;Seems we're all a bunch of novices here...  Searching for help...  Mostly in vain...
&#60;/p&#62;</description>
</item>
<item>
<title>JacoGriesel on "Attach permalink to image"</title>
<link>http://wordpress.org/support/topic/333778#post-1287870</link>
<pubDate>Fri, 20 Nov 2009 10:13:53 +0000</pubDate>
<dc:creator>JacoGriesel</dc:creator>
<guid isPermaLink="false">1287870@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hey!&#60;/p&#62;
&#60;p&#62;I've borrowed a piece of code from the Hamahsaki theme to extract the first image in a post and show it as a thumbnail on the frontpage.  The code follows:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;featcat&#38;quot; id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot;&#38;gt;
&#38;lt;?php $id =$post-&#38;gt;ID;
$the_content =$wpdb-&#38;gt;get_var(&#38;quot;SELECT post_content FROM $wpdb-&#38;gt;posts WHERE ID = $id&#38;quot;);
$pattern = &#38;#39;!&#38;lt;img.*?src=&#38;quot;(.*?)&#38;quot;!&#38;#39;;
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches[&#38;#39;1&#38;#39;][0]; ?&#38;gt;

&#38;lt;div id=&#38;quot;featcatpic&#38;quot; style=&#38;quot;width: 40px; height: 40px;background: url(&#38;lt;?php if($image_src != &#38;#39;&#38;#39;) { echo $image_src; } else { ?&#38;gt;&#38;lt;?php bloginfo(&#38;#39;template_directory&#38;#39;); ?&#38;gt;/images/default125.png&#38;lt;?php } ?&#38;gt;) 0 0 no-repeat;&#38;quot;&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now I would like to &#34;attach&#34; the permalink for the post to the image displayed.  Any help?&#60;/p&#62;
&#60;p&#62;Thanks in advance!
&#60;/p&#62;</description>
</item>
<item>
<title>carlla on "Permalink without /author/"</title>
<link>http://wordpress.org/support/topic/333449#post-1286943</link>
<pubDate>Thu, 19 Nov 2009 15:59:27 +0000</pubDate>
<dc:creator>carlla</dc:creator>
<guid isPermaLink="false">1286943@http://wordpress.org/support/</guid>
<description>&#60;p&#62;ok...&#60;/p&#62;
&#60;p&#62;I went to admin &#38;gt; permalinks and I try to use custom structure /%author%/%postname%/ ( with 3 '/' )&#60;/p&#62;
&#60;p&#62;It works to get the profile page. When I go to &#60;a href=&#34;http://www.blog.com/test&#34; rel=&#34;nofollow&#34;&#62;http://www.blog.com/test&#60;/a&#62; I get the profile page of author named 'test'. But, to get the posts, my permalinks are &#60;a href=&#34;http://www.myblog.com/test/post-name&#34; rel=&#34;nofollow&#34;&#62;http://www.myblog.com/test/post-name&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I am starting to think we can't change the structure to get only top level permalinks =/ not in a safe and easy way.
&#60;/p&#62;</description>
</item>
<item>
<title>carlla on "Permalink without /author/"</title>
<link>http://wordpress.org/support/topic/333449#post-1286838</link>
<pubDate>Thu, 19 Nov 2009 14:19:47 +0000</pubDate>
<dc:creator>carlla</dc:creator>
<guid isPermaLink="false">1286838@http://wordpress.org/support/</guid>
<description>&#60;p&#62;thank you for reply =)&#60;/p&#62;
&#60;p&#62;I need to show a kind of public profile page.&#60;/p&#62;
&#60;p&#62;I am going to use author.php and the author functions, as you said. But I don't know how to change my permalink structure to work like it:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.blog.com/test&#34; rel=&#34;nofollow&#34;&#62;http://www.blog.com/test&#60;/a&#62;&#60;br /&#62;
1 - 'test' is a author name, then get author.php and show the profile&#60;br /&#62;
2 - 'test' isn't a author name, 'test' is a post slug, then get the single.php and show the post&#60;br /&#62;
3 - 'test' is neither one, get a 404 page
&#60;/p&#62;</description>
</item>
<item>
<title>basszje on "Permalink without /author/"</title>
<link>http://wordpress.org/support/topic/333449#post-1286791</link>
<pubDate>Thu, 19 Nov 2009 13:24:34 +0000</pubDate>
<dc:creator>basszje</dc:creator>
<guid isPermaLink="false">1286791@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm not sure what you want exactly. &#60;/p&#62;
&#60;p&#62;- You can reach posts from author via the permalink structure.&#60;br /&#62;
- You can use &#60;a href=&#34;http://codex.wordpress.org/Author_Templates&#34;&#62;author templates&#60;/a&#62;&#60;br /&#62;
- Check the &#60;a href=&#34;http://codex.wordpress.org/Function_Reference&#34;&#62;function reference&#60;/a&#62; ( maybe checking for &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/username_exists&#34;&#62;user exists&#60;/a&#62;? )
&#60;/p&#62;</description>
</item>
<item>
<title>carlla on "Permalink without /author/"</title>
<link>http://wordpress.org/support/topic/333449#post-1286786</link>
<pubDate>Thu, 19 Nov 2009 13:16:10 +0000</pubDate>
<dc:creator>carlla</dc:creator>
<guid isPermaLink="false">1286786@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I read about &#60;a href=&#34;http://codex.wordpress.org/Query_Overview&#34;&#62;query overview&#60;/a&#62; and &#60;a href=&#34;http://codex.wordpress.org/Custom_Queries&#34;&#62;custom queries&#60;/a&#62;. I am not sure if it is useful to me because I am trying to use the custom permalink structure %postname% (admin panel &#38;gt; permalinks) as usually, but I have to give priority to redirect to author page. I can't use %author% in admin permalink settings, can I? It is not working now. &#60;/p&#62;
&#60;p&#62;Is there any other way?
&#60;/p&#62;</description>
</item>
<item>
<title>carlla on "Permalink without /author/"</title>
<link>http://wordpress.org/support/topic/333449#post-1286711</link>
<pubDate>Thu, 19 Nov 2009 12:03:42 +0000</pubDate>
<dc:creator>carlla</dc:creator>
<guid isPermaLink="false">1286711@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I need to look for a author page before the post page.&#60;/p&#62;
&#60;p&#62;Ex: &#60;a href=&#34;http://www.mysite.com/test&#34; rel=&#34;nofollow&#34;&#62;http://www.mysite.com/test&#60;/a&#62;&#60;br /&#62;
If there is a author named 'test' I have to redirect to author page (template author) instead the post page. If there is no author named 'test' then continue normaly. &#60;/p&#62;
&#60;p&#62;Have someone even done it before?
&#60;/p&#62;</description>
</item>
<item>
<title>awtj on ""pretty" permalinks"</title>
<link>http://wordpress.org/support/topic/333099#post-1286064</link>
<pubDate>Wed, 18 Nov 2009 21:41:32 +0000</pubDate>
<dc:creator>awtj</dc:creator>
<guid isPermaLink="false">1286064@http://wordpress.org/support/</guid>
<description>&#60;p&#62;THANK YOU for the ultra fast reply!  I was called away right after I posted my question, or I'd have been right back with you then.&#60;/p&#62;
&#60;p&#62;&#34;Work&#34; means that once I have everything set on my computer (localhost) that I can upload the files to my web site and everything  works there, too.  :-)&#60;/p&#62;
&#60;p&#62;Then I can play / tweak / etc. on my computer to make things better as I learn more about WordPress, then uplaod any changes to the web site and it STILL works!  ;-)&#60;/p&#62;
&#60;p&#62;SO... What I'm getting from reading the two links above is:&#60;/p&#62;
&#60;p&#62;1 - I should make sure that my web hosting site is &#60;strong&#62;not&#60;/strong&#62; Windows-based&#60;/p&#62;
&#60;p&#62;&#60;em&#62;&#60;strong&#62;** OR  **&#60;/strong&#62;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;Install Windows URL Rewrite Module on my web site&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;** AND **&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;2 - I should install Windows URL Rewrite Module on MY computer (localhost) so that &#34;Pretty&#34; permalinks will work&#60;/p&#62;
&#60;p&#62;&#60;em&#62;&#60;strong&#62;** OR **&#60;/strong&#62;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;I should &#60;strong&#62;not&#60;/strong&#62; worry about it because when I upload the pages / categories / etc. they will all get the &#34;Pretty&#34; permalink URL &#60;strong&#62;as long as&#60;/strong&#62; I enable it during the initial WordPress installation on my web host site?
&#60;/p&#62;</description>
</item>
<item>
<title>whooami on ""pretty" permalinks"</title>
<link>http://wordpress.org/support/topic/333099#post-1285632</link>
<pubDate>Wed, 18 Nov 2009 14:50:10 +0000</pubDate>
<dc:creator>whooami</dc:creator>
<guid isPermaLink="false">1285632@http://wordpress.org/support/</guid>
<description>&#60;p&#62;assuming you are using IIS on your local machine, you need to read this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite&#60;/a&#62;&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
When I get ready to post the WordPress version of my web site, I'd like to have the &#34;Pretty&#34; permalinks (month/day/year/sample-post). Will I have a problem?&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;that depends. READ this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://codex.wordpress.org/Using_Permalinks&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Using_Permalinks&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Your hosting environment is what you need to be concerned with - not WordPress.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;I want to keep a copy on my computer (for tweaking, etc.) but want both the web site and my &#34;localhost&#34; version to work.&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;can you define what you mean by &#34;work&#34;, after youve read the links above :)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
