solesuppliers
Technical User
I need help trying to figure this out. This is what is needed. Currently all my links are hard-coded to point to a specific folder (ex: This folder has multiple sub-folders and files within. I want my .htaccess to change the location of were my hard links are pointing to with out having to change whats hard-coded currently. (ex: all links pointing to will now get redirected to I would this to be done when the new year starts. So there needs to be a rewrite condition based on the year. I have found some information but cant seem to get the script to work. I wanted to know if anyone could help me with this issue. Id appreciate if anyone can help with this.
Example:
RewriteEngine On
RewriteBase /
RewriteCond %{TIME_YEAR} == 2011
RewriteRule ^xml/?$ /xml_ [L]
Example:
RewriteEngine On
RewriteBase /
RewriteCond %{TIME_YEAR} == 2011
RewriteRule ^xml/?$ /xml_ [L]