Drupal Panels are content types that can hold nodes together in different order Panels can be added

inside existing panels.

HOW TO USE PANELS Create content type then content without links, Create panel node using panel content type and go to panel content and add nodes, panel s or blocks such as login, search box, navigation, primary menu etc. HOW TO ADD A BLOCK TO A SPECIFIC PAGE Create the block if the block is not created, create the page if the page is not created. Goto block and select show in only selected page and in the textarea enter the name of the page you want the block to show. Blocks created by user are restricted to a particular theme unless you HOW TO ENABLE CLEAN URL By default, Drupal uses and generates URLs for your site's pages that look like "http://www.example.com/?q=node/83." This style of URLs can be hard to read, and can prevent some search engines from indexing all the pages of your site. Research suggests this may not be as big of a problem for major search engines as it once was; however, it is worth noting the recommendation from Google's webmaster guidelines stating: If you decide to use dynamic pages (i.e., the URL contains a "?" character), be aware that not every search engine spider crawls dynamic pages as well as static pages. It helps to keep the parameters short and the number of them few. If you are unhappy with the default URLs in Drupal, you may be able to tell Drupal to use "clean URLs", eliminating the "?q=" in your site's URLs, and this page explains how to do it. The instructions below are largely applicable only for the most common server setup, which is an Apache web server running on some flavor of Unix/Linux, with the mod_rewrite Apache module configured and mod_rewrite enabled in httpd.conf configuration file. If you are running Drupal on a different type of server, check the links section below (just above the Comments section of this page) to see if there might be something that addresses your server configuration on a different page. Before enabling clean URLs in the Drupal configuration screens (see below), you may need to prepare your server for clean URLs to work. There are two ways to prepare your server for clean URLs to work in Drupal. If you have complete control of your server, for example because you run your own server, are installing a development site on your personal computer, or have a dedicated server hosting account, then you should enable clean URLs in the httpd.conf file for better performance and security. However, if you have a shared hosting account (at DreamHost, BlueHost, HostGator, GoDaddy, 1and1, et al.), you will not be able to modify the httpd.conf file and should use the Drupal .htaccess file instead. Enabling Clean URLs in Drupal Note: The standard Drupal installation contains a sample .htaccess file which supports clean URLs. It is easy to miss copying this file, because of the leading "dot". So before trying to enable Clean URLs, make sure this file exists in your Drupal installation. Drupal 7.x In Drupal 7, the installer tests for compatibility with Clean URLs as a part of the installation process. If you need to enable Clean URLs post installation, Drupal will run the clean URL test automatically when you navigate to the Clean URLs configuration page (Administer > Configuration > Search and metadata), show the results, and allow you to save configuration. You can enable or disable it at a later time by following these steps: Navigate to the Clean URLs configuration page (Administer > Configuration > Search and metadata) Wait for the automated Clean URLs test to run. Check or uncheck the Enable clean URLs checkbox Click "Save configuration" Even if Clean URLs are successfully enabled at install-time, if you have a dedicated server you may still want to follow the steps (below) to enable the more efficient httpd.conf rewrite method for clean URLs. If you choose to do that, you might want to turn off Clean URLs while you are working on the server.

Drupal 6.x In Drupal 6, the installer tests for compatibility with Clean URLs as a part of the installation process. If the installer was not able to run the test successfully at install time, you can later follow the instructions below for Drupal 5 to get Clean URLs working. There is one minor difference: Drupal 6 will run the clean URL test automatically when you navigate to the Clean URLs configuration page and will show the results, in place of giving you a link to run the test manually. Also note that even if Clean URLs are successfully enabled at install-time, if you have a dedicated server you may still want to follow the steps (below) to enable the more efficient httpd.conf rewrite method for clean URLs. If you choose to do that, you might want to turn off Clean URLs while you are working on the server. Drupal 5.x Here are the steps necessary to enable Clean URLs in Drupal 5: Go to the Clean URL's (Administer > Site configuration > Clean URLs in Drupal 5) section of the administrative interface. Look for the paragraph that reads as follows:
This option makes Drupal emit "clean" URLs (i.e. without ?q= in the URL.) Before enabling clean URLs, you must perform a test to determine if your server is properly configured. If you are able to see this page again after clicking the "Run the clean URL test" link, the test has succeeded and the radio buttons above will be available. If instead you are directed to a "Page not found" error, you will need to change the configuration of your server. The handbook page on Clean URLs has additional troubleshooting information. Run the clean URL test. Click on the Run the clean URL test link at the end of the above paragraph. If the test is successful, set Clean URLs to "enabled" and save the configuration. If the test is not successful, use the steps below to fix your server configuration and try again. Prior to Drupal 5.x For Drupal versions prior to Drupal 5, there is no automatic Clean URLs test or link. Instead, you can test manually by typing in the Clean URL for your settings page: http://www.example.com/admin/settings (where www.example.com is replaced by your hostname). If this results in seeing the settings page, and no errors, then Clean URLs are safe to enable, and you can do so with the setting on this page. If there is an error, follow the instructions below to configure your server. Error recovery Enabling "Clean URLs" when your server is not properly configured (i.e. if the Clean URLs tests described above fail) can make it difficult to navigate back to administration pages to undo your mistake, because all the Drupal-generated menus and links will have URLs that do not work. If you find yourself in this situation, you can return to the administrative settings page by typing in the URL in the 'non-clean' form: http://www.example.com/?q=admin/settingsfor the admin settings page in Drupal 4.x, or http://www.example.com/?q=admin/settings/clean-urls to get to the Drupal 5 or Drupal 6 Clean URLs settings page. Once there, you should be able to reset to not using Clean URLs. There are additional instructions for recovering from malfunctioning Clean URLs the Handbook page Unset clean URLs. Server configuration for Clean URLs on a dedicated server, with httpd.conf Enabling clean URLs on a dedicated server involves these steps: Enable mod_rewrite for Apache. You can talk to your web host or consult the Apache documentation for mod_rewrite to get more information on how to do this. At a minimum, this will involve making sure that mod_rewrite is enabled for your installation of Apache. To test if mod_rewrite is available in Apache2, you can type the following at a command prompt, to list all installed Apache modules: apache2ctl -M On some systems this command may be: apachectl -M In the output, check to see if the rewrite_module is included in the list of modules. If the rewrite module is not in the list, it will have to be either compiled-in or made available as a loadable module. Generally speaking, you can tell Apache to load the module by including

