Frontpage to Profile - 404

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
andrej235's picture

Hi all :)

I tried to create my own personal website using open scholar. To do that, I changed the front page with drush to the profiles url. However, I get a 404. The page can be loaded when entering the URL directly though. I can't set the frontage through the site-information. I wonder how that happens. In the database, it is registered correctly. Am I missing something?

Andrej

Comments

Hi, I just wanted to check if

andrej235's picture

Hi,

I just wanted to check if my question is clear. If not, I am more then happy to clarify it.

Thanks!

If you are trying to change

rbrandon's picture

If you are trying to change the overall frontpage of the whole installation you should use "admin/settings/site-information". Make sure you use a valid path and not an alias.

If you want to change the front page for a personal site you should use the layout for frontpage at:
http://hostname/site001/cp/build/layout?page_type=front

Tried it...

andrej235's picture

Hi

I actually try to do the first one: Changing the entry page to a profile. I tried to change it in the site-information settings, but if I write the profile name in there, it doesn't change the front page at all.
If I use the index.php?q=profilename syntax, I get
"The path 'index.php?q=profilename' is either invalid or you do not have access to it.".

Could you give me an example of a standard valid profile path? I just wan to make sure, that I am not missing something.

Tyank you!
Andrej

I figured it out. If I use

andrej235's picture

I figured it out. If I use domain.com/content/profilename it accepted it.

Thanks for your help.

Thanks for that -- I'm trying

kversp's picture

Thanks for that -- I'm trying to do the same thing so this was very useful.

However, are you noticing that when you do this and load "domain.com", the address in the browser changes to "domain.com/profilename"? Is there a way to prevent this and simply alias "domain.com" to the profile's content without exposing that there is a profile? Otherwise the URL for, e.g. the Bio page, becomes "http://domain.com/profilename/biocv" rather than just "http://domain.com/biocv".

Thanks for any help.

OpenScholar

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: