Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

wordpress multisite subdomain problem

Name: seobro 2012-10-30 21:01

hey guys I'm in trouble seriously. I'm running wordpress site and I'd like to have multisite subdomains not subcategories f.e.
(I've created subdirectory in ftp.)

oranges.domain.com
not domain.com/oranges ..actually I can access subdomain but only in this format: oranges.domain.com/domains/domain.com

And also if my wordpress has root in subdirectory like domain.com/home how can I redirect domain.com to go to domain.com/home because not everybody will know that my domain is accessible only with subcategory.

Here are the codes I got in config and htaccess-
I'd be really glad if you guys can help me.

# BEGIN WordPress
RewriteEngine On
RewriteBase /domains/domainname.com/home/
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?siteN/files/(.+) wp-content/blogs.dir/N/files/$2 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
# END WordPress

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
$base = '/domains/domainname.com/';
define('DOMAIN_CURRENT_SITE', 'domainname.com');
define('PATH_CURRENT_SITE', '/domains/domainname.com/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

Name: Anonymous 2012-10-30 21:07

seobro
Fuck off
wordpress
Fuck off
PHP
Fuck off

Name: Anonymous 2012-10-30 21:10

well thanks man ..

Name: Anonymous 2012-10-30 21:15

>>3
Fuck off le cloud fagshit

Name: Anonymous 2012-10-30 21:19

>>2,4
He guy(s)\girl(s), don't be so rude. He only asked a question. No need to throw him to the lions!

Name: Anonymous 2012-10-30 21:21

>>5
suck my dick

Name: Anonymous 2012-10-31 0:10

Name: Anonymous 2012-10-31 0:39

>>1
This is a better choice:
http://pritlog.com/fossil.cgi/home

Name: Anonymous 2012-10-31 0:44

>>7
>>>/reddit/
>>>/hackerjews/

Name: Anonymous 2012-10-31 0:45

e/b/in cloud /b/ro

Name: Anonymous 2012-10-31 0:58

And also if my wordpress has root in subdirectory like domain.com/home how can I redirect domain.com to go to domain.com/home because not everybody will know that my domain is accessible only with subcategory.

You're going to need something like this:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^domain.com
RewriteRule ^(.*)$ http://www.domain.com/home/$1 [R=301]


# OR MAYBE SOMETHING LIKE THIS
RewriteCond %{HTTP_HOST} ^sub\.domain1\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain2.com/$1 [QSA,R=301,L]

# OR MAYBE EVEN THIS!!!

RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com$
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
RewriteRule ^$ store [L]


Start reading:
http://perishablepress.com/stupid-htaccess-tricks/
http://stackoverflow.com/questions/990392/htaccess-rewrite-to-redirect-root-url-to-subdirectory



But seriously, SEO???  Shitting up the internet for some clicks and traffic...  you are everything that sucks about the internet.

Name: Anonymous 2012-10-31 2:07

T_PAAMAYIM_NEKUDOTAYIM

Name: Anonymous 2012-10-31 4:29

>>12
SHA::LOM

Name: seobro 2012-10-31 9:32

I would like to thank (some of) you

Name: Anonymous 2012-10-31 10:14

>>14
back to /g/ shitstain

Don't change these.
Name: Email:
Entire Thread Thread List