htaccess file which should be sufficient to get Clean URLs running. or apache2. a MultiViews-enabled site could access this file with the URL "example. a virtual-hostspecific file (vhost.e. For instance.conf.c in your Apache configuration file (see below for information on the configuration file).htaccess file (as you would if you were on shared hosting). you may have to ask your systems administrator or hosting provider for help. If you have this file installed. The next step is to copy or include the Drupal-specific settings directly into your configuration file.htaccess The standard Drupal installation contains a sample .. if you had a file called "evaluation. Depending on your server configuration. Unless you know what you're doing. Consult the Apache documentation for further information about MultiViews. The next step is to locate the appropriate Apache configuration file for your site.conf. Note Regarding MultiViews: Apache supports a feature called "MultiViews" (more generally: "Content Negotiation"). There are instructions here for how to include the Drupal directives in your configuration file. You will need to have the Allow Override directive set in your Apache configuration file (this will allow local . you can try some of the troubleshooting suggestions below. because of the leading "dot". it can cause problems when Drupal's Clean URLs are enabled. contact your hosting provider. Remember to restart Apache for the new configuration to take effect.com> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index. 5. make sure this file exists in your Drupal installation. Consult the .QSA] </Directory> Make sure that you are looking at the .htaccess overrides on your site): AllowOverride All AccessFileName . The following may work to enable the module without editing any files: a2enmod rewrite Note that these approaches may not work for all combinations of operating system and Apache server -.htaccess file for your major version of Drupal (i. 6. and Clean URLs are not working out-of-the-box for you. If you do not have write permissions to these files. /etc/apache2. However. so it is likely that this note will not apply. a specific site file (e. or a sub-directory.com/evaluation". if it is in your configuration file but has been commented out. you should not use MultiViews if you plan to use the Clean URLs feature of Drupal. While MultiViews can be a handy feature when used knowingly. Server configuration for Clean URLs on a shared server.consult the Apache documentation that came with your Apache software for the correct syntax. If you still cannot get Clean URLs to work.htaccess for a thorough review of .x. 7. You may still be able to readthese configuration files to troubleshoot a little however. MultiViews is not enabled in a default Apache installation.txt".so AddModule mod_rewrite.php?q=$1 [L.g. the appropriate Apache configuration file could be httpd.x). but Clean URLs still do not work.htaccess Read Behind the scenes with Apache's . So before trying to enable Clean URLs. . try the command: find /etc -name httpd* to find the file if it is located elsewhere in your file system. with . you can still simply use the Drupal . It is easy to miss copying this file.x.c.htaccess. if not. They are usually located in /etc/httpd/conf.htaccess file in Drupal page for examples of rules. which allows navigation to your pages without the need for file extensions. You may also find it helpful to view samples of Apache 2 AllowOverride directives. If Note: If you do not want to put the rewrite rules in your Apache configuration file. such as the following: <Directory /var/www/example.LoadModule rewrite_module modules/mod_rewrite.conf). Be sure to uncomment AddModule mod_rewrite. "default").

(Remove the garbage string immediately. /var/www/index. if your Apache DocumentRoot is /var/www/ (i.example2. In some configurations.htaccess is even being used Apache needs to be explicitly told to respect the instructions in your sites .) If you do this. It's currently known that servers running FastCGI can run into problems if the $base_url variable is left commented out (see http://bugs.it makes . the RewriteBase setting is commented out of the Drupal .php file if not already set.htaccess file.com/mysite In order to enable clean URLs for both sites. RewriteBase setting The main configuration option which may need to be changed for your site is the RewriteBase.e.com/) and your Drupal installation is installed in the subdirectory /var/www/mysite/.com/mysite http://www.com/ http://www.conf as described above. $base_url You may need to manually set the $base_url variable in the settings.example3.php?id=19656). RewriteBase will not work. By default. This can be specified in the Drupal .example. To check if your host is currently even reading your .com/ RewriteBase /mysite will work for the following sites: http://www. depending on where you are putting the Drupal rewrite directives (see above). You will need to create a special rule for each subdirectory.Fixing problems Check that . RewriteBase / will work for the following sites: http://www. so look there first.htaccess file.conf file.net/bug.html is what is displayed when you point your browser at http://www.example.example3.htaccess file or in the httpd. you may need to change this setting. That is what the AllowOverride All directive above does .php.htaccess.example.com/mysite However. or when all the sites it serves are in the same subdirectory of their domains. Multi-site RewriteBase works when your Drupal installation serves only one site.example.com/ http://www. then the RewriteBase could be set to RewriteBase /mysite and that might help.example. If you are having trouble getting Clean URLs to work.com/mysite http://www. you will need to add RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d . For example. if your sites are in different subdirectories.example2. This is off by default. though most hosts will have turned it on. your Drupal installation may serve the following sites: http://www. you can (temporarily) add some garbage string to the file in an attempt to break it..com/ http://www.then . Your site should immediately start returning a "500 Server Error" when you load a page from that directory due to this misconfiguration. and your site does not break .htaccess is being ignored and you will not be able to use clean URLs until you get support from your hosts.htaccess start working. and that works well for many configurations. For example. Some hosts allow you to enable this option through their site management control panel. or enable it in httpd. setting RewriteBase / will allow clean URLs to work. For example.

2009 at 11:14am Scenario: Fedora Core 4 Apache 1. If your site's home page URL is http://example.QSA] before the existing rewrite rules. you might need to use /subdir/index.yourdomainname. Find a line that looks like this.htaccess file: RewriteRule ^(. For instance. but not all server configurations.*)$ RewriteRule ^(.htaccess file may be necessary.com/node/83. 2008 at 1:08am Just thought that It would be good to mention that you need to have a VirtualHost setup in your apache config. When I did fresh install of apache on ubuntu server 8 I had to first make a static link to the rewrite.etc) I just added next lines at the server httpd.*)$ /mysite/index. This is necessary on some.phpinstead of index./www/moodle2 . near the end of your Drupal .QSA] You may need to replace index.php instead of index.*)$ index.example. Configuring clean URLs for various systems Troubleshooting ½ Using Perl to run cronupConfiguring clean URLs for various systems ¾ Login or register to post comments Comments Need apache VirtualHost setup for rewrites to work Posted by j26crowley on November 7.php with the URL path to your Drupal installation's index. 4 moodle sites and drupal) web directory /www/moodle1 .conf file and it worked # for drupal.3 Multisite (Many web applications. Location of index." In order to change the 'node/##' portion of the URL to something more like 'news/june-1st-news' a site will need the Path module enabled.d/apache2 restart Login or register to post comments Litte ontribution Posted by Andrés Chandía on March 10./www/webappx .php For some server configurations.php. Create Even Cleaner URLs with the Path Module Using Clean URLs will cause Drupal to generate URLs in the form "http://www.php file (only the part after the base URL).com/.php?q=$1 [L.com/subdir/. you might need to use /index. another change to the Drupal .com ServerAlias *.com DocumentRoot /var/www/drupal6/ </VirtualHost> restart apache /etc/init.php?q=$1 [L. See thePath module handbook page for more information on using the path module.load file as admin I ran the command a2enmod rewrite Had to setup a virtual host for my domain name NameVirtualHost *:80 <VirtualHost *:80> ServerName yourdomainname. if your site's home page URL is http://example.php. added by achandia <Directory "/www/drupal"> AllowOverride All </Directory> ./www/drupal .RewriteCond %{REQUEST_URI} ^/mysite/(.

I've just updated to Drupal-6.QSA] </Directory> Login or register to post comments Re: Yes.htaccess /.org-access_log common </VirtualHost> <Directory "/opt/lampp/htdocs/drupal-6.htaccess Hope that helps anybody Login or register to post comments Clean URL .htaccess /anothersite/.restart apache /etc/init.*)$ index. <VirtualHost *:80> ServerAdmin abc@xxx. setting up a virtual host makes 'clean URLs' work.org-error_log CustomLog logs/xxx.16"> RewriteEngine on RewriteBase /drupal-6. 2008 at 11:04pm on a drupal regular multisite clean url will not work without . GODaddy and Bluehost Posted by dannychang on December 26. the same pinenut> setup did not work with Drupal-6.php?q=$1 [L. Posted by pinenut on June 24.htaccess in each project root. so make sure to copy also . @ch Login or register to post comments Yes. It worked for me. the same setup did not work with Drupal-6.16 ServerName drupal.org ErrorLog logs/xxx.htacccess with DreamHost. 2010 at 10:45pm pinenut> I set a virtual host as follows and now I can have pinenut> 'Clean URLs' work. setting up a virtual host makes 'clean URLs' work. Have these directories been renamed to drupal-6. 2010 at 4:13am I set a virtual host as follows and now I can have 'Clean URLs' work. Directory and and RewriteBase.17 during your upgrade? Try moving the </VirtualHost> line to underneath </Directory>. For some reason. but they should work the same <IfModule mod_rewrite. 2008 at 9:34pm DreamHost users have to use following code in .16 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.htaccess for clean URL I haven¶t test on godaddy and blueshot.c> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f .17.17. and configured according to the instructions. For some reason.xxx.org DocumentRoot /opt/lampp/htdocs/drupal-6.16" in your DocumentRoot. I've got two suggestions: You've got "drupal-6. so that the Directory section is embedded in the VirtualHost. Login or register to post comments clean url on multisite Posted by mokko on November 28.d/httpd restart I hope this helps. Posted by tsuchan on August 2.17.

RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.5 (client not Server) Posted by dilby on January 9.conf change the AllowOverride directive to AllowOverride All within the <Directory "/Library/WebServer/Documents"> block.htaccess file in the drupal directory uncomment the line #RewriteBase /drupal and change the /drupal to what ever is appropriate for your install Good luck! Login or register to post comments .5.QSA] </IfModule> The line with favican. remove the comment symbol to show the following <IfModule mod_rewrite.6: Add AccessFileName . I had no problem on the same server with clean urls on 2 D6 sites that I was running there. Should work right away. Save and check clean url's. 2011 at 2:59pm I just set up a D7 site on a greengeeks vps. At the bottom. Using ftp.htaccess file for the directory I am loading drupal in. Even though I am using a subdirectory.php?q=$1 [L. I edit the .conf change the AllowOverride directive to AllowOverride All within the <Directory "/Users/<username>/Sites"> block (it's likely this will be the only block in this file).*)$ index. This addition to the . Interestingly enough. If you've installed it in /Users/<username>/Sites: In private/etc/apache2/users/. Login or register to post comments thanks also works on greengeeks with D7 installations Posted by dougzilla on May 6.htaccess to /private/etc/apache2/httpd.QSA] </IfModule> Login or register to post comments godaddy settings Posted by sunward on November 15.ico was there.c> RewriteEngine on # # big bunch of comment lines # RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(. Login or register to post comments Mac OS X 10.conf Then dependant on where you have installed drupal either: If you've installed it in /Library/WebServer/Documents In /private/etc/apache2/httpd. I could not get clean urls to work at all. Finally in the . I didn't need to change any of the lines.htaccess file did the trick.php?q=$1 [L. 2009 at 4:18am To turn on clean URL's on Mac OS X 10. 2009 at 6:18am As a further update on anyone using godaddy: I have a deluxe hosting with many sites.*)$ index.

Login or register to post comments Thank you Posted by danbretl on February 9. Login or register to post comments thanks Posted by ewizardServices on March 3. Can you help? Thanks Login or register to post comments 1And1 Solution Posted by SethVIII on January 9.conf. ... but ... Posted by EliseVanLooij on May 14.for the last step.QSA] Found solution here: http://geeksandgod. Login or register to post comments Hi. Clip in extensions Website Design Firms Login or register to post comments Mac OS X 10. I have the same OSX version as you do. and Drupal 6. 2010 at 7:27am Thank you so much your and dilby's comments finally made things clear for me. this worked for me RewriteBase /~[username]/ouroakland/htdocs but this did not: RewriteBase /Users/[username]/Sites/ouroakland the leading slash is required.9.php?q=$1 [L..com/forum/drupals-clean-urls Login or register to post comments .*)$ /index..php?q=$1 [L. but what finally worked for me was: httpd.6 (client not Server) Posted by KathyW on July 21.htaccess file in the drupal directory uncomment the line #RewriteBase / <== whatever is appropriate for your setup Hope this might help someone else. I did exactly as you instructed.17) going on my Snow Leopard (PHP5.conf change the AllowOverride directive from None (default) to All : AllowOverride All And in the . 2009 at 12:16pm For 1And1 with PHP 5. but it did not work. and allowed me to turn on Clean URLs. 2009 at 1:18pm . 2009 at 1:50am for the last step. only change needed is: RewriteRule ^(. I edited httpd.htaccess (I also have a Drupal5 install in Sites) RewriteBase /~elisevanlooij/Drupal6 Thank you Dilby for taking the time to write out these instructions for your fellow 10. 2010 at 8:11am All I needed to get CleanURLs (Drupal 6. fixed my problem..QSA] to: RewriteRule ^(. 2010 at 9:25am Hi. 2011 at 11:28am thanks for your posting and sharing with us.htaccess. Login or register to post comments Glad it worked for you.conf (mine is at /opt/local/apache2/conf since I'm using a MacPorts installation) DocumentRoot "/Users/elisevanlooij/Sites" <Directory "/Users/elisevanlooij/Sites"> ~/Sites/Drupal6/. I'm really happy to finally have this working. I have the same OSX Posted by kevinpw on December 17.*)$ index.5 users.3) setup was: In /etc/apache2/httpd. this Posted by helloari on March 19.1. and restarted apachectl.

so Login or register to post comments Uniform Server 4. 2009 at 12:08am In testing Ubuntu 9.com SinControl. You must find the file that sets permission of each directory for apache.2. PapayaMedia.. a2enmod rewrite (to disable type a2dismod rewrite) 2)Set directory permission.so will have LoadModule rewrite_module modules/mod_rewrite. Thank you again.0-Mona for more tips. Login or register to post comments UBUNTU Posted by zagnutts on January 13.10 I've set up 2 different servers 1) Ubuntu w/XAMMP and 2) Ubuntu with LAMP install from the server installation. Edit the file [drive][path]\Uniform Server\udrive\usr\local\apache2\conf\httpd. 2010 at 4:00am Great!!! I'm using Linux Mint Helena (based on Ubuntu 9...uniformserver... 2009 at 9:06am This edit is also required in uniserv 4.net . Versions prior to 4 already have the rewrite_module line uncommented.deny allow from all 3)Just restart apache and it should be working: /etc/init..10) and this works.so to LoadModule rewrite_module modules/mod_rewrite. Thanks.php/Installing_Drupal_on_4. In my case it was /etc/apache2/sites-enabled/000-default edit the page so that the directory that you will be using to serve webpages has "AllowOverride All".conf uncomment #LoadModule rewrite_module modules/mod_rewrite.11\conf\httpd.d/apache2 restart Login or register to post comments Great Job!!! Posted by damaddhacker on November 24.com/index. 2009 at 11:50pm I wanted to share my problem with getting clean urls to work in ubuntu.0...conf Change line 194 #LoadModule rewrite_module modules/mod_rewrite. I couldn't find any info on how to do this.both were different in getting this to work. 2011 at 2:51am Right on this was exactly what I needed! Thanks Login or register to post comments Using Clean URLs and WAMP2 Posted by AlexanderPop on January 10. but finally I pieced it together and it is actually very simple. Just do the following: 1)enable rewrite module on apache.so See http://wiki.Right on this was exactly Posted by jordojuice on April 18.0 (Mona) Posted by strands on April 19. Login or register to post comments Thank you Posted by juankvillegas on April 17. 2009 at 8:07am Windows c:\wamp\bin\apache\Apache2. My file contains the following: Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow.

