SEO permalink structure and .htaccess update help! ill give reps.

Discussion in 'WordPress' started by androomidaa, Sep 6, 2007.

  1. #1
    hi, im new to blogging and just have changed my my wp permalink structure to seo friendly link structure ( http://sitename.com/2007/09/06/sample-post/) and there is a message that says:
    im affraid i dont have enough idea about how do i update my .htaccess! ill add a rep to anyone who's going to solve the problem
     
    androomidaa, Sep 6, 2007 IP
  2. amanamission

    amanamission Notable Member

    Messages:
    1,936
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    210
    #2
    First question: who is your host?
    Second question: do you know why your .htaccess is chmod 444?
     
    amanamission, Sep 6, 2007 IP
  3. androomidaa

    androomidaa Well-Known Member

    Messages:
    649
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #3
    answer of the first question: its adultcityhost.net with a cpanal 11.
    i figured i dont have any idea about he second question! how do i solve the problem?
     
    androomidaa, Sep 6, 2007 IP
  4. amanamission

    amanamission Notable Member

    Messages:
    1,936
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    210
    #4
    Okay, so far this is the best I can explain what's happening.
    When you activate permalinks, WP uses a protocol called mod__rewrite to change the way URL's are generated for each post. These instructions are contained in your .htaccess, which WP automatically creates and automatically rewrites by default.
    However, WP isn't able to do this. I believe this is because your .htaccess chmod permission settings are set to disallow write for user/group/public.
    As long as the mod__rewrite is correct, it doesn't matter if wordpress can't update the .htaccess--my own blogs are set with chmod 444 on .htaccess.
    I did this on purpose to get around a deficiency with my host, which is why I asked about that, as it could provide a clue.
    Now the question is-does everything work okay on your blog? Comments, for example? Do the category links work or does everything just lead back to the same page?
    If everything else is okay, I would tentatively say not to worry. Run a few common tasks to make sure all the links work properly, and if so, you are probably okay. As I say, I got the same error.
    Might be a good idea to look at the .htaccess anyway.
     
    amanamission, Sep 6, 2007 IP
  5. ace.tuku

    ace.tuku Peon

    Messages:
    773
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    A question i also would like an answer for: chmod 444(unix sys admin will know this) means that user - group - others all have read permission...if so why ???
     
    ace.tuku, Sep 6, 2007 IP
  6. amanamission

    amanamission Notable Member

    Messages:
    1,936
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    210
    #6
    Normally, this configuration allows the instructions in the file to be available to the program, without allowing changes by either the user or the group. "Read" in this context simply means that the instructions are accessible. The real mystery is how this file, which is set by default to be rewritable by WP (since WP created it) got to be "locked down."
     
    amanamission, Sep 6, 2007 IP
  7. androomidaa

    androomidaa Well-Known Member

    Messages:
    649
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #7
    its just a baby blog, so all i have is the blogroll section with bunch of links came bundled with the installation. i used fantastico to install the blog just so u know. i have checked it out and all the links work okay no problem as far i could figure. (here is the address http://ukvidz.com/ if u wish to check out the blog) but still, how do i update .htaccess file? there is an instruction with the update notice:
    but as im a complete newbie i dont have any idea how do i update?
     
    androomidaa, Sep 6, 2007 IP
  8. amanamission

    amanamission Notable Member

    Messages:
    1,936
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    210
    #8
    Okay, your .htaccess file is in your blog folder, or it ought to be. You should be able to open it, but you can download it. However, all you really need to do is change permission to 666. I'm pretty sure that's default for Wordpress. Does your Cpanel have a place where you can tic and un-tic boxes for rwr--d permissions?
    The default seems to be 666...ominous, but that will let WP rewrite the mod for you. If all goes well, that could be all you need.
    CHmod 666 means read and write permission for owner, group, and public, but execute for none. Try that.
     
    amanamission, Sep 6, 2007 IP
    androomidaa likes this.
  9. sat123

    sat123 Banned

    Messages:
    1,600
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #9
    do u know to sue ftp....FTP Client Software(like core ftp)

    Login to your ftp account using ftp username password (in cpanel u might havbe set a ftp username password)

    After u login you see the folders n files of your server in a pane..there locate the folder menat for http://ukvidz.com/ generally it is the root folder which is opened when u login and u don't need to enter any folder...find index.php there (in root as i assume wordpress installed in the root) in the same place where index.php is located .htaccess would be located find it.

    If there is no .htaccess you need to create one just create a file in your pc - > open notepad and save as filename: .htaccess filetype: all files and upload that to the server using that ftp client software....right click that .htaccess (your pc files also appear in the ftp app) file in that software and select upload. Now in the pane m,enat for your server where index.pjp and your blog's file r present .htaccess is present.

    Right click on .htaccess and from menu select properties . A window appears now with a textbox titled value. In that value write 644 (to chmod the .htaccess to 644)

    Now do changes to permalink structure and it would automatically write the required stuff to .htaccess file and it's all done.

    I used core ftp lite free version so explained according to dat//////
    ===================================================================================
    Update: anotherway i forgot is the cpanel way that gr8liverpoolfan mentions bellow..In cpanel->File manager move to the folder which contains your blog..or if it's in root no need to move to any folder..in that folder locate index.php... .htaccess should be present there..then edit and put the code to it..but if there is no .htaccess i think u have to create one using steps above the ===== using ftp tool
     
    sat123, Sep 6, 2007 IP
    androomidaa likes this.
  10. gr8liverpoolfan

    gr8liverpoolfan Notable Member

    Messages:
    6,719
    Likes Received:
    538
    Best Answers:
    0
    Trophy Points:
    285
    #10
    Log into Cpanel and go into your files and locate htaccess and manually copy the code given.
     
    gr8liverpoolfan, Sep 6, 2007 IP
    androomidaa likes this.
  11. androomidaa

    androomidaa Well-Known Member

    Messages:
    649
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #11
    EDIT: successfully changed the permission 0644 to 0666. a big thnx for all that helped me to solve the prob. got my lesson and that is: dont use opera with cpanal! i was using opera and it only showes the files and folders, no information! when i reopened my cpanal with IE, i figured there are lots of informations and options which i never saw with opera! .htaccess was turned to 0644! so just changed it to 666 and the job is done! thanx to amanamission for such a detailed explanation, u've saved my day brother. :)
    appreciated a lot. :) reps added

    and btw "amanamission" no offence but i figured your avater is kinda scary! i donno...but i dont like the color! but hay thats what i felt! u dont have to change it :D
     
    androomidaa, Sep 6, 2007 IP
  12. amanamission

    amanamission Notable Member

    Messages:
    1,936
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    210
    #12
    It is a New Age artistic rendering of Kali, the goddess of Death and rebirth. The green was an experiment, I agree it is scary, is that why so many of my threads die unanswered (lol)
    You are right to be frightened.
     
    amanamission, Sep 6, 2007 IP
  13. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #13
    In Wordpress, there should be a window that shows what your .htaccess should read. If it's not CHMODded correctly, it will say "this is how your htaccess file should look if it were writable, but it is not" or something to that effect. All you have to do is highlight all of that code, copy it, and paste it into your existing htaccess.
     
    Pixelrage, Sep 6, 2007 IP
    androomidaa likes this.
  14. androomidaa

    androomidaa Well-Known Member

    Messages:
    649
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #14
    kali? from which religion i wonder? hmm green was a bad experiment! everytime i look at it i donno i feel something else! the feeling is not scary actually...its something else...i dont really know..not familier with this! :eek:

    well i guess yeh, thats probably the reason of dead threads lol:D
     
    androomidaa, Sep 6, 2007 IP
  15. xeric

    xeric Peon

    Messages:
    612
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Ask Your Host To Allow You To Edit The Wordpress Theme.

    They Are Not Allowing You So, The Display Comes With [please Update Your .htaccess]
     
    xeric, Sep 7, 2007 IP
  16. YoungMaster

    YoungMaster Peon

    Messages:
    330
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Kali is a Hindu goddess.
     
    YoungMaster, Sep 10, 2007 IP