Forum Moderators: phranque
I dont know whether my post is in the right forum or not..but anyway, please help me.
I have created a blog on my website using Wordpress 2: www.mydomain.com/blog/
However, the post link is not static and look something like: [mysite.com...]
So please tell me how to change it to:
[mysite.com...]
somewhere on the net say that a .htaccess file should be uploaded, but I am newbie to it (dont laught at me on that) if possible, could you show me the sample.
Thanks and regards,
Kurt
This is controlled by permalinks, found under the options tab in the admin interface.
Have a look at this [codex.wordpress.org] to see if it answers your questions. Come back if you need more help. I took me a while to figure this out for my blog, but I got there in the end even without knowing too much about .htaccess files.
Your reply is GREAT, it solve my problem...
the link has been change from:
[mysite.com...]
to:
[mysite.com...]
However....the [mysite.com...] is DIED., and can not be accessed...what happened?
Again, thanks for your help.
Kurt
You'll probably want a htaccess file something like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule ^(.+)$ /index.php/$1 [L]
</IfModule>
This works for Linux/Apache. I don't know what platform you're hosting your blog on, so don't expect to be able to just fix the problem with a copy and paste.