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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:39:36+00:00 2026-06-08T14:39:36+00:00

When I enter my domain name with ‘www’ for example http://domain.nl everything works fine

  • 0

When I enter my domain name with ‘www’ for example http://domain.nl everything works fine but when I use the same domain with ‘www’ before it, it redirects to /app/webroot which gives errors. What could the problem be?

I use the default cakephp .htaccess files

<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteRule    ^$ app/webroot/    [L]
 RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>
  • 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-08T14:39:38+00:00Added an answer on June 8, 2026 at 2:39 pm

    You can Check first your rewrite mode is on or not in apache\conf\httpd.conf file

    check below code in httpd.conf file

    #LoadModule rewrite_module modules/mod_rewrite.so
    

    hash remove in this line and restart apache server

    After then you can set

    RewriteBase /YOURPATH/ 
    

    Or

    RewriteBase /
    

    in htacess

    I think you can try this

    <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteBase /YOURPATH/
        RewriteRule    ^$    app/webroot/    [L]
        RewriteRule    (.*) app/webroot/$1    [L]
    
     </IfModule>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Monitor.Enter and Monitor.Exit are designed to be called from the same thread. But, what
How can I know that some text contain http://www. I want to show domain
I can enter via web http://localhost:8080/tfs/web with any user, from remote or local, but
I have a domain www.foo.com purchase with NameCheap. I pointed that domain name to
On my domain I have a form workflow where users enter data on one
enter code here Want to remove items from a Main list , but give
enter code hereHiya, so far I didn't use JSP at all and I find
I have my website in a subfolder from the main root. www.domain.com ---redirects to--->
We want to get host entries of a domain. Given a domain name (let
I have posted about this before but never in this regard so please take

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.