Forums

.htaccess help (2 posts)

  1. presto
    Member
    Posted 6 years ago #

    I need help with .htaccess in reference to redirecting files:

    currently this is my .htaccess file


    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    </IfModule>

    I used to have

    /blog/archives/yy/mm/dd/(article name)

    and now I have

    /blog/yy/mm/dd/(article name)

    I found some links about permalinks and tried to insert their comments and my comments caused internal server errors. Therefore, I do not know what I did wrong. Can someone please help me write a redirect to where when links to the old structure are clicked, they are automatically restructured and forwarded.

    Thanks in advance for your help and support.

  2. yosemite
    Member
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.