Wordpress Permalink Problem - Makes No sense!

by James-
4 replies
Hey guys,

Looking for some help here please. I am fed up with this problem and have no idea how to rectify it.

I simply want to change my default permalink structure on a new domain from Post name to the custom field where i enter this: /%category%/%postname%

It tells me that is has been updated correctly. I go to make a post and notice there is no 'category' within the URL. I go back to check my permalinks and the bloody thing has reset itself back to the default Post name.

Additionally, the same happens if i chose to use any of the default structures given. It alwasy reverts back to Post name!

I have never had this before, the one time i want to use this structure I am having issues with it. What do I have to do to fix this please!?

Thanks in advance,
James
#makes #permalink #problem #sense #structure #wordpress
  • Profile picture of the author mgreener
    Hi,

    You might have a write problem with your .htaccess file. Make sure the .htaccess file permissions are 777.
    {{ DiscussionBoard.errors[5391444].message }}
    • Profile picture of the author Mantasmo
      Originally Posted by mgreener View Post

      You might have a write problem with your .htaccess file. Make sure the .htaccess file permissions are 777.
      Don't leave the permissions at 777 though. Change them back to what they were before once you're done updating.

      1. FTP into your hosting and look for a file called .htaccess, then edit it and see if your permalink rules are there.

      2. WP normally tells you if it couldn't update your .htaccess file (at the bottom of the settings page for permalinks it actually gives you code to copy-paste into .htaccess in such cases). Make sure you haven't missed the notification after hitting "update".

      3. Alternatively you can edit .htaccess through your hosting cpanel->file manager (don't forget to tick "show hidden/.dot files")->main WP folder.
      {{ DiscussionBoard.errors[5391490].message }}
  • Profile picture of the author James-
    mgreener,

    Thanks for your response. I did not have my file permissions set to 777, but i have not needed to do this in the past. I have just tried and I am still getting the error, so that has not fixed it.

    James
    Signature

    2 nuts walked into a bar, 1 was assaulted! :p

    {{ DiscussionBoard.errors[5391482].message }}
  • Profile picture of the author James-
    bnetwork. I am getting no errors when changing the structure. I get the yellow bar at the top stating 'Permalink structure updated.

    I have no idea what my .htaccess file is supposed to look like. Here is the output:

    # BEGIN WordPress
    <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
    Signature

    2 nuts walked into a bar, 1 was assaulted! :p

    {{ DiscussionBoard.errors[5391535].message }}

Trending Topics