A New Way to Manage Your .Htaccess

If you're looking to manage your extensions or redirects without messing with your .htaccess file, look no further. We recently added two features to the Hosting Control Center that help to automate this process. In both cases, if an .htaccess file already exists, these managers will simply add the new details to the existing file.


The Extension Manager
Edit the current extensions in your account or create your own custom extensions.
It allows users to specify which application (PHP, for instance) handles certain file extensions (.php5, for instance).  Located under 'Settings' in the Hosting Control Center for more details see the following help article.

How do I change the default program for a file type in my hosting account?


Site Redirects Manager

Now you can send your visitors to a different destination within your site or to a completely new web address. Located under 'Content' in the Hosting Control Center, the Site Redirects Manager is the place to create, modify and delete domain redirects. They can be 301(permanent) or 302 (temporary). Lets take a look at some common redirect scenarios.

Example 1: Redirect All Domains

In this example, any domain that is pointing to this hosting account, regardless of its path, will be redirected to http://externaldomain.org.  In most cases, there will be no need to specify a path.



Example 2:Redirect to a Blog

In this example, the customer wants to redirect their domain http://example.org to their blog at http://example.org/blog.  This redirect will be very common and will cause a redirect loop if you select any content-type other than “No Redirect”  When working properly, if the browser tries to go to http://example.org, it will be redirected to http://example.org/blog.

 


Example 3: Specifying a Path

If you have created a blog with Wordpress and you want people who go to your Joomla site to be redirected to your new blog site, then you may need to specify a path.  The example below will redirect http://example.org/joomla to http://example.org/wordpress.  In this case you may want to redirect the contents since there is no risk of a redirect loop. 

 

Use these instructions for setting up a Redirect using the Site Redirects Manager.

 del.icio.us  Stumbleupon  Technorati  Digg 

 
Trackbacks
  • No trackbacks exist for this entry.
Comments
Page: 1 of 1
  • 3/11/2009 2:01 PM Pim Uijttewaal wrote:
    Hello,

    I think something is wrong with the .htaccess import you guys probably use(d). In my case, the WordPress redirects looks strange and part of the path string is displayed in the domain field.

    Ah well, it's probably version 1.0

    Anyway, the concept is great!

    Thank you

    Pim
    Reply to this
    1. 4/2/2009 3:49 PM Alicia wrote:
      The Sites Redirect Manager reads RewriteConditions & RewriteRules from the .htaccess file in your html directory.  When the Sites Redirect Manager opens it tries to read these directives but cannot parse them properly because they are not in the expected format.  We plan to add enhancements to the Site Redirects Manager in the future so that it will not try to read directives that it didn't write itself.

       


      Reply to this
  • 3/12/2009 12:02 AM Prashant wrote:
    Is this feature also available for windows hosting using ASP.NET and PHP5 ??
    Reply to this
    1. 4/24/2009 4:28 PM Alicia wrote:
       This tools is currently only available for Linux hosting.
      Reply to this
  • 3/13/2009 7:18 AM Vincent Wright wrote:
    This is great for Linux hosting, but what about IIS7 hosting? You have the ability to something similar with IIS7. Can we get this functionality?
    Reply to this
    1. 4/24/2009 4:36 PM Alicia wrote:
      We can certainly look in to it. We'll keep you posted, thanks!
      Reply to this
  • 4/10/2009 12:50 PM weight loss wrote:
    My htaccess dont work
    Reply to this
    1. 4/12/2009 1:25 PM Alicia wrote:
      This article offers more assistance: http://blog.godaddyhosting.com/2008/02/08/htaccess.aspx


      Reply to this
  • 4/13/2009 7:36 PM Kelly wrote:
    I don't have a Site Redirects Manager option under Content in my Hosting Control Center
    Reply to this
    1. 4/15/2009 7:26 PM Alicia wrote:
      More then likely it's because you are on a Windows hosting account. If that is not the case, please contact our support team for assistance at 480-505-8877 or support@godaddy.com.
      Reply to this
  • 5/25/2009 1:53 PM Bob Jamison wrote:
    I have a twofold issue. I went to the Extension Manager as you described, but I did not see any way to get Java/Tomcat to handle extensions. I need it to handle .html, nothing else will do. Also, how do I know if Tomcat is actually handling requests? Are there any test servlets in the WEB-INF directory? According to the servlet specification, extension settings in web.xml override any Apache settings.

    Thanks much! -- bob
    Reply to this
  • 5/27/2009 10:35 PM Doug wrote:
    I thought I remembered seeing something about .htaccess files being supported once we upgraded to IIS7, but I can't find anything about it in the help files. If .htaccess isn't supported in IIS7, then do you know any way to do a 301 redirect on a .html page on a shared windows hosting account?
    Reply to this
    1. 6/1/2009 11:32 AM Alicia wrote:
      I recommend taking a look at these threads on the IIS website for more details.

      http://forums.iis.net/p/1146147/1856179.aspx
      http://forums.iis.net/t/1151044.aspx

      Reply to this

Page: 1 of 1
Leave a comment

Submitted comments will be subject to moderation before being displayed.

 Enter the above security code (required)

 Name (required)

 Email (will not be published) (required)

 Website

Your comment is 0 characters limited to 3000 characters.