Drupal address showing subfolder aswell

Solutions

In your htaccess file you can set the rewrite rule:

# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
# VirtualDocumentRoot and the rewrite rules are not working properly.
# For example if your site is at http://example.com/drupal uncomment and
# modify the following line:
# RewriteBase /site
Tags: Uri / Multi Sites

Similar questions

use htaccess to rewrite subfolder in drupal
So there is a drupal installation with a subfolder with kohana 3 in it. Trying to redirect the URL to something much more clean RewriteRule ^newpage$ /registered_affiliates/index.php/affiliates/splash Thanks
simple install drupal in subfolder
This seems like it should be simplpe so if someone has a link that answers this I'll be happen with that and if this should be posted somewhere else please let me know. I am trying to install Drupal in a sub folder, and just have it work in the sub folder. www.example.com/drupal/ so when i go to www.example.com/drupal/ i'll see the install. All I g...
Zend Framework site with Drupal (or any other CMS) in subfolder)
I'm building web site/application based on Zend Framework. For large number of pages I want to use Drupal. Drupal is presumably installed in /cms folder. Zend Framework entry point is /public/index.php And for Drupal is /public/cms/index.php How can it be done with some .htaccess mod_rewrite rules to remove "/cms/" part for URL for Drupal, that is,...
Drupal Multisite using subfolder
i want to have another drupal-site in a subdirectory using multisites. Assuming I have the domain foo.example.com and the folder sites/foo.example.com. I want to new site to be at foo.example.com/bar. So according to the describtion in the settings php i'd simply have to setup a folder sites/foo.example.com.bar. Well… I did. Yet it does still load ...
Redmine in subfolder. Drupal (in main folder) handles all requests
I have Redmine in subfolder /var/www/redmine and Drupal in folder /var/www/ When I go to URL mysite.com/redmine, Redmine shows ok, but mysite.com/redmine/login is (over)handled by Drupal. Apache config is as follows
Nginx. Something like drupal in root and Magento in subfolder
In root directory I have Drupal. In sub directory I have Magento. Most probably drupal rewrites overlap magento rewrites. Magento homepage opening successfully without any nginx config, but links don't work. I'm not sure, but I think to resolve the problem I need exclude magento directory from drupal routing. And another thing is, I'm not sure if I...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.