Support » Fixing WordPress » Unable to modify the WordPress Permalink

  • tekehe

    (@tekehe)


    I would like to ask about. WordPress Permalink from the beginning to the present are example.net /? p =123 this form.
    Now I want to modify it to example.net /% postname% of this form. This brings up a new problem is an old post has been unable to access.
    Can you provide me with a solution? Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi

    (@esmi)

    tekehe

    (@tekehe)

    Where there is no solution.

    govpatel

    (@govpatel)

    If you using custom structure or in 3.3 there is Post name choice then your urls will be rewritten to example.net/postname
    If this not working for you then you need check with host if Mod_rewrite is enabled.

    Clayton James

    (@claytonjames)

    Read these sections carefully.
    Using “Pretty” permalinks
    Permalinks without mod_rewrite

    Also, when you change permalink structure from the dashboard, .htaccess has to be temporarily writable by WordPress, or else you have to copy the rules to .htaccess manually.

    tekehe

    (@tekehe)

    I used the latest wordpress version, I have tried to add in the htaccess file RedirectMatch 301 ^ / (\ d +) $ / (*) Rules.

    And I have also the Custom Structure here to add /% postname%.

    Clayton James

    (@claytonjames)

    1) is mod_rewrite installed and working?

    2) does the web server configuration allow you to place AllowOverride All in the host container?

    tekehe

    (@tekehe)

    How to detect mod_rewrite is working?

    govpatel

    (@govpatel)

    You need ask your host as that is the Apache Module that is on server that rewrites urls using code from .htaccess file.

    tekehe

    (@tekehe)

    ok,

    RedirectMatch 301 ^ / (\ d +) $ / (*) The code for errors?

    Or need to this form of ?
    # Remove year and month the info from permalinks for the blog in the root directory
    RewriteRule ^ ([0-9] {4}) / ([0-9] {1,2}) / ([^ /] +) /? $ http://domain.tld/ $ 3 / [R = 301 , L]”.

    tekehe

    (@tekehe)

    Mod_rewrite and AllowOverride All is turned on. Please give me solution.Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Unable to modify the WordPress Permalink’ is closed to new replies.