Title: Default Permalink set up issue
Last modified: April 22, 2017

---

# Default Permalink set up issue

 *  [jaymax](https://wordpress.org/support/users/jaymax/)
 * (@jaymax)
 * [9 years ago](https://wordpress.org/support/topic/default-permalink-set-up-issue/)
 * I cannot find an exact solution to this problem in the forum.
    Whenever I attempt
   to save the permalink page, default mode, without any customization I get the
   following set of error messages and can’t figure out what is wrong.
 * `Warning: file(/home/hostname/public_html/.htaccess): failed to open stream: 
   Permission denied in /home/hostname/public_html/wp-admin/includes/misc.php on
   line 74`
 * `Warning: implode(): Invalid arguments passed in /home/hostname/public_html/wp-
   admin/includes/misc.php on line 74`
 * `Warning: Cannot modify header information - headers already sent by (output 
   started at /home/hostname/public_html/wp-admin/includes/misc.php:74) in /home/
   hostname/public_html/wp-includes/pluggable.php on line 1195`
 * The server is running on shared host with a linux O/S
 * Any helpnwould be appreciated.

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

 *  [Farhan Noor](https://wordpress.org/support/users/farhannoor/)
 * (@farhannoor)
 * [9 years ago](https://wordpress.org/support/topic/default-permalink-set-up-issue/#post-9055886)
 * Hi Jaymax,
 * Make sure your hosting provider allows you to edit files using PHP script. Discuss
   this matter with your hosting support. It seems to be a permissions issue.
 * Farhan.
 *  Thread Starter [jaymax](https://wordpress.org/support/users/jaymax/)
 * (@jaymax)
 * [9 years ago](https://wordpress.org/support/topic/default-permalink-set-up-issue/#post-9056772)
 * I can edit the file, line 74 is
    ‘if ( $markerdata = explode( “\n”, implode( ”,
   file( $filename ) ) ));’ the file permission is 0644 I changed it to 0744
 *  Thread Starter [jaymax](https://wordpress.org/support/users/jaymax/)
 * (@jaymax)
 * [9 years ago](https://wordpress.org/support/topic/default-permalink-set-up-issue/#post-9056864)
 * I forgot to mention that this made no difference –
    Should I have made it 754
   instead?

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

The topic ‘Default Permalink set up issue’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [jaymax](https://wordpress.org/support/users/jaymax/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/default-permalink-set-up-issue/#post-9056864)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
