Title: Permalink broken
Last modified: December 6, 2019

---

# Permalink broken

 *  [jais-p](https://wordpress.org/support/users/jais-p/)
 * (@jais-p)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/)
 * Hello there,
    Since the last update to WordPress 5.3, the links to every page
   for the website of my client ([http://www.cabinet-hypnose-la-rochelle.fr/](http://www.cabinet-hypnose-la-rochelle.fr/))
   are all broken. The permalink settings are “postname” are properly configured`/%
   postname%/` but then the URL is transformed: – a question mark is added at the
   beginning – the end slash is transformed into %2F
 * If I change the permalink structure to “simple”, then every page from the menu
   works, but not the ones referred to by links inside the page contents.
 * It really happened the day where the wordpress install was updated.
 * Any ideas?
 * Thanks in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpermalink-broken-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/permalink-broken-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/permalink-broken-4/page/2/?output_format=md)

 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12212814)
 * can you share your htaccess?
 *  Thread Starter [jais-p](https://wordpress.org/support/users/jais-p/)
 * (@jais-p)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12212862)
 * Sure thing. It’s pretty standard
 *     ```
       # BEGIN WordPress
       # Les directives (lignes) entre 'BEGIN WordPress' et 'END WordPress' sont
       # généré dynamiquement, et ne doivent uniquement être modifiées via les filtres WordPress.
       # Toute modification des directives entre ces marqueurs sera outrepassée.
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
   
       Redirect 301 /hypnose-la-rochelle http://www.cabinet-hypnose-la-rochelle.fr/hypnotherapie-la-rochelle/
       Redirect 301 /hypnotherapie-a-la-rochelle http://www.cabinet-hypnose-la-rochelle.fr/hypnose-a-la-rochelle/
       Redirect 301 /hypnotiseurs-hypnotherapeutes-la-rochelle/ http://www.cabinet-hypnose-la-rochelle.fr/hypnotherapeutes-la-rochelle/
       ```
   
 * I tried commenting the last 3 lines, just in case, but it didn’t help.
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12212940)
 * [https://github.com/WordPress/WordPress/blob/5.3-branch/index.php](https://github.com/WordPress/WordPress/blob/5.3-branch/index.php)
 * [https://github.com/WordPress/WordPress/blob/5.3-branch/wp-blog-header.php](https://github.com/WordPress/WordPress/blob/5.3-branch/wp-blog-header.php)
 * can you check if you use these files exactly?
 *  Thread Starter [jais-p](https://wordpress.org/support/users/jais-p/)
 * (@jais-p)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12212947)
 * Yes, both files are correct
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12213158)
 * set /%postname%/ click on save and wordpress update the database, create a new
   post here also see the error?
    otherwise I could advise you to retrieve the rewrite
   variable from the single post model of your theme.
 *     ```
       // Create myrewrite.log into current directory
       error_log($GLOBALS['wp_rewrite'],3,dirname(__FILE__).'/myrewrite.log')
       ```
   
 *  Thread Starter [jais-p](https://wordpress.org/support/users/jais-p/)
 * (@jais-p)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12213704)
 * Thanks for trying to help [@autotutorial](https://wordpress.org/support/users/autotutorial/)
   
   I’ve done as you suggested, yet the problem persists. Here is a var_dump for 
   the $GLOBALS[‘wp_rewrite’]
 *     ```
       { 
       ["permalink_structure"]=> string(12) "/%postname%/" 
       ["use_trailing_slashes"]=> bool(true) 
       ["author_base"]=> string(6) "author" 
       ["search_base"]=> string(6) "search" 
       ["comments_base"]=> string(8) "comments" 
       ["pagination_base"]=> string(4) "page" 
       ["comments_pagination_base"]=> string(12) "comment-page" 
       ["feed_base"]=> string(4) "feed" 
       ["front"]=> string(1) "/" 
       ["root"]=> string(0) "" 
       ["index"]=> string(9) "index.php" 
       ["matches"]=> string(0) "" 
       ["rules"]=> array(108) { 
       ["sitemap_index\.xml$"]=> string(19) "index.php?sitemap=1" 
       ["([^/]+?)-sitemap([0-9]+)?\.xml$"]=> string(51) "index.php?sitemap=$matches[1]&sitemap_n=$matches[2]" 
       ["([a-z]+)?-?sitemap\.xsl$"]=> string(39) "index.php?yoast-sitemap-xsl=$matches[1]" 
       ["^wp-json/?$"]=> string(22) "index.php?rest_route=/" 
       ["^wp-json/(.*)?"]=> string(33) "index.php?rest_route=/$matches[1]" 
       ["^index.php/wp-json/?$"]=> string(22) "index.php?rest_route=/" 
       ["^index.php/wp-json/(.*)?"]=> string(33) "index.php?rest_route=/$matches[1]" 
       ["category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(52) "index.php?category_name=$matches[1]&feed=$matches[2]" 
       ["category/(.+?)/(feed|rdf|rss|rss2|atom)/?$"]=> string(52) "index.php?category_name=$matches[1]&feed=$matches[2]" 
       ["category/(.+?)/embed/?$"]=> string(46) "index.php?category_name=$matches[1]&embed=true" 
       ["category/(.+?)/page/?([0-9]{1,})/?$"]=> string(53) "index.php?category_name=$matches[1]&paged=$matches[2]" 
       ["category/(.+?)/?$"]=> string(35) "index.php?category_name=$matches[1]" 
       ["tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(42) "index.php?tag=$matches[1]&feed=$matches[2]" 
       ["tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(42) "index.php?tag=$matches[1]&feed=$matches[2]" 
       ["tag/([^/]+)/embed/?$"]=> string(36) "index.php?tag=$matches[1]&embed=true" 
       ["tag/([^/]+)/page/?([0-9]{1,})/?$"]=> string(43) "index.php?tag=$matches[1]&paged=$matches[2]" 
       ["tag/([^/]+)/?$"]=> string(25) "index.php?tag=$matches[1]" 
       ["type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(50) "index.php?post_format=$matches[1]&feed=$matches[2]" 
       ["type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(50) "index.php?post_format=$matches[1]&feed=$matches[2]" 
       ["type/([^/]+)/embed/?$"]=> string(44) "index.php?post_format=$matches[1]&embed=true" 
       ["type/([^/]+)/page/?([0-9]{1,})/?$"]=> string(51) "index.php?post_format=$matches[1]&paged=$matches[2]" 
       ["type/([^/]+)/?$"]=> string(33) "index.php?post_format=$matches[1]" 
       ["wpephpcompat_jobs/[^/]+/attachment/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" 
       ["wpephpcompat_jobs/[^/]+/attachment/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" 
       ["wpephpcompat_jobs/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       ["wpephpcompat_jobs/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       ["wpephpcompat_jobs/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" 
       ["wpephpcompat_jobs/[^/]+/attachment/([^/]+)/embed/?$"]=> string(43) "index.php?attachment=$matches[1]&embed=true" 
       ["wpephpcompat_jobs/([^/]+)/embed/?$"]=> string(50) "index.php?wpephpcompat_jobs=$matches[1]&embed=true" 
       ["wpephpcompat_jobs/([^/]+)/trackback/?$"]=> string(44) "index.php?wpephpcompat_jobs=$matches[1]&tb=1" 
       ["wpephpcompat_jobs/([^/]+)/page/?([0-9]{1,})/?$"]=> string(57) "index.php?wpephpcompat_jobs=$matches[1]&paged=$matches[2]" 
       ["wpephpcompat_jobs/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(57) "index.php?wpephpcompat_jobs=$matches[1]&cpage=$matches[2]" 
       ["wpephpcompat_jobs/([^/]+)(?:/([0-9]+))?/?$"]=> string(56) "index.php?wpephpcompat_jobs=$matches[1]&page=$matches[2]" 
       ["wpephpcompat_jobs/[^/]+/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" 
       ["wpephpcompat_jobs/[^/]+/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" 
       ["wpephpcompat_jobs/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       ["wpephpcompat_jobs/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       ["wpephpcompat_jobs/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" 
       ["wpephpcompat_jobs/[^/]+/([^/]+)/embed/?$"]=> string(43) "index.php?attachment=$matches[1]&embed=true" 
       ["robots\.txt$"]=> string(18) "index.php?robots=1" 
       [".*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$"]=> string(18) "index.php?feed=old" 
       [".*wp-app\.php(/.*)?$"]=> string(19) "index.php?error=403" 
       [".*wp-register.php$"]=> string(23) "index.php?register=true" 
       ["feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(27) "index.php?&feed=$matches[1]" 
       ["(feed|rdf|rss|rss2|atom)/?$"]=> string(27) "index.php?&feed=$matches[1]" 
       ["embed/?$"]=> string(21) "index.php?&embed=true" 
       ["page/?([0-9]{1,})/?$"]=> string(28) "index.php?&paged=$matches[1]" 
       ["comment-page-([0-9]{1,})/?$"]=> string(39) "index.php?&page_id=12&cpage=$matches[1]" 
       ["comments/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(42) "index.php?&feed=$matches[1]&withcomments=1" 
       ["comments/(feed|rdf|rss|rss2|atom)/?$"]=> string(42) "index.php?&feed=$matches[1]&withcomments=1" 
       ["comments/embed/?$"]=> string(21) "index.php?&embed=true" 
       ["search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(40) "index.php?s=$matches[1]&feed=$matches[2]" 
       ["search/(.+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(40) "index.php?s=$matches[1]&feed=$matches[2]" 
       ["search/(.+)/embed/?$"]=> string(34) "index.php?s=$matches[1]&embed=true" 
       ["search/(.+)/page/?([0-9]{1,})/?$"]=> string(41) "index.php?s=$matches[1]&paged=$matches[2]" 
       ["search/(.+)/?$"]=> string(23) "index.php?s=$matches[1]" 
       ["author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(50) "index.php?author_name=$matches[1]&feed=$matches[2]" 
       ["author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(50) "index.php?author_name=$matches[1]&feed=$matches[2]" 
       ["author/([^/]+)/embed/?$"]=> string(44) "index.php?author_name=$matches[1]&embed=true" 
       ["author/([^/]+)/page/?([0-9]{1,})/?$"]=> string(51) "index.php?author_name=$matches[1]&paged=$matches[2]" 
       ["author/([^/]+)/?$"]=> string(33) "index.php?author_name=$matches[1]" 
       ["([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(80) "index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]" 
       ["([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$"]=> string(80) "index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]" 
       ["([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/embed/?$"]=> string(74) "index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&embed=true" 
       ["([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$"]=> string(81) "index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&paged=$matches[4]" 
       ["([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$"]=> string(63) "index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]" 
       ["([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(64) "index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]" 
       ["([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$"]=> string(64) "index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]" 
       ["([0-9]{4})/([0-9]{1,2})/embed/?$"]=> string(58) "index.php?year=$matches[1]&monthnum=$matches[2]&embed=true" 
       ["([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$"]=> string(65) "index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3]" 
       ["([0-9]{4})/([0-9]{1,2})/?$"]=> string(47) "index.php?year=$matches[1]&monthnum=$matches[2]" 
       ["([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(43) "index.php?year=$matches[1]&feed=$matches[2]" 
       ["([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$"]=> string(43) "index.php?year=$matches[1]&feed=$matches[2]" 
       ["([0-9]{4})/embed/?$"]=> string(37) "index.php?year=$matches[1]&embed=true" 
       ["([0-9]{4})/page/?([0-9]{1,})/?$"]=> string(44) "index.php?year=$matches[1]&paged=$matches[2]" 
       ["([0-9]{4})/?$"]=> string(26) "index.php?year=$matches[1]" 
       [".?.+?/attachment/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" 
       [".?.+?/attachment/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" 
       [".?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       [".?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       [".?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" 
       [".?.+?/attachment/([^/]+)/embed/?$"]=> string(43) "index.php?attachment=$matches[1]&embed=true" 
       ["(.?.+?)/embed/?$"]=> string(41) "index.php?pagename=$matches[1]&embed=true" 
       ["(.?.+?)/trackback/?$"]=> string(35) "index.php?pagename=$matches[1]&tb=1" 
       ["(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(47) "index.php?pagename=$matches[1]&feed=$matches[2]" 
       ["(.?.+?)/(feed|rdf|rss|rss2|atom)/?$"]=> string(47) "index.php?pagename=$matches[1]&feed=$matches[2]" 
       ["(.?.+?)/page/?([0-9]{1,})/?$"]=> string(48) "index.php?pagename=$matches[1]&paged=$matches[2]" 
       ["(.?.+?)/comment-page-([0-9]{1,})/?$"]=> string(48) "index.php?pagename=$matches[1]&cpage=$matches[2]" 
       ["(.?.+?)(?:/([0-9]+))?/?$"]=> string(47) "index.php?pagename=$matches[1]&page=$matches[2]" 
       ["[^/]+/attachment/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" 
       ["[^/]+/attachment/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" 
       ["[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       ["[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       ["[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" 
       ["[^/]+/attachment/([^/]+)/embed/?$"]=> string(43) "index.php?attachment=$matches[1]&embed=true" 
       ["([^/]+)/embed/?$"]=> string(37) "index.php?name=$matches[1]&embed=true" 
       ["([^/]+)/trackback/?$"]=> string(31) "index.php?name=$matches[1]&tb=1" 
       ["([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(43) "index.php?name=$matches[1]&feed=$matches[2]" 
       ["([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(43) "index.php?name=$matches[1]&feed=$matches[2]" 
       ["([^/]+)/page/?([0-9]{1,})/?$"]=> string(44) "index.php?name=$matches[1]&paged=$matches[2]" 
       ["([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(44) "index.php?name=$matches[1]&cpage=$matches[2]" 
       ["([^/]+)(?:/([0-9]+))?/?$"]=> string(43) "index.php?name=$matches[1]&page=$matches[2]" 
       ["[^/]+/([^/]+)/?$"]=> string(32) "index.php?attachment=$matches[1]" 
       ["[^/]+/([^/]+)/trackback/?$"]=> string(37) "index.php?attachment=$matches[1]&tb=1" 
       ["[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       ["[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$"]=> string(49) "index.php?attachment=$matches[1]&feed=$matches[2]" 
       ["[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$"]=> string(50) "index.php?attachment=$matches[1]&cpage=$matches[2]" 
       ["[^/]+/([^/]+)/embed/?$"]=> string(43) "index.php?attachment=$matches[1]&embed=true" } 
       ["extra_rules"]=> array(0) { } 
       ["extra_rules_top"]=> array(7) { 
       ["sitemap_index\.xml$"]=> string(19) "index.php?sitemap=1" 
       ["([^/]+?)-sitemap([0-9]+)?\.xml$"]=> string(51) "index.php?sitemap=$matches[1]&sitemap_n=$matches[2]" 
       ["([a-z]+)?-?sitemap\.xsl$"]=> string(39) "index.php?yoast-sitemap-xsl=$matches[1]" 
       ["^wp-json/?$"]=> string(22) "index.php?rest_route=/" 
       ["^wp-json/(.*)?"]=> string(33) "index.php?rest_route=/$matches[1]" 
       ["^index.php/wp-json/?$"]=> string(22) "index.php?rest_route=/" 
       ["^index.php/wp-json/(.*)?"]=> string(33) "index.php?rest_route=/$matches[1]" } 
       ["non_wp_rules"]=> array(0) { } 
       ["extra_permastructs"]=> array(4) { 
       ["category"]=> array(8) { 
       ["with_front"]=> bool(true) 
       ["ep_mask"]=> int(512) 
       ["paged"]=> bool(true) 
       ["feed"]=> bool(true) 
       ["forcomments"]=> bool(false) 
       ["walk_dirs"]=> bool(true) 
       ["endpoints"]=> bool(true) 
       ["struct"]=> string(20) "/category/%category%" } 
       ["post_tag"]=> array(8) { 
       ["with_front"]=> bool(true) 
       ["ep_mask"]=> int(1024) 
       ["paged"]=> bool(true) 
       ["feed"]=> bool(true) 
       ["forcomments"]=> bool(false) 
       ["walk_dirs"]=> bool(true) 
       ["endpoints"]=> bool(true) 
       ["struct"]=> string(15) "/tag/%post_tag%" } 
       ["post_format"]=> array(8) { 
       ["with_front"]=> bool(true) 
       ["ep_mask"]=> int(0) 
       ["paged"]=> bool(true) 
       ["feed"]=> bool(true) 
       ["forcomments"]=> bool(false) 
       ["walk_dirs"]=> bool(true) 
       ["endpoints"]=> bool(true) 
       ["struct"]=> string(19) "/type/%post_format%" } 
       ["wpephpcompat_jobs"]=> array(8) { 
       ["with_front"]=> bool(true) 
       ["ep_mask"]=> int(1) 
       ["paged"]=> bool(true) 
       ["feed"]=> bool(false) 
       ["forcomments"]=> bool(false) 
       ["walk_dirs"]=> bool(true) 
       ["endpoints"]=> bool(true) 
       ["struct"]=> string(38) "/wpephpcompat_jobs/%wpephpcompat_jobs%" } } 
       ["endpoints"]=> array(0) { } 
       ["use_verbose_rules"]=> bool(false) 
       ["use_verbose_page_rules"]=> bool(true) 
       ["rewritecode"]=> array(15) { [0]=> string(6) "%year%" [1]=> string(10) "%monthnum%" [2]=> string(5) "%day%" [3]=> string(6) "%hour%" [4]=> string(8) "%minute%" [5]=> string(8) "%second%" [6]=> string(10) "%postname%" [7]=> string(9) "%post_id%" [8]=> string(8) "%author%" [9]=> string(10) "%pagename%" [10]=> string(8) "%search%" [11]=> string(10) "%category%" [12]=> string(10) "%post_tag%" [13]=> string(13) "%post_format%" [14]=> string(19) "%wpephpcompat_jobs%" } 
       ["rewritereplace"]=> array(15) { [0]=> string(10) "([0-9]{4})" [1]=> string(12) "([0-9]{1,2})" [2]=> string(12) "([0-9]{1,2})" [3]=> string(12) "([0-9]{1,2})" [4]=> string(12) "([0-9]{1,2})" [5]=> string(12) "([0-9]{1,2})" [6]=> string(7) "([^/]+)" [7]=> string(8) "([0-9]+)" [8]=> string(7) "([^/]+)" [9]=> string(8) "([^/]+?)" [10]=> string(4) "(.+)" [11]=> string(5) "(.+?)" [12]=> string(7) "([^/]+)" [13]=> string(7) "([^/]+)" [14]=> string(7) "([^/]+)" } 
       ["queryreplace"]=> array(15) { [0]=> string(5) "year=" [1]=> string(9) "monthnum=" [2]=> string(4) "day=" [3]=> string(5) "hour=" [4]=> string(7) "minute=" [5]=> string(7) "second=" [6]=> string(5) "name=" [7]=> string(2) "p=" [8]=> string(12) "author_name=" [9]=> string(9) "pagename=" [10]=> string(2) "s=" [11]=> string(14) "category_name=" [12]=> string(4) "tag=" [13]=> string(12) "post_format=" [14]=> string(18) "wpephpcompat_jobs=" } 
       ["feeds"]=> array(5) { [0]=> string(4) "feed" [1]=> string(3) "rdf" [2]=> string(3) "rss" [3]=> string(4) "rss2" [4]=> string(4) "atom" } }
       ```
   
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12214029)
 * delete the previous code, set the permalink to plain and click on save, search
   for a post, copy its url (backend) and leave it active on the browser. then enter
   this code after the global variable in wp-settings.php and force the update of
   the post from your browser, click the wheel.
 *     ```
       function var_x_error_log( $objectauto=null){
       ob_start(); // start buffer capture
       var_dump($objectauto); // dump the value
       $contentsauto = ob_get_contents(); // put the buffer into a variable
       ob_end_clean(); // end capture
       error_log($contentsauto,3,dirname(__FILE__).'/myrewrite.log');
       }
       var_x_error_log($GLOBALS['wp_rewrite']);
       ```
   
 * [After here](https://github.com/WordPress/WordPress/blob/5.3-branch/wp-settings.php#L430)
 * `["permalink_structure"]=> string(12) "/%postname%/"`
    this indicates that you
   are using the permalink, check if you have not exhausted the hourly queries in
   your database or you have no more space. create a backup of all the files and
   database MySQL, which database version are you using? if you use at least mysql
   5.6 after saving in plain text (Ugly permalink / query string) from phpmyadmin
   try to repair the tables. As a last step delete my code and the generated file.
 *  Thread Starter [jais-p](https://wordpress.org/support/users/jais-p/)
 * (@jais-p)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12214048)
 * Here’s the output:
 *     ```
       object(WP_Rewrite)#4339 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3262 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#4339 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#4396 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3262 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#4396 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3262 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3270 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3262 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#4337 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3270 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3262 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3270 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3262 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3268 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#4339 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       object(WP_Rewrite)#3262 (24) {
         ["permalink_structure"]=>
         string(12) "/%postname%/"
         ["use_trailing_slashes"]=>
         bool(true)
         ["author_base"]=>
         string(6) "author"
         ["search_base"]=>
         string(6) "search"
         ["comments_base"]=>
         string(8) "comments"
         ["pagination_base"]=>
         string(4) "page"
         ["comments_pagination_base"]=>
         string(12) "comment-page"
         ["feed_base"]=>
         string(4) "feed"
         ["front"]=>
         string(1) "/"
         ["root"]=>
         string(0) ""
         ["index"]=>
         string(9) "index.php"
         ["matches"]=>
         string(0) ""
         ["rules"]=>
         NULL
         ["extra_rules"]=>
         array(0) {
         }
         ["extra_rules_top"]=>
         array(0) {
         }
         ["non_wp_rules"]=>
         array(0) {
         }
         ["extra_permastructs"]=>
         array(0) {
         }
         ["endpoints"]=>
         array(0) {
         }
         ["use_verbose_rules"]=>
         bool(false)
         ["use_verbose_page_rules"]=>
         bool(true)
         ["rewritecode"]=>
         array(11) {
           [0]=>
           string(6) "%year%"
           [1]=>
           string(10) "%monthnum%"
           [2]=>
           string(5) "%day%"
           [3]=>
           string(6) "%hour%"
           [4]=>
           string(8) "%minute%"
           [5]=>
           string(8) "%second%"
           [6]=>
           string(10) "%postname%"
           [7]=>
           string(9) "%post_id%"
           [8]=>
           string(8) "%author%"
           [9]=>
           string(10) "%pagename%"
           [10]=>
           string(8) "%search%"
         }
         ["rewritereplace"]=>
         array(11) {
           [0]=>
           string(10) "([0-9]{4})"
           [1]=>
           string(12) "([0-9]{1,2})"
           [2]=>
           string(12) "([0-9]{1,2})"
           [3]=>
           string(12) "([0-9]{1,2})"
           [4]=>
           string(12) "([0-9]{1,2})"
           [5]=>
           string(12) "([0-9]{1,2})"
           [6]=>
           string(7) "([^/]+)"
           [7]=>
           string(8) "([0-9]+)"
           [8]=>
           string(7) "([^/]+)"
           [9]=>
           string(8) "([^/]+?)"
           [10]=>
           string(4) "(.+)"
         }
         ["queryreplace"]=>
         array(11) {
           [0]=>
           string(5) "year="
           [1]=>
           string(9) "monthnum="
           [2]=>
           string(4) "day="
           [3]=>
           string(5) "hour="
           [4]=>
           string(7) "minute="
           [5]=>
           string(7) "second="
           [6]=>
           string(5) "name="
           [7]=>
           string(2) "p="
           [8]=>
           string(12) "author_name="
           [9]=>
           string(9) "pagename="
           [10]=>
           string(2) "s="
         }
         ["feeds"]=>
         array(5) {
           [0]=>
           string(4) "feed"
           [1]=>
           string(3) "rdf"
           [2]=>
           string(3) "rss"
           [3]=>
           string(4) "rss2"
           [4]=>
           string(4) "atom"
         }
       }
       ```
   
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12214089)
 * have you tried setting up plain? I still read postname. Regardless of this, the
   wordpress server redirects 301.
    A postname arret-tabac-la-rochelle is equivalent
   to ?name=arret-tabac-la-rochelle, when it works.
 *  Thread Starter [jais-p](https://wordpress.org/support/users/jais-p/)
 * (@jais-p)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12214498)
 * I’m sorry but what do you mean by “plain” ?
    If I put nothing in the permalink
   structure, it defaults to “simple”. (?p=123) I don’t want this result as it is
   not user friendly.
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12214793)
 * I told you because currently any path that does not physically exist is transformed
   into a query string.
 *     ```
       Redirect 301 /hypnose-la-rochelle http://www.cabinet-hypnose-la-rochelle.fr/hypnotherapie-la-rochelle/
       Redirect 301 /hypnotherapie-a-la-rochelle http://www.cabinet-hypnose-la-rochelle.fr/hypnose-a-la-rochelle/
       Redirect 301 /hypnotiseurs-hypnotherapeutes-la-rochelle/ http://www.cabinet-hypnose-la-rochelle.fr/hypnotherapeutes-la-rochelle/
       ```
   
 * this is also transformed into a query string /hypnotiseurs-hypnotherapeutes-la-
   rochelle/ does this folder exist physically?
    Enable Debug into wp-config.php
 *     ```
       define('WP_DEBUG',true);
       define('WP_DEBUG_LOG',true);
       ```
   
 * in case of errors create a file on /wp-content/debug.log.
    I’m thinking of some
   conflict of theme or plugin, otherwise I can’t understand why the paths are transformed
   into query strings.
 *  Thread Starter [jais-p](https://wordpress.org/support/users/jais-p/)
 * (@jais-p)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12215396)
 * I’ve commented the three lines in the htaccess, and activated the debug mode,
   but the debug.log file is empty.
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12215457)
 * sorry I repeat the question, does this folder `/hypnotiseurs-hypnotherapeutes-
   la-rochelle/` exist in your web space?
    Delete the debug.log file, the file is
   created only when it recognizes errors, it is impossible to be empty.
 *  Thread Starter [jais-p](https://wordpress.org/support/users/jais-p/)
 * (@jais-p)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12216460)
 * No this folder doesn’t exist.
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/#post-12220027)
 * can you create a test environment, copying the file and database, then with one
   plugin (search and replace) search old domain and replace with new domaim, do
   you also have permalink problems on the test site? if you disable all siteorigin
   plugins (even widgets) the problem disappears?

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/permalink-broken-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/permalink-broken-4/page/2/?output_format=md)

The topic ‘Permalink broken’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 19 replies
 * 2 participants
 * Last reply from: [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/permalink-broken-4/page/2/#post-12220595)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
