Functions.php update_option for permalinks?
-
I’ve migrated a site but my permalinks are broken (so nav is broken). I’ll assume this is the prettylinks stuff I read up on and not copying the .htaccess file, but I don’t have access to it so I think this is my only option.
If you type the siteurl incorrectly you can reset them using
update_option(‘siteurl’,’example.com’)
Does something similar exist for resetting permalinks to their standard ?page_id=123 state? Can I reset my permalinks some other way?
Thanks
Lloyd
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Functions.php update_option for permalinks?’ is closed to new replies.