Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: geejee on September 19, 2014, 09:40:15 AM

Title: Wordpress as default startwebsite
Post by: geejee 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/?
Title: Re: Wordpress as default startwebsite
Post by: guest22 on September 19, 2014, 10:43:13 AM
Hi, and welcome.

the default location for that is the Primary Ibay.

guest
 
Title: Re: Wordpress as default startwebsite
Post by: DanB35 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.
Title: Re: Wordpress as default startwebsite
Post by: stephdl on September 19, 2014, 06:40:03 PM
except if wordpress comes from the contrib
Title: Re: Wordpress as default startwebsite
Post by: pmstewart 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
Title: Re: Wordpress as default startwebsite
Post by: shawnbishop 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
Title: Re: Wordpress as default startwebsite
Post by: Stefano on January 10, 2016, 10:47:00 AM
Remove the default index.html file ;-)
Title: Re: Wordpress as default startwebsite
Post by: CharlieBrady 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.
Title: Re: Wordpress as default startwebsite
Post by: shawnbishop 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
Title: Re: Wordpress as default startwebsite
Post by: Stefano 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
Title: Re: Wordpress as default startwebsite
Post by: Stefano 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
Title: Re: Wordpress as default startwebsite
Post by: Daniel B. 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 (http://wiki.contribs.org/Webapps-common):

Code: [Select]
db domains setprop www.foo.com TemplatePath WebAppVirtualHost DocumentRoot /usr/share/wordpress
signal-event webapps-update
Title: Re: Wordpress as default startwebsite
Post by: michelandre 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é
Title: Re: Wordpress as default startwebsite
Post by: Stefano 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?

Title: Re: Wordpress as default startwebsite
Post by: Stefano 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..

Title: Re: Wordpress as default startwebsite
Post by: calisun on January 28, 2016, 11:51:18 AM
why following an external (and unsupported) guide?

48 pages on how to install wordpress on ibay??

Try using this:
http://wiki.contribs.org/Wordpress_Multisite (http://wiki.contribs.org/Wordpress_Multisite)