if it doesn't exist.org/node/134439 You have to enabled the rewrite module(mod_rewrite) sudo a2enmod rewrite My Drupal Installation serves one site which is in the subdirectory Drupal6 Hence my site address is http://localhost/drupal6 1st step With Apache version 2.cnf Copy paste the following lines and save the file RewriteLog "/var/log/apache2/rewrite.conf Copy paste following lines in the directory section.php?q=$1 [L.1.d/apache2 reload 5th step Enable url rewriting at /admin/settings/clean-urls save changes alaca Login or register to post comments Easier Posted by Dokuro on June 1. and save the file.c> RewriteEngine On RewriteRule "(^|/)\. make sure to replace /drupal6 in line 4. /drupal6 in line 7 and /drupal6 in line 8 by your site's directory otherwise it won't work.log" RewriteLogLevel 3 3rd step sudo nano /etc/drupal/6/htaccess Under rewrite rules make sure the following lines exist otherwise copy paste them .16 Posted by alaca on May 18.conf So. 2010 at 2:04am Easier way? https://help. and the new file is located at: /etc/apache2/apache2. Save changes.[F] RewriteBase /drupal6 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} ^/drupal6/(. the httpd. just copy paste the lines at the bottom .04 LTS + Apache2 +PHP5 + MySql 5.41 + Drupal 6.ubuntu. 2010 at 5:11pm I followed Method 2 http://drupal. sudo /etc/init.*)$ RewriteRule ^(.QSA] </IfModule> 4th step Reload apache sudo /etc/init. <IfModule mod_rewrite." .com/community/Drupal sudo gedit /etc/apache2/sites-available/default Find every occurrence of "AllowOverride none" and replace with "AllowOverride All" then save and restart your server. in the command line type: sudo /etc/apache2/apache2. <Directory /var/www/localhost/drupal6> AllowOverride All </Directory> 2nd step sudo nano etc/apache2/apache2.*)$ /drupal6/index.d/apache2 restart or sudo service apache2 restart .conf has been deprecated (actually mine is empty ).Login or register to post comments Ubuntu 10.

