I need help. I've been trying to figure out how to make my main page to be the first page that visitors see when they type in my url whether it is with the www or without it. My site is at astrologyloveadvice.com. Right now, when you type in the url, the page that shows up is the Welcome to Your Drupal Site. I want the info in my Main page to be the index.php - how do I do that? I
This is what I have in my .htaccess:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/index.php?q=$1 [L,QSA]
Also, when I changed the url alias to index.php, it didn't work.
Another question:
When creating a front page content (the page that people see after they logged inside), I tried using the Site Information to create it, but if I don't set to Advance to Front Page, I do not see it. When I do set it for Advance to Front Page, I see it as the index.php and the first page people see after they log on.
:( Frustrated. Help.
Thanks,
Anna
Comments
By the way, can I add widgets
By the way, can I add widgets to a page? I created a page with javascript in it, but it's not showing up.
=-=
to use javascript in a page content type you have to switch to the PHP input format before submitting the node.
php input format comes from the php filter.module in administer -> modules
input formats are set during creation of the node, by expanding the collapsed fieldset called input formats, under the text area.
=-=
You don't want to use .htacess and mess with anything to do with index.php
If you don't want the drupal welcome messgae create a page-front.tpl.php in your theme.
ie: copy page.tpl.php and rename that copy page-front.tpl.php
tear out everything between the body tags. insert your own HTML
or create page content type using whatever HTML you want and set that page to be the default front page in administer -> site information
essentially what you are seeing with the welcome messgage is index.php calling the welcome message.
calling index.php directly won't change anything.
Okay. Gotcha. I will try it
Okay. Gotcha. I will try it out and see how it goes.
Thank you :)
Anna