Permalinks issue in wordpress

22 replies
  • WEB DESIGN
  • |
Hello guys..

Whenever I try to enter in "custom structure" option in permalinks and insert:
/%category%/%postname%/

When I click save changes it reverts back to "Post Name".

I would like my pages to appear with the website, category and then postname.

Any help would be appreciated.

Thanks
#issue #permalinks #wordpress
  • Profile picture of the author JutawanSenyap
    Maybe it has something to do with wordpress version? or my wordpress theme?
    {{ DiscussionBoard.errors[9842170].message }}
  • Profile picture of the author James McAllister
    Category needs %'s around it.

    /%category%/%postname%/

    Using Permalinks « WordPress Codex
    {{ DiscussionBoard.errors[9842247].message }}
    • Profile picture of the author nicoli
      Originally Posted by James McAllister View Post

      Category needs %'s around it.

      /%category%/%postname%/

      Using Permalinks « WordPress Codex
      Yep, this is 100%
      {{ DiscussionBoard.errors[9842260].message }}
      • Profile picture of the author JutawanSenyap
        Thanks for your inputs guys but still don't work. Please see the attachment.

        I tried: /%category%/%postname%/
        or even the basic: /%postname%/

        After "save changes", it reverts back to "postname" setting.
        {{ DiscussionBoard.errors[9844325].message }}
  • Profile picture of the author Brent Stangel
    Are you selecting the "custom structure" radio button?
    Signature
    Get Off The Warrior Forum Now & Don't Come Back If You Want To Succeed!
    All The Real Marketers Are Gone. There's Nothing Left But Weak, Sniveling Wanna-Bees!
    {{ DiscussionBoard.errors[9844332].message }}
    • Profile picture of the author nicoli
      Originally Posted by Brent Stangel View Post

      Are you selecting the "custom structure" radio button?
      Lol good point
      {{ DiscussionBoard.errors[9844337].message }}
    • Profile picture of the author JutawanSenyap
      Originally Posted by Brent Stangel View Post

      Are you selecting the "custom structure" radio button?
      Yes, I selected "custom structure". Sorry I don't get about "radio button". What do you mean?
      {{ DiscussionBoard.errors[9844392].message }}
  • Profile picture of the author nicoli
    Do you have access to phpmyadmin?
    If so, send me a pm and I'll tell you how to edit the database manually
    {{ DiscussionBoard.errors[9844335].message }}
    • Profile picture of the author JutawanSenyap
      Originally Posted by nicoli View Post

      Do you have access to phpmyadmin?
      If so, send me a pm and I'll tell you how to edit the database manually
      Yes, i can access it. Just sent you a PM
      {{ DiscussionBoard.errors[9844439].message }}
  • Profile picture of the author nicoli
    I got your PM, however I think it is more appropriate to answer in public in case anybody ever else has the same problem and this may be of use to them.

    1 - Log into phpMyAdmin andexpand the tables list of your database for the wordpress install on the left
    2 - Expand the "wp_options" table
    3 - Scroll down towards the bottom of the options and you will see the "option name" of "permalink_structure"
    4 - Double Click on the field in the "option_value" column and edit accordingly
    5 - Click out of the field and the change should be saved automagically

    Cheers,

    Nic
    {{ DiscussionBoard.errors[9844408].message }}
    • Profile picture of the author JutawanSenyap
      Originally Posted by nicoli View Post

      I got your PM, however I think it is more appropriate to answer in public in case anybody ever else has the same problem and this may be of use to them.

      1 - Log into phpMyAdmin andexpand the tables list of your database for the wordpress install on the left
      2 - Expand the "wp_options" table
      3 - Scroll down towards the bottom of the options and you will see the "option name" of "permalink_structure"
      4 - Double Click on the field in the "option_value" column and edit accordingly
      5 - Click out of the field and the change should be saved automagically

      Cheers,

      Nic
      Thanks for your guide Nic but I can't see Wp_options table.

      I am using shared hostgator with lots of domains in the host. Accessing the Myphpadmin, meaning i am accessing the whole account.

      Do you mean, i should access myphpadmin only for this particular domain?
      {{ DiscussionBoard.errors[9844442].message }}
      • Profile picture of the author nicoli
        If they are all loaded in the same account then just find the correct database name and expand that one.

        In cpanel, you can see the database name in the database section. Alternatively, you can open the wp config file and see which database the installation is using.

        The plugins are mentioned above can sometimes be the cause, but due to the process of elimination time involved and faffing about, this option is the fastest and will fix the problem quickly.

        Originally Posted by JutawanSenyap View Post

        Thanks for your guide Nic but I can't see Wp_options table.

        I am using shared hostgator with lots of domains in the host. Accessing the Myphpadmin, meaning i am accessing the whole account.

        Do you mean, i should access myphpadmin only for this particular domain?
        {{ DiscussionBoard.errors[9844496].message }}
        • Profile picture of the author JutawanSenyap
          Originally Posted by nicoli View Post

          If they are all loaded in the same account then just find the correct database name and expand that one.

          In cpanel, you can see the database name in the database section. Alternatively, you can open the wp config file and see which database the installation is using.

          The plugins are mentioned above can sometimes be the cause, but due to the process of elimination time involved and faffing about, this option is the fastest and will fix the problem quickly.
          I tried as you suggest. After I edit the database section, it automatically show

          /%category%/%postname%/

          But when i click once again the "permalinks" button, it suddenly revert back to "Post Name". And when I go back to the database to check, the "option value" in the database also revert back to the previous value..

          I am really confused what actually the problem is...
          {{ DiscussionBoard.errors[9844713].message }}
  • Profile picture of the author Graham Maddison
    I had a similar issue quite some time ago and it turned out to be one of my plugins causing the problem. Not sure if this is the case with your issue, but before you try anything else, disable all your plugins and see if it works then.
    If it does, great. You just then need to re activate your plugins 1 by 1 until you identify the offending plugin.

    I hope it helps.
    Signature
    Trade without Boundaries.
    Start with $30 Trading Bonus.
    No Deposit Required
    {{ DiscussionBoard.errors[9844452].message }}
    • Profile picture of the author JutawanSenyap
      Originally Posted by Graham Maddison View Post

      I had a similar issue quite some time ago and it turned out to be one of my plugins causing the problem. Not sure if this is the case with your issue, but before you try anything else, disable all your plugins and see if it works then.
      If it does, great. You just then need to re activate your plugins 1 by 1 until you identify the offending plugin.

      I hope it helps.
      Thanks for your suggestion. I also thought some of the plugins. But I have tried deactivating all plugins. Also the problem still persists.
      {{ DiscussionBoard.errors[9844706].message }}
  • Profile picture of the author nicoli
    Just stop faffing about and edit the DB. Only takes 30 seconds
    {{ DiscussionBoard.errors[9844707].message }}
  • Profile picture of the author nicoli
    Don't go back in and fiddle with it, just make the change in the DB and then create a new post and see whether or not the permalink structure is working.

    I sounds as though the theme is causing a problem though and if I were you, would look at a more stable theme (something is overwriting it)

    Without having access to the install, it is too hard to tell what is overwriting it, but my guess is that it is your theme
    {{ DiscussionBoard.errors[9844723].message }}
    • Profile picture of the author JutawanSenyap
      Originally Posted by nicoli View Post

      Don't go back in and fiddle with it, just make the change in the DB and then create a new post and see whether or not the permalink structure is working.

      I sounds as though the theme is causing a problem though and if I were you, would look at a more stable theme (something is overwriting it)

      Without having access to the install, it is too hard to tell what is overwriting it, but my guess is that it is your theme
      I just did what you suggested. Not working.

      I also suspect it is the theme. In fact, i have just tried installing the theme to a new domain and also the same issue.

      I have already contacted the developer but they give me the link to solve myself. Not helpful.
      {{ DiscussionBoard.errors[9844739].message }}
  • Profile picture of the author nicoli
    show us the link
    {{ DiscussionBoard.errors[9844741].message }}
  • Profile picture of the author taposh123
    [DELETED]
    {{ DiscussionBoard.errors[9844750].message }}
  • Profile picture of the author JutawanSenyap
    It is about the theme. I have installed the theme to another new domain, but still not working. It is geocraft theme by inkthemes.

    I am very disappointed with the support. They gave lazy reply:

    This usually happens if your .htaccess file got deleted or something went wrong with the rewrite rules. To fix this follow below links.

    How to Fix WordPress Posts Returning 404 Error
    Using Permalinks « WordPress Codex


    Then I replied:
    I dont have 404-error. The post works great. But i would like to change the permalink structure in my dashboard. I would like to change the permalinks to "custom" but it always get back to "post name" setting. Please see the attachment again.

    Then they replied back:

    For do make settings for permalink from Settings=> Permalinks
    Or use SEO plugins to achieve this.


    Very short and disappointing. Lazy reply. "Not so brilliant" reply..
    {{ DiscussionBoard.errors[9845051].message }}
  • Test this:

    /%category%/%postname%/
    Signature

    [CENTER][B]==> Do you want to make money online? [/B]
    Free video: How regular people are making 6-figures per month on the internet! [URL="http://www.clkmg.com/fc27/UDCL-IN2WF"][B]Watch this free video now![/B][/URL] <==[/CENTER]

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

Trending Topics