# For example if your site is at http://example. Login or register to post comments My Situation Posted by maku520 on February 24.QSA] RewriteBase / # Rewrite URLs of the form 'x' to the form 'index.*)$ index.php" in the line reading "RewriteRule ^(.htaccess # Modify the RewriteBase if you are using Drupal in a subdirectory or in a # VirtualDocumentRoot and the rewrite rules are not working properly.htaccess file place full website url in RewriteRule example: RewriteRule ^(.yoursite. my install is /var/www/html/ cd /var/www/html sudo gedit .php?q=$1 [L. Lastly. when you want to use clean URLs with a subpath you can do it in the following way: <Location /mysubpath> <IfModule mod_rewrite.QSA] </IfModule> </Location> This will give you a Drupal site at http://example. you need to change the RewriteBase line in the htaccess file in your drupal folder in order to get clean urls working (Ubuntu 10. Example.*)$ /index.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^/usr/share/drupal6/(.htaccess file but that only produced a 500 error.*)$ http://www.*)$ http://www.com/mysubpath/ Make sure to update the RewriteRule line with whatever version of Drupal you happen to be using. Login or register to post comments subpath in Debian Lenny Backports (maybe etch/ubuntu too?) . Next.php?q=$1 [L. I was initially unable to use clean URLs. Login or register to post comments subpath in Debian Posted by xxvelcrar on March 8. 2011 at 5:35pm Thanks a bunch. That didn't work. 2009 at 10:34pm In Debian.9) in a subdomain using GoDaddy hosting.com/drupalfolder/index.htaccess" directives and added a "/" in front of "index.QSA]" to make it "RewriteRule ^(. 2010 at 9:07pm this work for me in the .yoursite. 2009 at 10:15pm I installed Drupal (6.php?q=x'.Also.ico RewriteRule ^(.QSA] Login or register to post comments AllowOverride All Worked For Me Posted by Clint Eagar on May 10.com/drupalfolder/index.*)$ index. I added the "AllowOverride All" and "AccessFileName . RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon. Login or register to post comments clean urls Posted by benitezv1ang on October 10.com/drupal uncomment and # modify the following line: RewriteBase /html Seems to work for me. I commented out the "AllowOverride All" and "AccessFileName .htaccess" directives to the .php?q=$1 [L.php?q=$1 [L.php?q=$1 [L.04). First I changed the RewriteBase directive to "/subdomainfolder".QSA]" That worked.

