• Resolved badcredit

    (@badcredit)


    Hi, I’m editing the link structure of my word press blog because every time I make a post I want the keywords from the title to appear within the url. So, I added this code within the custom url structure: Link url format: /%postname%.html

    However, it keeps saying to update .htaccess now. The only issue is that the .htaccess file is not there on my server. So, should I make a file and upload it to my server, and if so what should I name the extension for it? For example, .html, php, or just leave it blank? Also, what should I update the .httacess file to as well? Thanks in advance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • shadow

    (@shadow)

    It can be am empty text file simply saved as .htaccess [[nothing else needed]

    You will also need to give it 777 permissions when you make changes to it and then change them back to 644 when completed.

    You may need to configure your FTP client to see it though,
    often -al

    Thread Starter badcredit

    (@badcredit)

    Thanks. Ok, so i uploaded it as an text file and then copy and pasted the code that wordpress gave to me but it still said that i need to update my .htacess file. Which part of it should i edit, and what exactly do i need to make it editable? The number 666? Thanks.

    moshu

    (@moshu)

    You either set the permissions (chmod) to 666 – making the file writable and then WP will write the rules into it…
    or you can put the given code into the file and upload it again.

    castus

    (@castus)

    Your server isn’t a windows server is it?

    Thread Starter badcredit

    (@badcredit)

    No, im running on Linux. I edited the .htaccess file so that it was 666, but still no luck, strange. Do i have to make changes to the code that wordpress gave me?

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Thanks.

    moshu

    (@moshu)

    No, don’t change anything.

    Thread Starter badcredit

    (@badcredit)

    Err, its not working though, this is strange, any suggestions?

    Thread Starter badcredit

    (@badcredit)

    Is anyone else having a similar promblem. >htaccess filed was added, the file was updated to 666, ,htaccess file updated and still not luck.

    Thread Starter badcredit

    (@badcredit)

    Mistake found. File name was .htaccess.txt, should of just been .htaccess.

    My .htaccess is correctly names and I am still having a problem. All my links and permalinks and comments all go to the homepage. Does any one have any suggestions?

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