Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

experct .htaccess help needed

Status
Not open for further replies.

solesuppliers

Technical User
Dec 30, 2010
1
US
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]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top