Mark Jaquith
|
10ceba3686
|
Properly redirect custom post type URLs in redirect_canonical(). fixes #13561
git-svn-id: https://develop.svn.wordpress.org/trunk@14954 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 19:56:26 +00:00 |
Peter Westwood
|
fd4a9ffa86
|
Switch to checking on tt_ids for the category lookup to ensure in_array call is PHP4 compatible. See #13410
git-svn-id: https://develop.svn.wordpress.org/trunk@14696 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-16 20:47:18 +00:00 |
Ryan Boren
|
402b875b3d
|
Attempt canonical redirect only for public post types. Props solarissmoke. see #13125
git-svn-id: https://develop.svn.wordpress.org/trunk@14595 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 15:09:43 +00:00 |
Ryan Boren
|
d783952469
|
Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:26:11 +00:00 |
Dion Hulse
|
9f6f8fd12b
|
Serve a canonical redirection for ?p=, ?page_id=, ?attachment_id= url's for incorrect post_types (ie. ?p=<page_id> will redirect to that page url). Fixes #13125
git-svn-id: https://develop.svn.wordpress.org/trunk@14355 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 00:37:11 +00:00 |
Dion Hulse
|
d10ff2dfc5
|
Canonical redirect to correct location if rss2 is not default feed. wp-feed.php redirection to default feed type instad of rss2. Props solarissmoke. Fixes #13047
git-svn-id: https://develop.svn.wordpress.org/trunk@14162 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-19 12:03:01 +00:00 |
Dion Hulse
|
09c1f4eb75
|
Advertise the correct comment feed link for a Page on the Front. Do not canonical redirect the front page comments feeds to home. Fixes #12452
git-svn-id: https://develop.svn.wordpress.org/trunk@14141 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 06:51:16 +00:00 |
Dion Hulse
|
cc26a706e8
|
Slight Coding standards update
git-svn-id: https://develop.svn.wordpress.org/trunk@13866 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-28 06:05:50 +00:00 |
Dion Hulse
|
1b219fcd7a
|
Add some defensive checks to Canonical redirection of %category% to ensure notices are not thrown. Props jfarthing84 for pointing out possibility. See #11907
git-svn-id: https://develop.svn.wordpress.org/trunk@13798 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 07:05:50 +00:00 |
Dion Hulse
|
691bd47301
|
Only allow %category% to be a valid category attached to the current post when using %category% in a permalink structure. Fixes #11807
git-svn-id: https://develop.svn.wordpress.org/trunk@13781 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 06:27:27 +00:00 |
Dion Hulse
|
9e75e9944d
|
Update Canonical paging to reconise /page(\d+)/? as a valid paging path. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13780 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 03:22:08 +00:00 |
Dion Hulse
|
47426465ed
|
Limit redirect_guess_404_permalink() to the same post_type if it's specified in the query. See #12601
git-svn-id: https://develop.svn.wordpress.org/trunk@13697 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-14 05:06:47 +00:00 |
Dion Hulse
|
242b49b6f2
|
Correct logic inversion in Canonical Taxonomy Term links. Fixes #12547
git-svn-id: https://develop.svn.wordpress.org/trunk@13623 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-09 10:07:03 +00:00 |
Dion Hulse
|
4b4c0c6cd2
|
Dont clobber taxonomy intersections/unions. Only redirects to the canonical url if only one term has been queried. Props scribu for some of the commit. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13480 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 02:49:01 +00:00 |
Andrew Nacin
|
e7fa18385a
|
Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: https://develop.svn.wordpress.org/trunk@13427 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-26 06:21:47 +00:00 |
Ryan Boren
|
66b081abd2
|
Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-24 19:07:21 +00:00 |
Ryan Boren
|
f24e88359e
|
Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-21 00:03:42 +00:00 |
Dion Hulse
|
04a67c293e
|
2nd pass at Taxonomy Term canonicalisation. Fix get_term_link() to expect null|false||WP_Error failure from get_term() family. See #12245, #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13170 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-16 09:08:26 +00:00 |
Dion Hulse
|
a5ad001b73
|
s/$original/$redirect/ in [13091]. Props miqrogroove. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13099 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 08:29:55 +00:00 |
Dion Hulse
|
60de8ec26f
|
Canonicalisation of the Taxonomy urls. Redirect /category/child/ to /category/parent/child/. Fix striping of slashes to use $redirect instead of $original. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13091 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 06:17:59 +00:00 |
Dion Hulse
|
bcf5ab6307
|
Strip out multiple slashes on non-post URL's. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13072 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 00:11:23 +00:00 |
Dion Hulse
|
76dda2b570
|
Redirect ?page_id=xx for the Posts page to the posts page. Fixes #11991
git-svn-id: https://develop.svn.wordpress.org/trunk@12980 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-06 03:50:55 +00:00 |
Dion Hulse
|
b385071e76
|
Redirect home_url variants to home_url(). See #11991
git-svn-id: https://develop.svn.wordpress.org/trunk@12979 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-06 03:40:24 +00:00 |
Ryan Boren
|
22e8867c67
|
User correct var. Props nacin. fixes #12066
git-svn-id: https://develop.svn.wordpress.org/trunk@12889 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-28 17:30:50 +00:00 |
Mark Jaquith
|
2d9af20cc3
|
Do not fire the redirect_canonical filter if the redirect_url is empty. fixes #11700
git-svn-id: https://develop.svn.wordpress.org/trunk@12692 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-10 19:05:43 +00:00 |
Mark Jaquith
|
7263a46dae
|
Do proper canonical redirect for ?paged=1 or /page/1/. fixes #11696
git-svn-id: https://develop.svn.wordpress.org/trunk@12691 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-10 18:56:03 +00:00 |
Ryan Boren
|
974b6c1ce4
|
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-04 17:23:29 +00:00 |
Ryan Boren
|
428f0698c0
|
Fix undefined index notice in canonical. Props dd32. fixes #11057
git-svn-id: https://develop.svn.wordpress.org/trunk@12202 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-17 21:01:03 +00:00 |
Mark Jaquith
|
12d1c6e5cc
|
Remove redundant !empty() checks. props filosofo. see #10960
git-svn-id: https://develop.svn.wordpress.org/trunk@12040 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-15 14:47:04 +00:00 |
Mark Jaquith
|
da87e95962
|
Do not do a canonical redirect for negated author query strings. fixes #10960
git-svn-id: https://develop.svn.wordpress.org/trunk@12034 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-15 09:13:38 +00:00 |
Ryan Boren
|
43c201d458
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-14 14:03:32 +00:00 |
Ryan Boren
|
6bee1ea91d
|
Canonical redirect for attachment_id queries that have a permalink.
git-svn-id: https://develop.svn.wordpress.org/trunk@11869 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-24 18:03:49 +00:00 |
Ryan Boren
|
9223d6583f
|
Canonical redirects for post name queries. Props DD32. see #6516
git-svn-id: https://develop.svn.wordpress.org/trunk@11745 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-26 17:16:53 +00:00 |
Mark Jaquith
|
7cdfccc12f
|
Strip /feed/ endings even if they are not at the very end, in canonical. props jhodgdon. fixes #8642 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10505 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-04 23:07:41 +00:00 |
Mark Jaquith
|
2e96af8795
|
Allow plugins to provide a canonical redirect_url even if WordPress does not provide its own. props wnorris. fixes #8975 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10448 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-28 08:47:42 +00:00 |
Mark Jaquith
|
07cf58c881
|
Only redirect categories if one "cat" positive integer is specified. fixes #8784 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10396 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-21 19:47:51 +00:00 |
Mark Jaquith
|
4911a69eaa
|
Handle front page comment feeds in Canonical. fixes #8320
git-svn-id: https://develop.svn.wordpress.org/trunk@9883 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-25 21:28:42 +00:00 |
Mark Jaquith
|
ee672054aa
|
Comment Page URL fixes by wnorris. fixes #8297
git-svn-id: https://develop.svn.wordpress.org/trunk@9831 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-21 17:33:05 +00:00 |
Mark Jaquith
|
7db2007a7b
|
Make Canonical feeds and paging play nice with each other and with PATHINFO URL structures. fixes #8076
git-svn-id: https://develop.svn.wordpress.org/trunk@9697 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-14 22:48:22 +00:00 |
Mark Jaquith
|
bf4913ea19
|
Revert [9193]. See #6627. Will revisit for 2.8
git-svn-id: https://develop.svn.wordpress.org/trunk@9649 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-12 21:55:25 +00:00 |
Mark Jaquith
|
f9e9676597
|
Canonical now only redirects to a different domain if the domains differ by their yes-www/no-www status. fixes #5089
git-svn-id: https://develop.svn.wordpress.org/trunk@9646 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-12 21:27:19 +00:00 |
Mark Jaquith
|
1feb7f4ffb
|
Catch more blank query string thing cases, without resorting to crazy regex. props filosofo. fixes #8098
git-svn-id: https://develop.svn.wordpress.org/trunk@9645 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-12 21:08:48 +00:00 |
Mark Jaquith
|
e383920415
|
Be more picky about the trailing blank query string things we strip. props filosofo, fitztrev, stevish, azaozz, DD32 (go team!). fixes #8098. fixes #8180
git-svn-id: https://develop.svn.wordpress.org/trunk@9642 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-12 20:09:16 +00:00 |
Ryan Boren
|
e36aee40d4
|
Don't use deprecated functions. Props filosofo. fixes #8130
git-svn-id: https://develop.svn.wordpress.org/trunk@9590 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-10 17:45:38 +00:00 |
Ryan Boren
|
dab986a9b0
|
Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9506 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-04 03:22:24 +00:00 |
Ryan Boren
|
fa7377cd36
|
Warning fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9475 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-02 20:53:15 +00:00 |
Mark Jaquith
|
e4a48a0314
|
Properly handled posts with internal paging in Canonical
git-svn-id: https://develop.svn.wordpress.org/trunk@9388 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-28 19:21:23 +00:00 |
Ryan Boren
|
c5c2377468
|
Make get_comment_link() paging aware. Props Viper007Bond. see #7956
git-svn-id: https://develop.svn.wordpress.org/trunk@9367 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-27 16:31:26 +00:00 |
Mark Jaquith
|
9a5b1ac108
|
Redirect away from paged comments permalinks when comment paging has been turned off. props DD32. see #7942
git-svn-id: https://develop.svn.wordpress.org/trunk@9322 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-24 10:53:09 +00:00 |
Mark Jaquith
|
9a3ac6934f
|
Enable pretty permalinks for previous_ and next_comments_link(). props DD32, Viper007Bond. see #7942
git-svn-id: https://develop.svn.wordpress.org/trunk@9318 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-24 07:36:43 +00:00 |