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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:43:29+00:00 2026-06-12T07:43:29+00:00

I have a website with only a wordpress(let’s call it blog) application in it.

  • 0

I have a website with only a wordpress(let’s call it blog) application in it. I now need to add another web app(let’s call it portfolio) to the same domain and will move the blog to site.com/blog. The user will be able to choose which one to visit on the splash page. So basically I will have the following structure:

site.com -> splash page
site.com/blog
site.com/portfolio

The thing is, I don’t want to break the existing links across the web to the blog posts and want to 301 redirect all requests that are not for /portfolio to the blog app, for example:

site.com/about_me redirects to site.com/wordpress/about_me but
site.com/portfolio/index doesn't get redirected.

I guess it’s done inside the .htaccess file but after much reading couldn’t get it to work.

  • 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-12T07:43:30+00:00Added an answer on June 12, 2026 at 7:43 am

    Use a RewriteCond to match portfolio and act on non-matching requests:

    RewriteEngine On
    # if it isn't a real existing file (like img or css)
    # Remove these two lines if your images and CSS break on the wordpress site.
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    # Rewrite (redirect 301) requests not already to portfolio or wordpress to /wordpress
    RewriteCond %{REQUEST_URI} !^/(portfolio|wordpress)
    RewriteRule ^(.*) wordpress/$1 [L,R=301]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Two questions only: I have a website including a section of Blog in wordpress.
On a customer website, I have to add a background image for only a
I am using wordpress for the first time, I have created a news/blog website
I have one page website only using HTML, CSS and JavaScript. I want to
I have an existing website running on IIS6 that has only static HTML pages.
In Vaadin's website it says that only Eclipse and NetBeans have fully functional (which
I have a website with wordpress 3.0. I noticed that /wp-admin displays the following
I have a Wordpress website in which one of the categories I've stripped the
Hello i have a website and a blog, i want to display my self
I have made a website that has 2 WordPress installs one for English language

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.