Hi. I've recently started a health blog (see it here), and, as you can see if you browse through the posts, the links are in the format: myurl.com/?p=43 But I want them to be in the format: myurl.com/2009/01/post-name/ or even better: myurl.com/category/post-name/ How do I do this? Everytime I try and edit it it says edit .htaccess, but what is this and how do I get to it? I'm running Wordpress 2.7 if that makes any difference. Rep Will be given! Thanks!
I think the most and good to use is myurl.com/category/post-name/ " That's SEO friendly Permalink " for "Everytime I try and edit it it says edit .htaccess" You may not setting .htaccess to writable mode,
Where can I find the .htaccess file? And, yeah, I prefer the /category/post-name/ because it looks better and is probably better for SEO
Hmm, I've uploaded a new .htaccess file, and it's blank. What do I need to put in the file to make the permalinks /category/post-name/ ? Thanks.
What do you mean by 'with text file'? I made a new (blank) document in Notepad and uploaded it. I then renamed it .htaccess... what now?!
' my mean "text file is file extensions Like notepad or etc.." yupz that's right, Btw have your fixed the error ?
if you will see in your WP admin where you saw , your .htaccess is not writable, in the box below it there is piece of code, copy that, and paste it on the .htaccess you created, now on the permalink tab on WP admin, check button custom permalink and write this /%category%/%postname%/
I am trying to do the same. Have copied and pasted the text into a .htaccess file, uploaded it and when i try and view a post it says page not found... hmmm
can you post what have you pasted on .htaccess, and also the url of your blog, if you do not want to share it publicly, you can pm me
I'd posted in .htaccess and that was it. I've renamed the .htaccess file back to 1.htaccess file for the moment, so you won't be able to see the error, but the blog is linked in my first post
This is what i have put in my htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> I cant post urls yet but if you see my website on the right simply replace www with blog Thanks
kitty, please use this instead on .htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> and your WP admin->Settings->Permalink->under custom setting, click custom structure and place this code /%category%/%postname%/
brilliant. Thank you very much! kiteguy123 make sure the htaccess isnt a text file when you save it. delete the .txt and save it as all files on the drop down menu
Thanks, all sorted now! Repped everyone who helped I'd named it properly and it had the right extension, I'd just put the wrong thing in the .htaccess file Anyway, all sorted now