Anonymous
Unregistered
Posted 3 years ago #
Just got wordpress a week ago and been fiddling about and decided to get a new theme, though that shouldn't matter, I have been looking at other blogs/sites with wordpress and notice directories like http://www.websitename.com/archieve and http://www.websitename.com/tutorial/tutorialname, I want that but whenever I make a category or post it comes out http://www.websitename.com/?p=1 or http://www.websitename.com/?cat=1. I want it to be the other way though, is this a plugin or a feature or what? It works the same way (?p=1) on the default theme to. Im using the latest version of wordpress.
EDIT: Also http://www.website.com/?page_id=2 is my about page, yet on some sites their about page is linked to http://www.website.com/about, how do I get that!
Thank you.
ApplianceJunk
Member
Posted 3 years ago #
Hi,
Try looking here.
Admin>Settings>Permalinks
I'm using Custom Structure: /archives/%year%/%monthnum%/%day%/%postname%/
ApplianceJunk.com/blog
Anonymous
Unregistered
Posted 3 years ago #
First, thank you :)
Second, I want it to be category/post-name, so would I enter this in the Custom Structure field?:
http://website.com/%category%/%post-name%/
-OR-
http://website.com/category/post-name/
Or would I enter it in a different field, thank you :)
Check out the Using_Permalinks page in the docs section :-)
Anonymous
Unregistered
Posted 3 years ago #
Read that and In the custom structure field I put /%category%/%postname%/, and I had to set my CHMOD for the wordpress directory to 777 (is that ok?). It now rewrites URL's the way I want BUT, how does it decide what the link is when I write a new post?
Thank you so much for the help HandySolo and Appliance Junk!
Check out:
http://codex.wordpress.org/Hardening_WordPress#File_permissions
In general, 777 would make me pucker a bit... try 755? (granted, I have no idea how your server is configured but 777 is scary).
The link is determined on a new post via the post slug. You'll see it set just under the Post's title on the post editor screen.
Anonymous
Unregistered
Posted 3 years ago #
Seems to work with 755, thank you :) Now if only I can get this flickr thing to work hehe :P