Please advice if there is a difference and if so what if?

Your advice is appreciated, If .htaccess contains

RewriteRule . index.php [L]

instead of

RewriteRule . /index.php [L]

would that first example without / lead to a problem?


  • Klaus
    • Flash Drive

    Thanks it clarifies the / but still not clear with sequence order

    Can I start like that
    #My Work#
    # Begin cache control #
    ExpiresActive on
    ExpiresDefault "now plus 1440 minutes"
    ExpiresByType text/html "now plus 1440 minutes"
    <FilesMatch "\.(css|png|bmp|ico|htm|gff|html|js|jpg|jpeg|gif|js|gcf)$">
    FileETag MTime Size
    ExpiresDefault "now plus 1440 minutes"

    OR must it start that way
    # Use PHP5.4 as default
    AddHandler fcgid-script .php

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ wp/$1 [L]
    RewriteRule . index.php [L]

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.