Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8256549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:53:29+00:00 2026-06-08T01:53:29+00:00

I have a main domain ( maindomain.com ) and an add-on domain ( addondomain.com

  • 0

I have a main domain (maindomain.com) and an add-on domain (addondomain.com) hosted at the same server, both with blogs. The files for the add-on domain, which is running WordPress, are in a directory under the root of the main domain. The main domain used to have a WordPress blog, but now I use different software, so I want to redirect http://maindomain.com/feed to a FeedBurner URL. In the .htaccess in the root of the main domain, this rule

Redirect /feed/ http://feeds.feedburner.com/MyFeed

successfully redirects the feed for the main URL. The trouble is that it also redirects the feed for the add-on domain, so http://addondomain.com/feed/ also points to that FeedBurner URL.

How can I create redirects just for the main domain and not for the add-on domain?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:53:30+00:00Added an answer on June 8, 2026 at 1:53 am

    Use mod_rewrite. It may already be enabled by default, but if not, on Linux

    a2enmod rewrite
    

    And then at to your .htaccess the following:

    RewriteCond %{HTTP_HOST} ^maindomain.com$
    RewriteRule ^feed http://feeds.feedburner.com/feed [QSA,L,R=301]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two domains both pointing to /var/www : www.example.com : main domain, has
I have a page on a domain: http://main.mydomain.com/frame.cfm which holds an iframe, loading a
I have a main domain MYDOMAIN.COM I want to make it easy for me
My host : 1and1.com My setup : I have my main domain and a
I have 2 classes within same package. Both classes have main method in them.
Earlier i have installed my code in the main domain itself. for instance, www.abcd.com/xyz/page.html
I have a web server and sendmail on same domain, where letters are sent
I have my JavaScript files on my main domain and I want to do
we have a blog in a sub-directory of the main url. http://www.domain.com/blog/ the blog
How to use subdomain like user.test.com in IIS 7. Suppose we have main domain

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.