Page is a not externally linkable
- Code, Content, and Presentation
-- WordPress
---- Wordpress on Domain AND Subdomain


mrblond - 4:44 pm on Dec 4, 2012 (gmt 0)


Aha! .htaccess is the answer -

domain.com was set up as multisite about 6 months ago, and I didn't really like working that way, so I removed the wp-config modifications that make that happen.

What I did NOT do was to fix the htaccess part - so this stuff is in my htaccess on domain.com:

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

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

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


Not sure what all this means. What should I remove/change to make this subdomain thing work?


Thread source:: http://www.webmasterworld.com/wordpress/4524972.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com