1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Word Press Pages

Discussion in 'Blogging' started by billyh7, Feb 22, 2009.

  1. billyh7

    billyh7 Junior Member

    Joined:
    Dec 18, 2008
    Messages:
    162
    Likes Received:
    2
  2. da buck

    da buck Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    317
    Likes Received:
    116
    Location:
    Ohio
    go to your permalinks settings and use the custom setting /%postname%
     
  3. hwolfpack6

    hwolfpack6 BANNED BANNED

    Joined:
    Dec 11, 2008
    Messages:
    646
    Likes Received:
    175
    Hi,
    Click Setting and go to Permalinks. Set it to what you want. You may have to put a file named ".htaccess" in the root of your folder with permissions. Read this:

    http://codex.wordpress.org/Using_Permalinks

    I had to do this the other day.
     
  4. roychuk

    roychuk Junior Member

    Joined:
    Nov 30, 2008
    Messages:
    187
    Likes Received:
    561
    In your dashboard, you got down to Permalinks and under "custom" change it to /%postname%
     
  5. billyh7

    billyh7 Junior Member

    Joined:
    Dec 18, 2008
    Messages:
    162
    Likes Received:
    2
    that worked but now when I look at my old pages and create new pages I get page could not be found error 404.
     
  6. dadevil_09

    dadevil_09 Registered Member

    Joined:
    Dec 8, 2008
    Messages:
    66
    Likes Received:
    6
    Location:
    Da Devil Zone
    Through Permalinks in your dashboard...
     
  7. billyh7

    billyh7 Junior Member

    Joined:
    Dec 18, 2008
    Messages:
    162
    Likes Received:
    2
    I put /%postname% in there
     
  8. hwolfpack6

    hwolfpack6 BANNED BANNED

    Joined:
    Dec 11, 2008
    Messages:
    646
    Likes Received:
    175
    Billy - You need to make an .htaccess file. Read the page I sent you.
     
  9. billyh7

    billyh7 Junior Member

    Joined:
    Dec 18, 2008
    Messages:
    162
    Likes Received:
    2
    my control panel said I'm hosted on a windows server and I cant use a .htaccess file. Is that true? How can I create one quick so I can test it? I'm not sure how to make one.
     
  10. billyh7

    billyh7 Junior Member

    Joined:
    Dec 18, 2008
    Messages:
    162
    Likes Received:
    2
    Please help
     
  11. hwolfpack6

    hwolfpack6 BANNED BANNED

    Joined:
    Dec 11, 2008
    Messages:
    646
    Likes Received:
    175
    Make one that says what they tell you to say when they give you that code. Name it 1.htaccess and upload it. When it's placed on your server, rename it so it's just .htaccess.
     
  12. kesoh

    kesoh Registered Member

    Joined:
    Jun 2, 2008
    Messages:
    55
    Likes Received:
    21
    Home Page:
    dont mess with your htacess file not for newbe to mess with if you dont know how.............DO THIS go to your admin sec click on setting then click on permalinks you will see Common settings put a tic on Custom Structure and put this /%postname%/ notice the foward slash before post name ..some themes dont use the slash after are before try and see which one works /%postname% or this one %postname% there you go try on of those hope that helps you out
     
    Last edited: Feb 23, 2009
  13. mike2000

    mike2000 Elite Member

    Joined:
    Feb 14, 2009
    Messages:
    2,206
    Likes Received:
    691
    Location:
    in Front of My PC
    Go to settings>permalink in the dashboard and choose custom structure. Give %postname% as the custom structure.
     
  14. billyh7

    billyh7 Junior Member

    Joined:
    Dec 18, 2008
    Messages:
    162
    Likes Received:
    2
    Kesoh thanks for the help but no good. I tried all 3 and no page found. I move my permalink back to default and it works but with ?page_id=15 and the end of the url.
     
  15. rhino

    rhino Junior Member

    Joined:
    Jun 3, 2008
    Messages:
    128
    Likes Received:
    126
    Occupation:
    crazy netropeneur
    Location:
    Bronx Zoo, USA
    the platinum seo plugin (free at wordpress.org) can help with redirecting the old links to the new structure.

    with 'pretty' link structures like /%category%/%postname%/

    the .htaccess IS definitely modfied by wordpress in the setup. best to set .htaccess permissions to 777 - set the new link structure - then set the permissions to 644.

    or if you do not want to mess with this? just use a standard wp link structure, and use the platinum seo plugin to set the metatags for all of your posts. you will still get got results because of the metatags.

    R-
     
  16. sophist

    sophist Registered Member

    Joined:
    Dec 1, 2008
    Messages:
    95
    Likes Received:
    23
    Location:
    The Most Boring Place On Earth
    Great .htaccess tutorial here. Totally free.

    Code:
    http://www.javascriptkit.com/howto/htaccess.shtml
     
  17. Davechode

    Davechode Newbie

    Joined:
    Feb 23, 2009
    Messages:
    2
    Likes Received:
    0
    Don't forget if you are using Wordpress for a static site (as opposed to a blog) you can use the permalink structure %pagename% to have the names of the pages in the URL, as you don't use posts.
     
  18. godgirlsjulie

    godgirlsjulie Newbie

    Joined:
    Nov 29, 2008
    Messages:
    35
    Likes Received:
    2
    I think .htaccess only work at linux server...not windows like billyh used
     
  19. steveJD

    steveJD Junior Member

    Joined:
    Nov 29, 2008
    Messages:
    146
    Likes Received:
    142
    If you are using windows hosting, then permalinks do not work as default but there is a work around, i found this on the net a while ago but i no longer have the original link to quote the author but it works for me.

    Step 1: Use existing 404 page or create a 404 page and put the following lines in it

    Code:
    <?php
    $qs = $_SERVER['QUERY_STRING'];
    $pos = strrpos($qs, '://');
    $pos = strpos($qs, '/', $pos + 4);
    $_SERVER['REQUEST_URI'] = substr($qs, $pos);
    $_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
    include('index.php');
    ?>
    
    Step 2: Create a file in your wordpress root directory called wp-404-handler.php and add the following code

    Code:
    <?php
    $_SERVER['REQUEST_URI'] = substr($_SERVER['QUERY_STRING'], strpos($_SERVER['QUERY_STRING'], ':80')+3);
    $_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
    include('index.php');
    ?>
    
    Step 3: (might not need to do this if you already have a 404 page) Set your sites 404 page to point to the wp-404-handler.php url. Most control panels at web hosts allow you to do this. If you?ve got the option to select between FILE and URL then choose URL.

    Step 4: Go to Options -> Permalinks in your Wordpress admin page, and choose an appropriate structure for your links. i use

    /%category%/%postname%/

    I hope this helps!
     
  20. kesoh

    kesoh Registered Member

    Joined:
    Jun 2, 2008
    Messages:
    55
    Likes Received:
    21
    Home Page:
    If you are using windows hosting as SteveJD had said just call your hosting and see if you can switch over to linux ...If you are going to mess with the .htaccess file before you do anything to it make sure you copy whats in there and put it on your desktop so if you mess it up you will have a copy to fix it back.....