Hi everyone, im looking for advice on what Permalink Structure to use in WP, i notice theres the default, then 3 other choices underneath, then Custom Structure, what one do you use and recommend please?
I use Custom - I find the default choices look too messy and are useless to a human. So I just use Custom then just put "/%postname%/" in the box - it keeps the URLs short and nice looking, and have never caused an issue. Might help with SEO too.
No problem, its a pleasure . However, there is a risk always with perma structure being so predictable. Hackers seems to get the best of it which really sucks....
I usually use something like /%category%/%postname%.html Code (markup): And then you have to update your htaccess with <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Code (markup): Or you can go /%category%/%postname%.keyword Code (markup): Where you replace keyword with a keyword you want to target, this has worked for some good msn rankings, but it looks spammy and most people probably wouldnt use it.
Do you have to update htaccess or any other coding stuff when you use /%postname%/ ? I tried using permalink on one of my sites, and it always messed my site up... so mine are still the crappy mess WP produces.
If it works fine is it neccessary to do anything in htaccess, or is that only if your experiencing problems? A few hours ago i set the permalinks to /%category%/%postname%/ and all is fine, am i ok to leave htaccess alone?
I had problems changing too, but then I used a free plugin "Dean's Permalink Migration"... (found it through Wordpress boards) http://www.deanlee.cn/wordpress/permalinks-migration-plugin/
Some hosting accounts handle or allow the mod rewrite for custom permalinks differently. For example the Godaddy economy package will not allow some structures or you will need to have index.php in the structure somewhere. Windows based hosting...forget it and keep your hair on your head and Yahoo Small Business is a nightmare! If the custom structure doesn't work sometimes WP will tell you to update your .htaccess file after you set them, look at the panel just under the dashboard menus after you set the permalinks. It will tell you if they have been updated or a message like "you should update your .htaccess file". If they don't work first try to make the .htaccess file writable, and set them again, if that doesn't work paste the code in the .htaccess file that NMusi provided above save it and set them again. I have setup WP on many, many different hosting accounts and usually the real cheap shared hosting accounts have the most problems. In fact I now refuse to work on some WP blogs depending on the hosting and a few types were mentioned above.
I tried /%postname%/ and some of the other choices and I get the Godaddy Oops Page not found page when I click on one of the categories. I also tried the mode rewrite in the Htaccess file that NMusi suggested and that didnt work. Anyone have any mod rewrite suggestions?