You can't just cut and paste because the ini format is parsed differently than . 2011 at 2:55am . Login or register to post comments I can confirm this still works Posted by stupiddingo on February 28. In short.http_input = pass mbstring. your php. pro-freedom Login or register to post comments Apache no longer needs AddModule Posted by geoff_eagles on March 9.apache.htaccess file.10 install.ini file should looks like this: register_globals = off magic_quotes_gpc = 0 register_globals = 0 session. you need to create a php. 2011 at 11:10am Not only it is not required.10. Go back to the clean urls admin page. Fill the php. In D6.0.c section of your Drupal install's . where PHP is run through CGI.htaccess. and the $base_urlvariable in your site's settings. see: http://httpd. 2009 at 6:28pm AddModule used to be used to control the order in which you enabled the different Apache modules. 2010 at 9:11pm See the page http://drupal.ini file in the /cgi-bin folder at the root of your Network Solutions directory.ini with the settings from the IfModule mod_php5.Posted by rclemley on April 25.htaccess.org/docs/2.org/node/781412 for up-to-date Debian configuration for Lenny backports and Squeeze (Drupal 6. but if you're stuck with it the following post helped me get Clean URLs working in a D6. It's also worth noting that you won't be able to make it through the install process without errors without setting up a php. and you should be able to flip the switch.c unless you're running an older Apache.0/upgrading.php file.ini file as described above to disable register_globals. Login or register to post comments Error provoked by AddModule Posted by Fiable.http_output = pass mbstring.org/node/11861#comment-18597 This only applies to the shared unix hosting package. Login or register to post comments Network Solutions Fix Posted by obrigado on March 31.0 the directive AddModule is no longer required (pop to the apache site for a full explanation) so there's no need for AddModule mod_rewrite.encoding_translation = 0 Then you need to set BOTH the RewriteBase in your .conf: Invalid command 'AddModule'.d/drupal-7. However as of Apache 2. but I haven't had to do so.biz on May 16. Some have reported that you need to comment out the Options +FollowSymLinks setting in your . http://drupal.16).html but it seems it may provoke an error: $ sudo service apache2 restart Syntax error on line 7 of /etc/apache2/conf.biz Web site creation. perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. http://Fiable. 2009 at 1:11pm Network Solutions hosting is a complete disaster.htaccess file.auto_start = 0 mbstring.

ini in /cgi-bin with the following: magic_quotes_gpc = 0 register_globals = 0 session. Login or register to post comments Getting clean URLs working under Windows running Apache2 Posted by mbohner on May 7. 2009 at 9:56pm I moved an existing site to another server.conf file. Apache has multiple references to the .the one that has the "RewriteBase /" command Thanks so much! 17 Login or register to post comments Tip on . but for a root directory install you'll need to uncomment line 107 in .htaccess Posted by rick.htaccess RewriteBase / And create a php. 2009 at 6:01am .htaccess file. I read for hours about Apache Modules and mod_rewrite in particular only to discover that getting clean URLs to work is very easy in this situation. Installing Drupal is 100% possible without the .htaccess file -.http_input = pass mbstring.20 in the root directory on Network Solutions Unix Hosting.http_output = pass mbstring.htaccess file with the rest of your Drupal files in the directory on the server. The first is a "default" setting as follows (even though I had changed the AllowOverride to All.htaccess file -.the one that has the "RewriteBase /" command -----------------website | livejournal Login or register to post comments I use Aplus.htaccess files are hidden by default in OSX and not included in a standard drag-and-drop transfer from your local directory to an FTP client. 2. I found the problem. but the clean URLs no longer worked. Maybe this will save you some time: 1. my clean URLs were all bright and shiny again! :-) Probably a no-brainer for those who spend a lot of time in the httpd.I can confirm this still works to enable Clean URLs for Drupal 6. After spending umpteen hours trying to troubleshoot it. For subfolder installations Clean URLs will work without configuration changes. 2009 at 4:41pm Uncomment line 101 of the .archibald on April 2. Uncomment line 101 of the . but .htaccess file but enabling clean URLs in a shared hosting environment is not.auto_start = 0 mbstring.10 in a subdomain hosted by doteasy.encoding_translation = 0 Thanks obrigado! Login or register to post comments Clean URLs on DotEasy Hosting Posted by Daniel_Warner on April 1. but it escaped me because I kept referring to the default setting. it had no effect because it was overridden later [see below]): <Directory /> Options FollowSymLinks AllowOverride None </Directory> The second reference actually overrides the default setting: <Directory "/var/www/html"> AllowOverride None </Directory> After changing that setting.net hosting and this worked for me! Posted by motodigital on November 12. Obvious to some. Make sure you include the . 2009 at 1:52am I just installed Drupal 6.

