Get Paid to Participate     Twitter     Facebook     Google+
Hosting Discussion
 

forgot password?


Reply


Old
  Post #1 (permalink)   07-24-2009, 06:07 AM
HD Master
 
Zagor's Avatar
 
Join Date: May 2009
Posts: 357

Status: Zagor is offline
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]?
 
 
 


Old
  Post #2 (permalink)   07-24-2009, 06:21 AM
HD Addict
 
Join Date: Apr 2009
Posts: 216

Status: rumsfo is offline
here you are http://www.webconfs.com/how-to-redirect-a-webpage.php
I hope that link will help you
__________________
?Want FREE Windows 7 UE or Zune HD 32GB? - We will give it!
learn more how to get it...
****** Web Hosting - ASP.NET, MS SQL, AJAX, Hyper-V
Microsoft Hosting and Virtualization
 
 
 


Old
  Post #3 (permalink)   07-28-2009, 05:28 AM
HD Master
 
Zagor's Avatar
 
Join Date: May 2009
Posts: 357

Status: Zagor is offline
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.
 
 
 


Old
  Post #4 (permalink)   07-30-2009, 07:29 AM
HD Master
 
Zagor's Avatar
 
Join Date: May 2009
Posts: 357

Status: Zagor is offline
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.
 
 
 


Old
  Post #5 (permalink)   07-31-2009, 04:56 AM
HD Newbie
 
Join Date: Jul 2009
Posts: 36

Status: BobyKirov is offline
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]
__________________
Affodrable Web Hosting
Web Hosting Blog
 
 
 


Old
  Post #6 (permalink)   08-01-2009, 06:20 AM
HD Master
 
Zagor's Avatar
 
Join Date: May 2009
Posts: 357

Status: Zagor is offline
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!
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: