• Hi!!

    I have been installin LAMP in ubuntu server for my WP and after finishing the installation, I cant change the permanent link to erase the anoying index.php in the URL.

    I have been checking the .htaccess and there is no way.

    Any advice???

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ucastro

    (@ucastro)

    .htaccess:

    BEGIN WordPress Las directivas (líneas) entre ?BEGIN WordPress? y ?END WordPress? son generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress. Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas.

    RewriteEngine On

    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteBase /

    RewriteRule ^index.php$ – [L]

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    END WordPress

    Moderator bcworkz

    (@bcworkz)

    index.php in permalinks is normally hidden because it should be the default file for HTTP requests. If you’re unable to remove it, it might be because it’s not the default file on your server. You can make it the default by adding the following to the very top of your .htaccess file:
    DirectoryIndex index.php

    Once that’s done, go to your permalink settings and set the permalink structure as you desire.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.