conf file I have : <VirtualHost *:80> ServerAdmin eric@site. I had a drupal site using clean url's fine and now after the switch. I assumed the engine was On.date]: It is not safe to rely on the system's timezone settings. =0 Login or register to post comments Clean URL's not working when switching from XAMPP Zend Server CE Posted by ericpai on November 18.drupalsite. In my httpd.com/node/506 and it worked: In your httpd.log" combined </VirtualHost> I'm using the same .inc on line 40.conf with Directory config block. 2010 at 3:43pm Thank you. Wrong. This was a problem I encountered on a WAMP even though I had the rewrite module in httpd. replace the path with the path of your Drupal installation: Options FollowSymLinks AllowOverride All RewriteEngine On Note: there is no "AddModule mod_rewrite.conf uncomment #LoadModule rewrite_module modules/mod_rewrite. It wasn't before.dr ServerAlias www.dr ErrorLog "logs/drupalsite-dr-error. Solution: . 2010 at 10:33pm I just switched from running XAMPP to Zend Server CE on my localhost. the RewriteEngine On is what I needed.19). the RewriteEngine Posted by rmmcclay on April 23.htaccess file that drupal came with (Drupal 6.com DocumentRoot "C:\xampp/htdocs/drupal_shared/html" ServerName drupalsite. In case you used any of those methods and you are still getting this warning. Can anyone help with this? thanks Eric Login or register to post comments I got clean URL's running Posted by ericpai on November 19. 2010 at 12:26pm Had to change AllowOverride none to AllowOverride All in file:///C:/ProgramFiles/Zend/Apache2/conf/httpd. You are *required* to use the date. clean url's don't work anymore.log" CustomLog "logs/drupalsite-dr-access. you most likely misspelled the timezone identifier.timezone setting or the date_default_timezone_set() function.conf enabled. I had to make the switch because xampp was so slow. In the httpd-vhosts.I got this from http://quillem. We selected 'America/New_York' for '-5.conf.conf file I changed lines: #<Directory "C:\Program Files\Zend\Apache2/htdocs"> <Directory "C:\xampp/htdocs">" Options FollowSymLinks AllowOverride All RewriteEngine On I'm running a multi-site configuration with separate databases.so and add the following in httpd.c" needed Login or register to post comments Thank you. I was also getting this warning: warning: date() [function. My drupal sites are in C:\xampp\htdocs\drupal_shared\html PHP is running as CGI now also.0/no DST' instead in C:\xampp\htdocs\drupal_shared\html\sites\all\modules\token\token_node.

QSA] Login or register to post comments mod_rewrite on Mac Os X in vhost.QSA] ------Login or register to post comments another thing Posted by Rennes on August 29. Plus Apple is rather slow to keep up with basic security updates on UNIX ports. you have to change the RewriteBase to specify which root drupal is installed under.. I did try the tag but that did not work so I moved things .ini in Changed it to date. 2009 at 4:27pm Great Job!! This also works for 1and1 customers!!! Clean URL .php?q=$1 [L.*)$ index. GODaddy and Bluehost dannychang .timezone was not set in C:/Program%20Files/Zend/ZendServer/etc/php.ico RewriteRule ^(. RewriteEngine off <Directory "/Volumes/Data/web/SOMESITE. if you installed your drupal under the ROOT. but one that I built form the ports tree because the stock one is a rpita!!! when it comes to php customization.htaccess for clean URL I haven¶t test on godaddy and blueshot.* .QSA] </Directory> Thanks to this note I found on the Zend Framework Page regarding mod_rewrite which suggests placing a forward slash before index.php.date.December 26.c> DAV Off </IfModule> Options All -Includes -ExecCGI +MultiViews -Indexes RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule . However let me start off by station that my Leopard server does not run the stock Apache. Posted by matreides on June 30. so easy. but they should work the same RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.php?q=$1 [L. Like this: RewriteEngine on RewriteBase /yoursite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.*)$ index.*)$ /index. I finally got Clean URLs working on my Mac server. 2010 at 12:57pm I had my head banging on the wall about this . 2008 .21:34 DreamHost users have to use following code in .php?q=$1 [L.conf.timezone = "America/New_York" Eric Login or register to post comments This also works for 1and1 customers!!! Posted by powerserg1 on June 11...com/public/"> AllowOverride Options <IfModule mod_dav.[F] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.. 2009 at 12:47pm mod_rewrite & Virtualhosts on Mac OS X Leopard Server After much trial and error (mostly error).htacccess with DreamHost. Don't forget.

*)$ /index.SOMESITE. "AllowOverride All".html <IfModule mod_dav.c> CacheEnable mem / MCacheSize 4096 </IfModule> RewriteEngine off <Directory "/web/SOMESITE.com DocumentRoot "/web/SOMESITE.-| <VirtualHost *> ServerName beta.com/public/" DirectoryIndex "index.html" CustomLog "/web/SOMESITE.com http://mikelking.com </VirtualHost> Cheers. "AllowOverride All".c> DAVLockDB "/var/run/davlocks/.SOMESITE.04 Server Posted by faqing on March 28.around and well struck pay dirt.com/logs/access_log" "%h %l %u %t \"%r\" %>s %b" ErrorLog "/var/log/apache2/error_log" ErrorDocument 404 /error..com Login or register to post comments For Ubuntu 10.com/mikelking http://olivent.davlock100" DAVMinTimeout 600 </IfModule> <IfModule mod_mem_cache. or Find and Replace All "AllowOverride None" with "AllowOverride All".com/public/"> AllowOverride Options <IfModule mod_dav. Edit line 11 to read.QSA] </Directory> LogLevel warn ServerAlias beta.[F] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.php?q=$1 [L.. Save and exit.c> DAV Off </IfModule> Options All -Includes -ExecCGI +MultiViews -Indexes RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule .com http://jafdip.php" "index. Login or register to post comments .com ServerAdmin admin@example. I shall test this on one of my FreeBSD web servers tomorrow morning and if it work I'll make another note. Save and exit. I hope this saves someone hours of headaches from not having to knock their head on a wall.* . 2011 at 12:59pm sudo a2enmod rewrite sudo nano /etc/apache2/sites-available/default Edit line 7 to read. Mikel King http://twitter..

