Koozali.org: home of the SME Server

Wordpress as default startwebsite

Offline geejee

  • 1
  • +0/-0
Wordpress as default startwebsite
« on: September 19, 2014, 09:40:15 AM »
Hi, is there a trick in SME9 to set wordpress as default starter website, like www.domainname.com instead of www.domailname.com/wordpress/?

guest22

Re: Wordpress as default startwebsite
« Reply #1 on: September 19, 2014, 10:43:13 AM »
Hi, and welcome.

the default location for that is the Primary Ibay.

guest
 

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Wordpress as default startwebsite
« Reply #2 on: September 19, 2014, 05:34:23 PM »
Or, if you've installed it into an ibay, go to the domains panel in the server-manager.  There you can set any domain to show any ibay.  Pick the wordpress ibay rather than the Primary ibay, and you should be done.
......

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Wordpress as default startwebsite
« Reply #3 on: September 19, 2014, 06:40:03 PM »
except if wordpress comes from the contrib
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline pmstewart

  • *
  • 73
  • +0/-0
Re: Wordpress as default startwebsite
« Reply #4 on: June 07, 2015, 03:15:00 PM »
It appears stephdl has tested a newer version of Wordpress v3.something compatible with sme9 as documented here.....

http://wiki.contribs.org/SME9.0_Contribs_QA#smeserver-wordpress

This installation defaults to /usr/share/wordpress.

I have been successful in getting "www.yourdomain.com/wordpress to work successfully this way. Have updated to v4.2.2 and it seems to work fine.

All of the web redirect info and links in bugzilla, the wiki, and the forums point mostly to using the web-redirect application tutorial

http://wiki.contribs.org/Web_Application_Redirect_Tutorial

This tutorial however does not include anything to do with the /usr directory.

Can the tutorial be reworked to use the /usr/share to to redirect to the primary ibay without causing security concerns?

Also, there is no update to the tutorial page stating it is SME v9.0 safe to use and tested with 9.0 - Is there a direction we might
go to update this information?

Since most using joomla or wordpress or drupal are going to want these cms programs as their primary website could the contribs be packaged with two flavors - one to install as www.yourdomain.com/cms application and one as www.yourrootdomain.com without having to redirect manually?
Paul
« Last Edit: June 07, 2015, 03:19:02 PM by pmstewart »

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Wordpress as default startwebsite
« Reply #5 on: January 10, 2016, 09:41:18 AM »
Good Day

I have followed the full tutorial to install the Wordpress from the Contrib, so that it is in the Primary Ibay, I can connect to the wordpress and configure it, as such

www.domainname.co.za/wordpress , I complete the setup and can login and the wordpress displays.

I use the "General" Settings and change the "Site Address" URL = www.domainname.co.za , and then try to connect to it by inserting that address into my web browser, but it still comes up with the default "SMESERVER "website under construction " page.

How is it redirected to show the Wordpress on the www.domainname.co.za URL?

Regards

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Wordpress as default startwebsite
« Reply #6 on: January 10, 2016, 10:47:00 AM »
Remove the default index.html file ;-)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Wordpress as default startwebsite
« Reply #7 on: January 10, 2016, 09:48:55 PM »
Remove the default index.html file ;-)

Perhaps we should make index.php take precredence over index.html.

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Wordpress as default startwebsite
« Reply #8 on: January 11, 2016, 06:42:02 AM »
My apologies, I should be clearer

I used the following guide to install Wordpress

http://wiki.contribs.org/Wordpress , which installs it in /usr/share/wordpress , where there is no index.htm file, only the index.php file. And the Wordpress is installed and works using the www.domainname.co.za/wordpress

It appears the WebServer is reading the index.htm in the /home/e-smith/files/ibays/Primary/html/index.htm

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Wordpress as default startwebsite
« Reply #9 on: January 14, 2016, 10:35:21 AM »
Perhaps we should make index.php take precredence over index.html.

will open a NFR for it

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Wordpress as default startwebsite
« Reply #10 on: January 14, 2016, 10:37:08 AM »
My apologies, I should be clearer

I used the following guide to install Wordpress

http://wiki.contribs.org/Wordpress , which installs it in /usr/share/wordpress , where there is no index.htm file, only the index.php file. And the Wordpress is installed and works using the www.domainname.co.za/wordpress

It appears the WebServer is reading the index.htm in the /home/e-smith/files/ibays/Primary/html/index.htm

I don't use the contrib but, IMO, if this is an unexpected behaviour, you'd open a bug against it

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Wordpress as default startwebsite
« Reply #11 on: January 14, 2016, 11:43:05 AM »
My apologies, I should be clearer

I used the following guide to install Wordpress

http://wiki.contribs.org/Wordpress , which installs it in /usr/share/wordpress , where there is no index.htm file, only the index.php file. And the Wordpress is installed and works using the www.domainname.co.za/wordpress

It appears the WebServer is reading the index.htm in the /home/e-smith/files/ibays/Primary/html/index.htm

So, you have instaled the contrib and WP is working on /wordpress ?
What have you done to make it working on / ? If you haven't done anything, then / points on the Primary ibay as expected, and not on wordpress. If you want a domain to point on an arbitrary location (not an ibay), you can use smeserver-webapps-common:

Code: [Select]
db domains setprop www.foo.com TemplatePath WebAppVirtualHost DocumentRoot /usr/share/wordpress
signal-event webapps-update
C'est la fin du monde !!! :lol:

Offline michelandre

  • *
  • 261
  • +0/-0
Re: Wordpress as default startwebsite
« Reply #12 on: January 22, 2016, 08:59:01 AM »
Hi all,

I installed WP-4.4 on SME-9.1 in Primary following: http://www.micronator.org/?page_id=2328

To test: I also installed it in a sub-directory of Primary and in another i-bay

All is working fine except some extensions which are not uptodate for WP-4.4

Michel-André

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Wordpress as default startwebsite
« Reply #13 on: January 22, 2016, 10:28:46 AM »
I installed WP-4.4 on SME-9.1 in Primary following: http://www.micronator.org/?page_id=2328

why following an external (and unsupported) guide?


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Wordpress as default startwebsite
« Reply #14 on: January 22, 2016, 10:54:28 AM »
Michel-André, your howto is good but:

- SME's users should not poke with CLI and commands like usermod
- one of the biggest plus of SME is its documentation.. we (all of us) try hard to keep it uptodate in a single place, because docs fragmentations can lead to problems..