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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:43:00+00:00 2026-05-14T00:43:00+00:00

My site was under example.com/waha/ . Now I move the site right under the

  • 0

My site was under example.com/waha/.
Now I move the site right under the root example.com.

I want to 301 redirect all the old links like example.com/waha/notice/5803 to example.com/notice/5803.

How can I do it?

My current .htaccess file is below.

<IfModule mod_rewrite.c>
  RewriteEngine On

  # NOTE: change this to your actual StatusNet path; may be "/".

  RewriteBase /

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule (.*) index.php?p=$1 [QSA,L]
</IfModule>

<FilesMatch "\.(ini)">
  Order allow,deny
</FilesMatch>
Options -Indexes
  • 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-05-14T00:43:01+00:00Added an answer on May 14, 2026 at 12:43 am

    Try this rule in front of your other mod_rewrite rule:

    RewriteRule ^waha/(.*) /$1 [L,R=301]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was already running a sub-website under following path http://example.com/sub-site/ Now, I have created
So, I have at site where I want pages such as; www.example.com/shop/index.php (or any
How would I run both of them under one main website, say www.example.com, which
using code from this site: http://www.saltycrane.com/blog/2008/09/simplistic-python-thread-example/ The code is import time from threading import
I have a asp.net site www.example.com on a Microsoft server. I also have a
I have a site with the following structure: http://www.example.com/folder1/folder2/folder3 I would like to disallow
Sometimes, when pasting links onto a facebook wall the site name under the og:title
I want to redirect all user page requests to a page on the same
Okay so I have a wordpress site. for example wordpress.com On it I have
I'm running MOSS 2007 and have created a new site under an existing one

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.