2009 at 12:13pm Hi I have a similar problem but when I transfer the site to the final server. make sure mod_rewrite. edit /etc/apache2/sites/[0000_your_site_info. I just wish someone would pay me for the hours of banging my head against a wall.4-2ubuntu5.. if Server Admin on your system allows you to check "Allow All Overrides" in the Apache Options for your site. Login or register to post comments Adding rewrites to Mac Leopard Server Posted by robballan on August 30..php?q=$1 [L.14 Posted by dagdag on October 20. I'm sure they deserve their money. <IfModule mod_rewrite. Options +FollowSymLinks Login or register to post comments Clean URL on drupal 6. Finally I decided to download the trial version instead of the free 'Lite' version. I just feel a bit flat after so much effort and so many angry thoughts running through my head. the /home is for my drupal installation location drupal 6. Bam! Working straight away .*)$ index. 3. you're done.ISAPI Re-write Posted by scifisi on August 25.QSA] </IfModule> this works for me. 2009 at 5:26am 1. 2009 at 2:07pm Thought I'd report back.conf is a filename corresponding to the site you have created in Server Admin -> Web -> Sites) and make the following change: search for the <Directory "/Library/WebServer/Documents"> entry (if you haven't changed your site's root.conf to allow clean URLs # Various rewrite rules. otherwise look for the entry with your specified root) change AllowOverride None to AllowOverride All Login or register to post comments Fix for Omnis Hosting Posted by idebill on September 17.htaccess file: # Follow symbolic links in this directory.check if the rewrite module is enabled prompt$apache2ctl -M to see the apache modules and as it was enable I add this code to my httpd.2. I had to remove the following from the standard .8 (Ubuntu) PHP/5.I guess they don't want anyone to go without paying. It's been several hours now and 5 re-boots of my server just in case it was services not starting of something. Otherwise.conf] (where 0000_your_site_info. 2009 at 12:23pm To get clean urls working with my Omnis hosting account.so is checked on in Server Admin 2.2.14 Apache/2. I'm very glad it's working. I must have visited 20 websites and checked everything I could.7 with Suhosin-Patch Login or register to post comments Ubuntu Clean URLs setup Posted by bruceclothier on November 12.c> RewriteEngine on RewriteBase /home RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(. 2009 at 1:23pm . it shows me a similar message so what I did was .

I get irritated every time I have to do this. If we use $1.*)$ /mysite/index. 2010 at 10:14pm Having installed Drupal v6 in a subdirectory /drupal.QSA] before the existing rewrite rules. Took me 2 hours to work out.Hi. since we want to take the back-reference from the last RewriteCond. Create symbolic link to phpmyadmin (just by the way because its annoying to remember): Setup instructions here: http://www. for /mysite/target-url we get: /mysite/index. without having to move all the files up a level.php?q=target-url which is what we want.d/apache2 restart Hope that works straight away for someone. you will need to add RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} ^/mysite/(.php?q=$1 [L.htaccess file in the root. containing: RewriteEngine on RewriteRule ^$ /drupal/ [L] RewriteCond %{REQUEST_FILENAME} !-f . I created a new .php?q=mysite/target-url With %1. Login or register to post comments Rewriting root to existing subdirectory Posted by iantresman on January 20.php?q=$1 [L.ubuntugeek. we instead get /mysite/index. Bruce Login or register to post comments That was the trick! Posted by tehchaps on January 12. The $1 in the last line should be %1. not from the RewriteRule itself. I wanted to "move" the installation to the root. In a nutshell: 1.*)$ RewriteRule ^(. so writing a note for me and for everyone else that it might help: Setup LAMP on Ubuntu.*)$ index. we get an extra "mysite/" in the query part of the URL.htaccess file and a few other tweaks.QSA] AllowOverride All </Directory> Restart Apache: sudo /etc/init. 2011 at 6:42pm Thank you so much for the "AllowOverride All" I was going crazy trying to get my apache2 to start up again and that was just the trick. 2010 at 3:56am Under "Multi-site" above.conf): <Directory /var/www/fridays> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(. Login or register to post comments Corrected rewrite rule for multi-site Posted by querbach on January 14.com/howto-install-lamp-server-in-jaunty. this could be done with a . After finding some great posts online.html Creating link: sudo ln -s /usr/share/phpMyAdmin /var/www Install mod_rewrite: sudo a2enmod rewrite Add this to conf (sudo gedit /etc/apache2/httpd. As an example. mainly sourced from a post "Getting started with Drupal 6 in a subfolder". we find the following prescription: In order to enable clean URLs for both sites.

11. // NO trailing slash! I did not need to make any changes to the existing Drupal . index."your server has been successfully tested to support this feature" using Windows XP.so After saving each of those files.htaccess file. I deleted the existing file in the root.2.htm.conf file: LoadModule rewrite_module modules/mod_rewrite.RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(. WampServer2.com'. 2010 at 7:38pm trying to get the Clean URLs page at Home > Administer > site configuration to work properly so the radio button for ENABLED would work. windows xp home.htaccess file: RewriteBase / 2) I removed the pound sign/hash mark/# before the following in the httpd. PHP 5. I removed the hash (#) mark before the following in the . Apache 2. Drupal 6.LoadModule rewrite_module modules/mod_rewrite.2.QSA] (If your installation is in a different subdirectory.mydomain.15 working on my local computer: I found the file named httpd.2. I was modifying my configuration and was refreshinghttp://localhost/q=admin/settings/clean-urls . I changed the commented line to: $base_url = 'http://www.11.0h. Note: I made no other changes.1. The test succeeded and I was able to enable clean urls :p Login or register to post comments Here's another fix Posted by khosman on January 29. 2010 at 6:21pm I struggled an hour before understanding that the test which allows to enable clean-urls which was failing.editing per instructions found here . (again. 2010 at 9:54pm I just spent hours trying to figure this out . apache 2.conf file in dreamweaver . editing in notepad as opposed to dreamweaver) I simply restarted "all services" and refreshed the "clean urls" page on my site and was able to enable clean urls.so Then I added to httpd.conf at C/wamp/bin/apache/apache2. editing and saving out that way suddenly made everything work. so that if I encountered a problem. index.php (actually I renamed the files on the server. I finally got. Dreamweaver was adding something to the mix unbeknownst to me.9-2. After validating that mod_rewrite was enabled. other suggestions/coding found in this thread were unnecessary for my setup (wamp. and tried to reload my page at http://localhost/admin/settings/clean-urls . so that it would not be found and served up. Here are the only changes I made: 1) Per an earlier message in this thread. Turns out. php 5.0. you will need to amend the two occurrences pointing to "drupal" to your subdirectory name) 2. I guessed this auto-test was failing. and continue with the old site) 3. drupal 6.conf as stated above while changing the directory as follows to read: <Directory /var/www/sites/default> RewriteEngine on .+)$ drupal/$1 [L.33.2. You might also need to remove. I needed to log-in again to gain access to the site I placed my site in Maintenance mode while making the change Login or register to post comments D6: Auto test failed Posted by MatthieuP on January 27.11/conf Opened this file using Notepad and removed the # marks from the line that reads . I could rename it back.exe. In sites/default/settings.then closing it. unable to enable it.and finally got it to work trying something I haven't seen listed elsewhere: I had been opening the httpd.3. if it exists.php.conf file in notepad. MySQL 5. Opening the httpd.15) Login or register to post comments a fix that worked Posted by marsd on March 1.

