Removing index.php from my Wordpress URL strings

Discussion in 'General Casino Affiliate Area' started by theshortstack, Oct 15, 2015.

  1.  
    theshortstack

    theshortstack Affiliate Guard Dog Member

    Messages:
    174
    Likes Received:
    1
    Joined:
    Aug 20, 2009
  2.  
    AussieDave

    AussieDave 17 years & still going!

    Messages:
    2,867
    Likes Received:
    1,367
    Joined:
    Nov 28, 2013
    WP has a page which explains it all:
    https://codex.wordpress.org/Using_Permalinks

    For what you require, you need to do the following:
    1. Access your WP Admin Area;
    2. Then go to Settings >> Permalinks;
    3. Click the Custom Structure.
    You have a couple of options... Can either include the "Category Base" or just your "Post Name".

    I've always used my Category Base, followed by Post Name. I also use a trailing (/) forwardslash.

    To achieve what your asking, you'd add this to your "Custom Structure", /%category%/%postname%

    You must have a .htaccess file on the root of your site. WP will try to automatically add the Permalink structure to that file. If it can't, it will issue a notice in your Settings >> Permalinks area and you'll have to add it manually to the .htaccess file. You will receive the code within that area to add to you .htaccess file.

    NB - Don't forget to do 301 redirects from your old pages, to all your new "Pretty URL's" ;)
     
    Last edited: Oct 16, 2015
  3.  
    RyanWeb

    RyanWeb Affiliate Guard Dog Member

    Messages:
    816
    Likes Received:
    319
    Joined:
    Apr 9, 2015
    Did you get your site working? If you need any help let us know.. I think most of us have installed several WP sites and can donate a few minuets to get you running.. I know I can, PM if you need.

    Otherwise, hope you figured it out.
     

Share This Page