<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: WordPress Permalink &#8211; How to Add Your Own Permalink Structures	</title>
	<atom:link href="https://www.shibashake.com/wp/wordpress-permalink-add/feed" rel="self" type="application/rss+xml" />
	<link>https://shibashake.com/wp/wordpress-permalink-add</link>
	<description>Adventures in WordPress</description>
	<lastBuildDate>Tue, 03 May 2016 10:55:37 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>
		By: Custom permalink structure for custom post types &#124; jimbo1337		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-881880</link>

		<dc:creator><![CDATA[Custom permalink structure for custom post types &#124; jimbo1337]]></dc:creator>
		<pubDate>Tue, 03 May 2016 10:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-881880</guid>

					<description><![CDATA[[&#8230;] WordPress Permalink &#8211; How to Add Your Own Permalink Structures [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] WordPress Permalink &#8211; How to Add Your Own Permalink Structures [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: nate Love		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-861488</link>

		<dc:creator><![CDATA[nate Love]]></dc:creator>
		<pubDate>Wed, 14 Oct 2015 13:59:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-861488</guid>

					<description><![CDATA[How do I get the path: domain.com/watch?v=id encode Thanks]]></description>
			<content:encoded><![CDATA[<p>How do I get the path: domain.com/watch?v=id encode Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Javier		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-75004</link>

		<dc:creator><![CDATA[Javier]]></dc:creator>
		<pubDate>Thu, 06 Jun 2013 13:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-75004</guid>

					<description><![CDATA[Hope you can help

Currently I have this structure in Wordpress

/% category% /% postname% /

I want to change the permalink of the pots in one category, and leave the rest the same.

These posts should have this permalink:

/% post_id% /% category% /% postname% /

Could you help me how to do it. I tried with your article do but I don&#039;t get it.

Thank you so much]]></description>
			<content:encoded><![CDATA[<p>Hope you can help</p>
<p>Currently I have this structure in WordPress</p>
<p>/% category% /% postname% /</p>
<p>I want to change the permalink of the pots in one category, and leave the rest the same.</p>
<p>These posts should have this permalink:</p>
<p>/% post_id% /% category% /% postname% /</p>
<p>Could you help me how to do it. I tried with your article do but I don&#8217;t get it.</p>
<p>Thank you so much</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-23401</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Wed, 01 Aug 2012 14:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-23401</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-23040&quot;&gt;Mark&lt;/a&gt;.

My guess is that a different permalink rule is firing instead of the one you want. Given the structures you posted, there may be conflicts with existing permalink rules.
http://shibashake.com/wordpress-theme/custom-post-type-permalinks-part-2#conflict]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-23040">Mark</a>.</p>
<p>My guess is that a different permalink rule is firing instead of the one you want. Given the structures you posted, there may be conflicts with existing permalink rules.<br />
<a href="http://shibashake.com/wordpress-theme/custom-post-type-permalinks-part-2#conflict" rel="nofollow ugc">http://shibashake.com/wordpress-theme/custom-post-type-permalinks-part-2#conflict</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mark		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-23040</link>

		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Thu, 26 Jul 2012 12:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-23040</guid>

					<description><![CDATA[I&#039;ve read three or four of your post and I&#039;m still stumped. I&#039;m trying to do a permalink &quot;reorg&quot;. I thought it was as simple as using add_rewrite_rule but that doesn&#039;t seem to be working. Perhaps you can help? Let me explain.

The current site has a number of customer post types. The URLs look like: mysite.com/post_type/post-name-URL-slug.

What we want to do is add two tracking segments. Think breadcrumbs, in a way. For example

mysite.com/page/some-page-name/post_type/post-name-URL-slug

mysite.com/page/some-other-page-name/post_type/post-name-URL-slug

Send end content post but coming at it from two different directions. It&#039;s an analytcis related issue, if you&#039;re wondering. 

I&#039;ve added a rewrite rule to parse the new URL but when I do the request, the added &quot;tracking&quot; segments get removed. I get the content I want (good!) but the URI changes (not good).

What am I overlooking here?]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve read three or four of your post and I&#8217;m still stumped. I&#8217;m trying to do a permalink &#8220;reorg&#8221;. I thought it was as simple as using add_rewrite_rule but that doesn&#8217;t seem to be working. Perhaps you can help? Let me explain.</p>
<p>The current site has a number of customer post types. The URLs look like: mysite.com/post_type/post-name-URL-slug.</p>
<p>What we want to do is add two tracking segments. Think breadcrumbs, in a way. For example</p>
<p>mysite.com/page/some-page-name/post_type/post-name-URL-slug</p>
<p>mysite.com/page/some-other-page-name/post_type/post-name-URL-slug</p>
<p>Send end content post but coming at it from two different directions. It&#8217;s an analytcis related issue, if you&#8217;re wondering. </p>
<p>I&#8217;ve added a rewrite rule to parse the new URL but when I do the request, the added &#8220;tracking&#8221; segments get removed. I get the content I want (good!) but the URI changes (not good).</p>
<p>What am I overlooking here?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: WordPress Permalink – How to Add Your Own Permalink Structures &#124; WordPress News		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-3174</link>

		<dc:creator><![CDATA[WordPress Permalink – How to Add Your Own Permalink Structures &#124; WordPress News]]></dc:creator>
		<pubDate>Thu, 03 Feb 2011 20:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-3174</guid>

					<description><![CDATA[[...] this link: WordPress Permalink – How to Add Your Own Permalink Structures   Posted in WordPress  Tags: permalink, plugins, structure, WordPress   &#171; Why Can&#8217;t We [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] this link: WordPress Permalink – How to Add Your Own Permalink Structures   Posted in WordPress  Tags: permalink, plugins, structure, WordPress   &laquo; Why Can&#8217;t We [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2424</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Mon, 08 Nov 2010 22:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-2424</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2405&quot;&gt;Alessio&lt;/a&gt;.

Sounds like using server redirects would be the better way to go.

But if you want to do this within WordPress, you can just hook into the &lt;em&gt;request&lt;/em&gt; filter hook, check for your &lt;strong&gt;more.html&lt;/strong&gt; name within your function, and then redirect it to the proper post id in the returned query arguments.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2405">Alessio</a>.</p>
<p>Sounds like using server redirects would be the better way to go.</p>
<p>But if you want to do this within WordPress, you can just hook into the <em>request</em> filter hook, check for your <strong>more.html</strong> name within your function, and then redirect it to the proper post id in the returned query arguments.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alessio		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2405</link>

		<dc:creator><![CDATA[Alessio]]></dc:creator>
		<pubDate>Wed, 03 Nov 2010 17:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-2405</guid>

					<description><![CDATA[Is possible create an alias for permalinks of post? if I add a post with poermalink /blog/category/post.html I can add an alias permalink like /blog/category/post/more.html ?
this 2 permalinks must get same post id.]]></description>
			<content:encoded><![CDATA[<p>Is possible create an alias for permalinks of post? if I add a post with poermalink /blog/category/post.html I can add an alias permalink like /blog/category/post/more.html ?<br />
this 2 permalinks must get same post id.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2400</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Tue, 02 Nov 2010 21:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-2400</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2389&quot;&gt;Daniel Iser&lt;/a&gt;.

Hello Daniel,
I&#039;m afraid I won&#039;t be of much help here. Regular expressions are really not my forte. I usually just bang at it, try out a whole bunch of different patterns, bang at it some more, until something works. :D]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2389">Daniel Iser</a>.</p>
<p>Hello Daniel,<br />
I&#8217;m afraid I won&#8217;t be of much help here. Regular expressions are really not my forte. I usually just bang at it, try out a whole bunch of different patterns, bang at it some more, until something works. 😀</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Iser		</title>
		<link>https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2389</link>

		<dc:creator><![CDATA[Daniel Iser]]></dc:creator>
		<pubDate>Fri, 29 Oct 2010 16:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=4728#comment-2389</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2388&quot;&gt;Daniel Iser&lt;/a&gt;.

Not sure but assuming that you only need the last child in the category, the lowest sub can i break it apart to use only the last slug for the wp_rewrite?

because %res_brands% could be parent/child/grandchild and posts assigned to the grandchild category would show up under parent and child so for the rewrite rule im assuming i need to change &#039;([^/]+)&#039; to something that selects only the text after the last &#039;/&#039;?

$wp_rewrite-&#062;add_rewrite_tag(&quot;%res_brands%&quot;, &#039;([^/]+)&#039;, &quot;resbrand=&quot;);]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/wordpress-permalink-add/comment-page-1#comment-2388">Daniel Iser</a>.</p>
<p>Not sure but assuming that you only need the last child in the category, the lowest sub can i break it apart to use only the last slug for the wp_rewrite?</p>
<p>because %res_brands% could be parent/child/grandchild and posts assigned to the grandchild category would show up under parent and child so for the rewrite rule im assuming i need to change &#8216;([^/]+)&#8217; to something that selects only the text after the last &#8216;/&#8217;?</p>
<p>$wp_rewrite-&gt;add_rewrite_tag(&#8220;%res_brands%&#8221;, &#8216;([^/]+)&#8217;, &#8220;resbrand=&#8221;);</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/73 objects using disk
Page Caching using disk: enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.shibashake.com
Lazy Loading (feed)
Minified using disk
Database Caching using disk (Request-wide modification query)

Served from: www.shibashake.com @ 2024-12-16 01:55:55 by W3 Total Cache
-->