• Resolved x-evolutionist

    (@x-evolutionist)


    I just changed my permalink stucture to this:

    /%category%/%postname%/

    It looked fine when I looked at my posts and pages in admin. But, it is not working. WordPress can’t find my pages. Everything returns a 404 error and I don’t have a custom page yet. UGLY.

    https://www.x-evolutionist.com/blog/

    Help.

    Thank you.

    X

Viewing 10 replies - 1 through 10 (of 10 total)
  • Maybe you need to manually insert the WordPress Permalinks code into the .htaccess… though the pages seem to come up all right for me.

    Thread Starter x-evolutionist

    (@x-evolutionist)

    I am brand spanking new here.

    What format does the code need to go into the .htaccess?

    Thank you,

    X

    Put the following code into your .htaccess file and make sure the file has 644 permissions:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Then re-save your Permalinks. Settings > Permalinks (Choose a different structure, then put it back to the structure you desire and click Save Permalinks)

    Thread Starter x-evolutionist

    (@x-evolutionist)

    bh_WP_fan,

    Thank you very much I will go do that right now.

    X

    Thread Starter x-evolutionist

    (@x-evolutionist)

    Bummer. That did not work!

    I did not have an .htaccess file yet. I made one in notepad and pasted in your code. Should that have worked?

    X

    Thread Starter x-evolutionist

    (@x-evolutionist)

    I tried it again with higher permissions, and it still did not work:

    Permissions for ‘.htaccess’ were successfully changed to ‘674’

    Is there something else I can try?

    Thank you,

    X

    you might try the 777 chmod – but change it back to 644 if successful

    Permissions should be 644, or you can try with 666. Where did you put the .htaccess at? Did you upload it to your site’s root directory?

    If this isn’t a Linux server, the .htaccess won’t work.

    Thread Starter x-evolutionist

    (@x-evolutionist)

    bh_WP_fan and samboll,

    It’s fixed!

    Here’s what finally worked: I changed permissions to 777, changed permalink to different format, changed it back, reopened my blog and it is OK. I went back and changed permissions back to 644.

    I do have Linux, by the way.

    Thank you to you both!

    I really need to make a custom 404 page for this blog….

    X

    hi mate(s),
    permalinks not working in local?

    just follow the two steps,
    Open your httpd.conf configuration file [that is in C:\xampp\apache\conf\]

    1. remove # from #LoadModule rewrite_module modules/mod_rewrite.so [line number 118]

    2. change AllowOverride None to AllowOverride All [line number 188]

    and restart Apache web server once [C:\xampp – double click xampp_restart.exe] or else just restart your system

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Edited permalinks returns 404 error. /?tegory%/%postname%/’ is closed to new replies.