1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

WP Help

Discussion in 'WordPress' started by novashun, Jan 17, 2010.

  1. #1
    Im confused -

    I have my blog setup - I renamed my permalinks -

    /%postname%/

    My htaccess looks like this

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} ^wp-content.*
    RewriteCond %{REQUEST_FILENAME} ^wp-admin.*
    RewriteCond %{REQUEST_FILENAME} ^wp-include.*
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress



    When I post - you cannot click on any of the titles - When you click on any link for that matter - it all times out - goes to google and says cannot find page.

    Whats wrong?
     
    novashun, Jan 17, 2010 IP
  2. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #2
    1) A link would be helpful so we can see the problem. We might see something that you may have missed.

    2) I have never seen these lines within a wp install:

    RewriteCond %{REQUEST_FILENAME} ^wp-content.*
    RewriteCond %{REQUEST_FILENAME} ^wp-admin.*
    RewriteCond %{REQUEST_FILENAME} ^wp-include.*
    Code (markup):
    Why are they in there? (edit: Some quick google'ing shows this to be an incomplete method of securing wp and additional code is missing.) Does the site function with those extra lines removed?

    3) Anything in your webserver's error logs?
     
    theapparatus, Jan 17, 2010 IP
  3. novashun

    novashun Well-Known Member

    Messages:
    816
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    138
    #3
    Bascially - http://santx.com -

    Click on any links - internal wise. It appears the mod rewrite isnt working. The code you see above is the same code WP gives you to update manually your htaccess when you change your permalinks.

    http://codex.wordpress.org/Using_Permalinks#Using_only_.25postname.25

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} ^wp-content.*
    RewriteCond %{REQUEST_FILENAME} ^wp-admin.*
    RewriteCond %{REQUEST_FILENAME} ^wp-include.*
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Anything else I can look @
     
    Last edited: Jan 17, 2010
    novashun, Jan 17, 2010 IP
  4. novashun

    novashun Well-Known Member

    Messages:
    816
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    138
    #4
    Urggh... I hate asking for help -

    Ok, I have my index.php file set up as such -

    /** Loads the WordPress Environment and Template */
    require('./wordpress/wp-blog-header.php');
    ?>

    In the general tab - i changed - blog directory to site name / wordpress. Where Blog address is my URL to my site ( root )

    The only 2 files I have in my root folder is the htaccess and then the index.php -

    Now nothing works. I can get to the admin login, but it times out.
     
    novashun, Jan 17, 2010 IP
  5. abhijit

    abhijit Notable Member

    Messages:
    4,094
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    215
    #5
    your word press has gone because config.php must be in root..................so...........don't waste your time download a new version of wp and upload it there.....................and make .htaccess properties....as 777..........then auto update your .htaccess.................it will work fine
     
    abhijit, Jan 18, 2010 IP
  6. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yup, read the bold text at the top of that:

    You may have missed that. If you;re running something less than version 2.0 (Current is 2.9.1 I believe) you are in serious need of an upgrade.

    To change permalinks, all you do is modify what's in your Dashboard -> Settings -> Permalink. Please return the .htaccess file to what it was which should be this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    
    Code (markup):
    Please be sure to red rep webservices4india and kofadije if you would. webservices4india's solution to everything is reinstall and he's caused a number of problems in other threads.
     
    theapparatus, Jan 18, 2010 IP