• Hey I am new to WordPress and i just want to setup WordPress so i can get article name + extension

    So i have figured out that i have to set permalinks to : /%postname%/

    This is what i want

    https://www.mysite.com/very-nice-nice-article.php

    With my current config i get
    https://www.mysite.com/very-nice-nice-article

    But no extension.

    I have tried to add /%postname%/.php but that does not seem to work.

    this is how my htaccess file looks like

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

      # END WordPress

    How can I add extension .php to my current config?
    I would be glad if somebody could help me with this, I am sure its something simple ??

    -MrMatts

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘mod_rewrite working but cant add extension(.php)’ is closed to new replies.