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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:28:30+00:00 2026-05-28T03:28:30+00:00

I am working on a WordPress site that uses an e-commerce engine for some

  • 0

I am working on a WordPress site that uses an e-commerce engine for some of the account functions of logged in users. I am able to control what pages users see and what content they are able to interact with in most places on the site, however one URL needs to be directed to the account page, but I do not need redirection on the not child pages.

Example:

mydomain.com/baseurl –> should redirect to customer account page. But I do not want to redirect child pages.

mydomain.com/baseurl/some-child-page/product –> should not redirect anywhere and just display normally.

I already tried the htaccess:

Redirect /baseurl http://mydomain.com/customer-account-page

but this logically affects child pages as well.

Is this possible to redirect only the base URL page? I don’t want to disrupt the existing software that displays some dynamic content on the base URL page, so I just want to direct away from it automatically as I don’t want the users to ever see that page.

I didn’t see my exact question anywhere else here, so I hope someone can direct me. Thanks!

  • 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-28T03:28:31+00:00Added an answer on May 28, 2026 at 3:28 am

    Try adding the following to your htaccess file in the root folder of your domain.

    RewriteRule ^baseurl$ http://mydomain.com/customer-account-page [L,R]
    

    If the URL you want to redirect is http://mydomain.com/some-folder/to-redirect.php then the rule would be

    RewriteRule ^some-folder/to-redirect\.php$ http://mydomain.com/customer-account-page [L,R]
    

    EDIT

    Add the following to your .htaccess file in the root directory of mydomain.com

    RewriteEngine on
    RewriteBase /
    
    
    #redirect mydomain.com/shop with or without trailing slash
    RewriteRule ^shop/?$ http://mydomain.com/customer-account-page [L,R]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a wordpress site that i've been working on that has some pages
I'm working on a WordPress site that uses a dynamically generated menu system which
I'm working on a wordpress theme that uses dropdowns for part of the site
I'm working on a community video site (Wordpress backbone) that will allow users to
I am working on a Wordpress site that users can login to and make
I'm working on a wordpress site, with a blog post that ends like: http://www.blog.com/?p=2
I'm working on a WordPress that will allow the site administrator to switch between
I am working on a WordPress site where one of the pages lists excerpts
I have developed a Wordpress site that loads pages dynamically using the .load function.
I have a Wordpress site that uses two databases -- one section queries 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.