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 8281061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T09:54:11+00:00 2026-06-08T09:54:11+00:00

I have a website, website.com , and it also happens to be accessible via

  • 0

I have a website, website.com, and it also happens to be accessible via website.ipage.com. Here’s what I need: All requests to http://website.com need to be sent to http://www.website.com. I have already managed this using the htaccess file below:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{http_host} ^website.com [nc]
RewriteRule ^(.*)$ http://www.website.com/$1 [r=301,nc]

Here’s what I can’t figure out how to do: All requests to http://website.ipage.com must also be sent to http://www.website.com EXCEPT for http://website.ipage.com/stats/ (the subfolder /stats/ must still be accessible via website.ipage.com).

I managed to modify the above htaccess file to redirect all requests to http://website.ipage.com to http://www.website.com by making the following changes:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{http_host} ^(website.com|website.ipage.com) [nc]
RewriteRule ^(.*)$ http://www.website.com/$1 [r=301,nc]

Which leaves me with only one question: how do I allow access to website.ipage.com ONLY if the request is trying to access the /stats/ subfolder?

  • 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-08T09:54:12+00:00Added an answer on June 8, 2026 at 9:54 am

    Add before RewriteRule

    RewriteCond %{REQUEST_URI} !^/stats/subfolder [NC]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have an asp.net website http://www.site.com . This web app is also running on
I have this website: http://www.ryansammut.com/orijen/contact.html . The footer is also being more lenghty than
We have a website at domain.com, which is also accessible via a CNAME entry
I have a String with this content: href=http://www.website.com/ /> [...] [...] I just want
I have my website running at: www.example.com I also have this other domain: www.example.net
I have this website http://wedessertmore.com that has some forms popup when you click on
I have a url which could be www.website.com/order/?pg3=2 or www.website.com/orderstatus/?pg2= There could be several
I have website based on Umbraco 5. I have installed contact form plugin (http://cultivjupitercontact.codeplex.com/).
So lets say I have the following scenario. http://website.com:8080 and http://website.com:8080/demo Is there any
I have opened www.makemytrip.com website and try to click on Round Trip radio button

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.