• emanon1983

    (@emanon1983)


    I know this has been mentioned before but i have not found the solution!

    Here is my site, its a site all bout foxy bingo, i’ve spent all morning trying to change the permalinks to

    /%category%/%postname%/

    I’m not sure where the .htaccess goes

    If i put it in the root of my site, everything goes blank and i can’t access anything

    If i put it the root of the theme then it loses all styling and still doesn’t work!

    HELP

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
Viewing 7 replies - 1 through 7 (of 7 total)
  • Samuel B

    (@samboll)

    I think we may have been down this road
    http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure

    For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields.

    also, are you sure you are on a linux server and can use pretty permalinks?
    If on a windows server – see this
    http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

    if you are on a linux server, the .htaccess would definitely go in the root

    find out about your server and report back. :>)

    Thread Starter emanon1983

    (@emanon1983)

    definitely sure i am on a linux server with Supanames…

    Still don’t quite get why you shouldn’t start with your category! Whats the best way for SEO, surely its category and then post name? I should figure out how to get it working first i guess

    Samuel B

    (@samboll)

    well wp assumes the category and you can use it – it just generates tons more queries
    I think you can achieve the same effect with just /%postname%/

    Also, try chmod 666 on .htaccess then try your custom permalinks
    if that works chmod back to 644

    Thread Starter emanon1983

    (@emanon1983)

    the problem was, i was using textedit to change my htaccess file (rtf) and then uploading it and changing it to .htaccess.

    i should have been uploading the txt file so it was a case of the formatting in the rtf file!

    sorted – still want to know what the best url structure is

    Thread Starter emanon1983

    (@emanon1983)

    so just site/postname is fine then?

    Samuel B

    (@samboll)

    sorted – still want to know what the best url structure is

    many many opinions on that
    in custom structure try just
    /%postname%/
    exactly like that
    might review this
    http://codex.wordpress.org/Search_Engine_Optimization_for_Wordpress

    glad you figured it out – you definitely want to keep rte’s away from wordpress – posting, also

    Thread Starter emanon1983

    (@emanon1983)

    maybe you could help me with my more important swf issue which isn’t very pleasent for me ! 😉 Here

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Permalinks and .htaccess’ is closed to new replies.