[wp-hackers] Unique permalinks vs. unique post slugs
Shashi
connect2shashi at gmail.com
Tue Dec 16 15:06:21 GMT 2008
You can add the post to two categories...
the struct will then be:
http://example.com/cat-base/cat-slug/post-slug.html
http://example.com/cat-base/cat-slug2/post-slug.html
right??
you can hack the rewrite to allow you to have it like this:
http://example.com/cat-slug/post-slug.html
On Tue, Dec 16, 2008 at 7:54 PM, Otto <otto at ottodestruct.com> wrote:
> Slugs have to be unique. The whole posts table system is based on that.
>
>
> On Tue, Dec 16, 2008 at 4:13 AM, <scribu at gmail.com> wrote:
>> That's not the case: whe're talking about different posts with identical slugs.
>>
>> On 12/15/08, Jeremy Clarke <jer-wphackers at simianuprising.com> wrote:
>>> Watch out! Google hates finding the exact same content on two
>>> different pages and will punish you on the assumption that you are
>>> messing with them.
>>>
>>> If you do have two urls with the same essential content make sure
>>> there are *at least* trivial differences between the two versions
>>> (maybe highlight the active category somehow, or just make sure some
>>> random sidebar content is different).
>>>
>>> --
>>> Jeremy Clarke | http://simianuprising.com
>>> Code and Design | http://globalvoicesonline.org
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>
>>
>>
>> --
>> http://scribu.net
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
, ,
/ \
((__-^^-,-^^-__))
`_----' `-----_-'
`--| o` 'o |--'
\ ` /
): : (
:o__o:
"---- "
www.gnu.org
www.uncorkers.org
More information about the wp-hackers
mailing list