Wp: Subdomain and Permalink problem

gialappas

Regular Member
Joined
Jan 25, 2010
Messages
264
Reaction score
179
Hi!

I have installed Wordpress in my domain and works good.


Now I have installed Wordpress in a subdomain

(Example: sub.domain.com )

and I have a problem with Permalink.


I can't use /%postname%/

I can use only the default permalink (/?p=123)


If I use /%postname%/ when I read the article I read the page 404 of my primary Wordpress Blog.

What I can do to solve it?


Thanks for you help!!!
 
Check if your .htaccess file properly configured in sub.domain.com.
 
Copy the content from your main .htaccess into this blank .htaccess file or made your .htaccess file writable before you change your permalink to %postname%. After you configured you blog change back its permissions to default one.

Or update your .htaccess file with the following content:

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
 
Last edited:
Back
Top