• Resolved kryptojdubai

    (@kryptojdubai)


    Hello,

    When I update the permalink structure of new website from Plain to Post Name, it gives 404 Error.

    This is the error I get:

    “Not Found

    The requested URL /take-a-tour/ was not found on this server.”

    I tried to find some solutions online and updated my .htaccess file with the below code but problem still continues. What could be the problem and its possible solution?

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    #BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php $ - [L]
    RewriteCond % {REQUEST_FILENAME} ! -f
    RewriteCond % {REQUEST_FIELENAME} ! -d
    RewriteRule ./index.php [L]
    </IfModule>
    
    #END WordPress
Viewing 8 replies - 1 through 8 (of 8 total)
  • Try changing to default WordPress theme like Tweentysixteen and then revert back to your theme. Disable plugins one by bone and see if it resolves

    Thread Starter kryptojdubai

    (@kryptojdubai)

    Thank you but this method didn’t resolve the issue.
    I have tried this method and tried it again but didn’t help. ??

    Try clearing your browser cache and post your site address

    Thread Starter kryptojdubai

    (@kryptojdubai)

    No even this doesn’t help.

    Thread Starter kryptojdubai

    (@kryptojdubai)

    I have tried almost all methods mentioned in different forums but nothing seems to work.

    Thread Starter kryptojdubai

    (@kryptojdubai)

    Can someone help me with a solution?

    @kryptojdubai: I see a typo in your .htaccess:

    RewriteCond % {REQUEST_FIELENAME} ! -d

    So, correct that line so it looks like this instead:

    RewriteCond % {REQUEST_FILENAME} ! -d

    and then see if that makes any difference for you.

    Thread Starter kryptojdubai

    (@kryptojdubai)

    Thanks Girlie.

    That typo wasn’t in the actual .htaccess, the actual one had correctly mentioned.

    However, I have fixed the problem now.

    Had to add `Options Indexes FollowSymLinks
    AllowOverride FileInfo` in the directory.

    The problem is resolved.

    Thank you all.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Permalinks giving 404 Error’ is closed to new replies.