proximity2008
Member
Posted 4 months ago #
I've a site that I'm developing here:
http://www.lighthousemotel.co.nz/wordpress-update/
(yeah it's pretty old)
The URL structure I have is fine %/postname for all pages.
When you click on news(blog posts) though I would like it to be /northland-blog/post-name/ so something like %category/%postname. But by doing so it breaks the whole site.
How do I do this? ( I've read through the online docs - but it doesn't seem to cover this with static pages ).
Hi,
Refer these article:
http://codex.wordpress.org/Using_Permalinks
http://codex.wordpress.org/Settings_Permalinks_SubPanel
After changing the settings..if you receive 404 message on old posts then add this code in htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Thanks,
Shane G.
proximity2008
Member
Posted 4 months ago #
I've read through the documentation and it doesn't help me in this case.
The thing is Pages don't have/can't have and that is a category. Blog posts can. So when I do %category%/%postname% the site falls over.
Still head scratching.