Title: Edit Permalink function has broken Javascript
Last modified: August 19, 2016

---

# Edit Permalink function has broken Javascript

 *  Resolved [sempervirent](https://wordpress.org/support/users/sempervirent/)
 * (@sempervirent)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/)
 * I just upgraded to 3.0.4 using the automatic updater. This issue may have been
   occurring before that, but I haven’t tried to edit a permalink until now.
 * The problem is this: the “Edit” button which allows me to change a permalink 
   on other WP installs doesn’t work on this one installation. My JS console in 
   Firefox shows:
 * “editPermalink is not defined.”
 * This basically translates to: “WordPress seems to be missing some Javascript 
   files,” but the file containing this function (/wp-admin/js/post.dev.js/) is 
   on the server.
 * I can’t provide a link because this is an in-progress website for a nonprofit.
   Any ideas?

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [sempervirent](https://wordpress.org/support/users/sempervirent/)
 * (@sempervirent)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864464)
 * Also, the Edit button works as expected in Google Chrome.
 * I have Chrome version 8.0.552.237
    And Firefox 3.6.13
 *  [HamsterHuey](https://wordpress.org/support/users/hamsterhuey/)
 * (@hamsterhuey)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864528)
 * I have to say that I’m having the same issue with 3.0.4. I tried both in Chrome
   and FF and it doesn’t work in either. Anyone know how to fix this? I can’t publish
   anything till I get this sorted out.
 * PS – I can work around this for now using the Quick-Edit feature and typing out
   the slug myself. Anyone have any clue as to why this isn’t working though? I 
   checked my wp-admin folder and I have all the js files and they all have 644 
   permission.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864530)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem? If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the Twenty Ten theme to rule out any theme-specific problems?
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin? Sometimes, an apparently inactive plugin can still cause
   problems.
 *  [HamsterHuey](https://wordpress.org/support/users/hamsterhuey/)
 * (@hamsterhuey)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864532)
 * Thanks esmi. I will try that. This is on a live site that has quite a bit of 
   traffic so I’m a little weary about messing with things. I’ve also been having
   issues with auto plugin updates via wordpress hanging on me and creating issues.
   3.0.4 seems to have brought a whole set of headaches along with it 🙁
 *  Thread Starter [sempervirent](https://wordpress.org/support/users/sempervirent/)
 * (@sempervirent)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864546)
 * On the problem installation, there are no plugins. I already deleted Akismet 
   and Hello Dolly and never installed anything else.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864548)
 * **[@sempervirent](https://wordpress.org/support/users/sempervirent/):** Try adding`
   define('CONCATENATE_SCRIPTS', false );` to the bottom of your wp-config.php file(
   just before the `require_once` line).
 *  Thread Starter [sempervirent](https://wordpress.org/support/users/sempervirent/)
 * (@sempervirent)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864558)
 * Thanks Esmi, that worked. Just the kind of esoteric fix I was hoping for!
 * Can you briefly explain what this does, for my benefit and for future anonymous
   web searchers?
 *  [HamsterHuey](https://wordpress.org/support/users/hamsterhuey/)
 * (@hamsterhuey)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864561)
 * Simply amazing esmi!! Thanks so very much! Works like a charm. If I can venture
   a guess…does this prevent WP from appending all scripts into one group this breaking
   multiple scripts if one of them has a problem?
 * Thanks again esmi. This is what I love about WordPress and the community! 🙂
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864652)
 * > does this prevent WP from appending all scripts into one group
 * Bingo! Some servers simply can’t handle this kind of script concatenation.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Edit Permalink function has broken Javascript’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/edit-permalink-function-has-broken-javascript/#post-1864652)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