I was following every piece of advice that seemed appropriate and clicking the clean URL test button to no avail (took about 4-5 hours on solving this problem). This not a very silly situation. Login or register to post comments Clean URLs on multisite installation Posted by aosiname on May 2. After reading the above comment and simply editing the browser URL manually to a clean URL I finally see it does work and I now see the "enable clean URLs" checkbox. 2011 at 8:51pm Thanks people . Login or register to post comments Clean URLs on Sourceforge Posted by raffamaiden on April 5. 2011 at 9:49pm In Drupal 7 the above comment was the answer that saved me. 2010 at 5:07pm For projects hosted on Sourceforge.co. maxrossello and looseSpark Posted by Jennifer_M on June 4.*)$ index. what I did after restoring mod_rewrite is just changing the URL in the browser. 2010 at 12:47am My Scenario: Using multisite in that I have a main installation of Drupal on my server in /drupal Created 3 sites to run off a single codebase by doing the following: Create the following sub directories (note the final directory should match the domain name without the "www"): * /drupal/sites/siteone.co.htaccess in your /home/groups/f/fo/fooproject/htdocs folder. So more clearly.uk * /drupal/sites/sitetwo. Login or register to post comments thank you Posted by maxrossello on May 13. Anyway. you will need to uncomment the following line from the standard . while http://localhost/admin/settings/clean-urls succeeded! For this reason I did not understand your instructions immediately. 2010 at 2:30pm Thank you! I would have never suspected that using http://localhost/?q=admin/settings/clean-urlsreported a wrong result.uk .htaccess file RewriteBase / and then copy .php?q=$1 [L. where "fooproject" is your project UNIX name.uk * /drupal/sites/sitethree.org/node/1178850.this was the threadlet which rescued me from a dead end! I've done a bug report. Login or register to post comments Thanks MatthieuP. http://drupal.RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(. as working clean URLs should be detected by Drupal and it should not keep reloading the page asking the user to press the test button.co. I'm glad my struggle is now finally over! Thanks to all who posted solutions.QSA] </Directory> Mar Login or register to post comments like it Posted by fausty on April 24. though. Login or register to post comments Same for D7 Posted by looseSpark on May 24. 2010 at 5:38pm it work perfect for me. I hope this can be fixed in future. thanks for the solution.

I'm hosted on GoDaddy and these are my .*)$ index. the text mentions it removes the query parameter. .php file from drupal/sites/default into each of the directories created above.htaccess file.php to install and repeated for the other two sites. they work. ) : domain.QSA] If you think you know everything.QSA] . Renamed each instance of default. Is this module addressing this problem? Thanks La escupidera .php?q=$1 [L. etc.php => settings.*)$ index.Blog de xmariachi Blog de Xmariachi|Poesía dadá Login or register to post comments I've got a problem with my Clean URLs Posted by jakery on May 19.*)$ /index. the rewrite rule doesn't take effect. on http://www. No need for that on my server. but it does not say what is the expected format of your URL for a regular node.uk/install. Through my testing. However.co.settings. Clean URLS is now working on all three sites. The only two changes I made were to declare the drupal code directory like so: ### Declare drupal directory ### RewriteBase /drupal And changed: RewriteRule ^(.jacobkking.com/page=1 I get http://jacobkking./es/.g. copied the .com/node/?page=1 which produces a broken link.uk could connect to its own database and.htaccess settings: RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon. I must have broken the . if you scroll to the bottom and click one of the "next page" links. Read many articles that claimed clean urls would only work if I made a reqrite rule for each site in the main . 2010 at 6:32pm Hi. 2010 at 9:17pm Mostly. for a default install (e.php and input the corresponding database login details so siteone.com/ On the main page.siteone. Login or register to post comments Example Posted by xmariachi on May 14..note the "/" in the latter.QSA] => RewriteRule ^(.php?q=$1 [L. Visited www..htaccess file so I re-downloaded drupal. My file is attached as a . no additions to the URL like the country name .co.txt here if you need it as a reference point.org site.. you know nothing.com/node/nodenumber such as domain.Created a MySQL database for each site and copied the default.htaccess file and made just those two changes and it worked.. I'm looking for SEO friendly URLs for a blog or forum. Instead of getting http://jacobkking..php?q=$1 [L.ico RewriteRule ^(.settings.uk could connect to its own database and sitetwo.co. I'm finding that to be.com/node/1234 just as the nodes on the drupal.

x-3. the background image to this content column comes from the following code in your style.php after <?php print $content ?> <?php if(!empty($content_new)): ?> <div class="content-new-region"> <?php print $content_new ?> . div. 2011 at 9:38pm Project: Rubik Version: 6.tpl. Also. Add the following code in your page. It is possible to add a new region before or after the content side column. -moz-border-radius:3px. How to get items inside the content side column area ? Login or register to post comments Comments #1 Posted by shruti. -webkit-box-shadow:#fff 0px 1px 0px.help-page. border-width:1px. It is difficult to add the region or block in content side column as the $content prints the entire content in the column-wrapper. margin:0px 0px 10px.you can perform following steps Suppose the region name is Content New 1. 2011 at 11:55am Hi.How to add a region/block inside the content side column ? Posted by espirates on January 5. the $content prints the content in the nodes.png) 65% 0% repeat-y. -moz-box-shadow:#fff 0px 1px 0px. -webkit-border-radius:3px. border-color:#ccc #ddd #eee. div. one of the ways for doing that is mentioned below *.info file regions[left] = "Left sidebar" regions[right] = "Right sidebar" regions[content] = "Content" regions[content_new] = "Content New" regions[header] = "Header" regions[footer] = "Footer" 2. } Therefore it gets difficult to add a new region inside the content column.comment.0-beta2 Component: Code Category: support request Priority: normal Assigned: Unassigned Status: active Jump to: Most recent comment Description This theme doesn't have any regions defined. background:#fff url(images/vrule. Also.node { border-style:solid.css .sheth on May 3. Add the following code in your rubik. * To add a new region before or after content .

</div> <?php endif. Hope this helps! Thanks. ?> 3. HOW TO ADD EMBED A VIDEO TO DRUPAL Simply use the story content type and enter title of video after selecting embed code from utube and then pasting it into the source code section of the body field. . Enable the blocks you want in this Content New region. Shruti.

Sign up to vote on this title
UsefulNot useful