WordPress.org

Ready to get started?Download WordPress

Forums

Newcomer - Permalinks Problem (9 posts)

  1. oxford11
    Member
    Posted 2 years ago #

    Hi All

    I'm trying to help my brother out with his website, its the first time that I've used wordpress.

    I'm desperately trying to change the url's, but have had no luck so I thought that the time has come to send this post!

    I have tried to change the permalink settings. However, I was given the message that the system could not access the web.config file. I have tried to change my permissions on the files using dreamweaver, but although both web-config and wp-config have had their permissions set to 777 this hasn't made a difference.

    I have also tried to add the code that the permalinks page suggested, but this hasn't made a difference, in fact when I added it to the web-config file all links on the site were broken.

    Would anyone be able to point me in the right direction? I'd really appreciate your help?

    Thanks

    Oxford11

  2. lonniea
    Member
    Posted 2 years ago #

    i would go here if i were you
    http://codex.wordpress.org/Getting_Started_with_WordPress

    PS: There's no need to play with permissions on wordpress

  3. oxford11
    Member
    Posted 2 years ago #

    Thank you for your response

    I've already read http://codex.wordpress.org/Using_Permalinks but that hasn't helped me so far.

    I can't seem to find a .htaccess file on the site, and I have hidden files visible.

    To fix this, would I need to contact the host of the site, so that the config files can be automatically rewritten?

    Thank you

  4. lonniea
    Member
    Posted 2 years ago #

    i think that's your best bet - yes!

  5. If you don't have a .htaccess file, you can make a blank one.

    Just make a file called .htaccess and set permissions to 755. Then WordPress can write to it.

  6. oxford11
    Member
    Posted 2 years ago #

    Thanks so much guys, I appreciate all of your help

  7. oxford11
    Member
    Posted 2 years ago #

    Sorry, just one other quick question. Separate to any hosting or permissions issues, I can't work out where to put the suggested code

    : -

    If your web.config file were writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Click in the field and press CTRL + a to select all. Then insert this rule inside of the /<configuration>/<system.webServer>/<rewrite>/<rules> element in web.config file.
    
    <rule name="wordpress" patternSyntax="Wildcard"> <match url="*" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php" /> </rule>
    
    If you temporarily make your web.config file writable for us to generate rewrite rules automatically, do not forget to revert the permissions after rule has been saved.

    I looked at the web config file and there is no 'rewrite' or 'rule' section? Can anyone help me with this? Sorry I just need to get decent url's then I'll be complete!

  8. Oh. You have a web.config. That means you're on IIS, not Linux.

    Ask your webhost.

  9. oxford11
    Member
    Posted 2 years ago #

    Thank you, thats helpful information.

    Have a good evening everyone, and thanks for your help

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags