Jump to content

uploading from subfolder to root


pwired
 Share

Recommended Posts

If I develop a website locally in a wamp server in a subfolder like /www/subfolder/ I know I have to uncomment RewriteBase in the .htaccess file and configure it to RewriteBase /subfolder/

After uploading the locally developed website to a host directly in the root, (besides database credentials, salt and httpHosts) will it be enough to have RewriteBase commented out in the .htaccess file ?

Link to comment
Share on other sites

17 hours ago, pwired said:

will it be enough to have RewriteBase commented out in the .htaccess file ?

Yes, I think so.

You may have good reason to develop locally in a subfolder, but I generally find it's easier to set up a virtual host for each project and then develop in the root of that virtual host.

  • Like 5
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...