• Resolved ravnblade

    (@ravnblade)


    Hey guys,

    First off I just want to thank the community here. There is so much love and help, and I would’ve never gotten my wp to run in the first place without it.

    Anyways, I’m using wp to controll my entire site, not just the blog. This all works fine through pages and templates, only problem I have is that the links are a bit whack. I’d like to see https://www.sitename.com/portfolio instead of https://www.sitename.com/?page_id=10. I know it’s possible, just don’t know how. Any pointers or tips?

    Thanks in advance!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Look under Options > Permalinks in your admin area. You’ll see the settings include “Custom” and you can add something like /%category%/%postname% to that field in order to have prettier permalinks that include the category name and postname (which comes in turn from the post-slug/post title).

    Thread Starter ravnblade

    (@ravnblade)

    Thanks, I’m a lot further now. The posts I’ve made now use the permalink structure to display a nicer url. The pages I’ve made however do not.

    I know there’s a lot to read on this topic but nothing seems to work for me(the permalink seems to be one of the more controversial things in WP). WordPress has access to the .htacces doc and the mod_rewrite module is active.

    Anyways any help is greatly appreciated cause I’m not going to be able to fix this on my own:-(

    I’m not positive that this will work, because I haven’t experienced the problem you’re having, but what happens if you put the name that you want the page to be called in the “Page Slug” area of the page{s) in question?

    That was my next question — are you using the page slug to create fake file and directory names for your pages?

    Thread Starter ravnblade

    (@ravnblade)

    Yes the pages all have a slug name, and wordpress just ignores it and posts the default page-id=x style link:-(

    I just upgraded to wp 2.2 in hopes of fixing this prob but alas, I’m not so lucky:P

    Thread Starter ravnblade

    (@ravnblade)

    Whoa I just found the prob. I just fixed it. The navigation I was clicking through was still set to the default style link. Since that always keeps working no matter how you permalink your pages and posts this meant I never really realised it untill now! So I just change the links to /aboutme and /portfolio and I’m set:-)

    Thanks Heacceity for all your help and effort!

    Great! So the links were hard-coded?

    Thread Starter ravnblade

    (@ravnblade)

    The links in the menu are yes. It’s only a small site, I use pages for an about me, portfolio and contact page. Other than the blog that’s all there is. I stripped everything I didn’t need.

    It’s at https://www.massiveresistance.com. Very much a wip still though, but coming along nicely:-)

    It’s a very, very promising site. I love that glowy purple background.

    Thread Starter ravnblade

    (@ravnblade)

    Thank you! Your blog is very pleasing to the eye as well:-)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Decent links instead of “?page_id=10”’ is closed to new replies.