Redirect in .htaccess

Zagor

New member
Hi guys, I need help with this pretty bad.

I want to do some URL redirects in my .htaccess file. I just need proofing of some code I found.
Code:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule ^default\.xml$ http://feeds.feedburner.com/SiteAddress [L,R=301]

Can you tell me what files does this pattern includes ^default\.xml$
Also what is this correct if I want to make a 301 redirect [L,R=301]?
 
Thanks for the info, but that doesn't help me at all. I need someone who knows Apache directives to help me with the syntax of the code that I have posted.
 
Is there anybody that edits server settings through the .htaccess file or do you mainly do it from the control panel? I need some help over with the directives syntax.
 
here it is : if you want to redirect oldsite to new site you should write this :
RewriteEngine on

RewriteCond %{HTTP_HOST} ^www.oldsite.com$
RewriteRule ^/?$ "http\:\/\/www\.newsite\.com" [R=301,L]
 
Thank you for that snippet but I think everybody ignores my initial question, which is related to the code I provided in the first post. I need syntax interpretation of the following pattern: ^default\.xml$

What exactly does it defines?

Thanks!
 
Back
Top