• 1 rewrite module is fine , check by info.php
    2 htaccess fine looks and it is work with chmod 666
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    ~
    3 httpd.conf just look like
    <Directory />
    Options FollowSymLinks
    AllowOverride All
    <IfModule !mod_access_compat.c>
    Require all denied
    </IfModule>
    <IfModule mod_access_compat.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Directory>
    # use .htaccess files for overriding,
    AccessFileName .htaccess
    # and never show them
    <Files ~ “^\.ht”>
    <IfModule !mod_access_compat.c>
    Require all denied
    </IfModule>
    <IfModule mod_access_compat.c>
    Order allow,deny
    Deny from all
    </IfModule>
    </Files>

    4 everything i try i do need your guys help

Viewing 12 replies - 1 through 12 (of 12 total)
  • Could you let me to know the links?
    May I can check for you.

    Thread Starter kevin1723

    (@kevin1723)

    sure dude my site is myseoway.com

    Probably the line wp-includes/class-wp.php on line 184 is like below
    $home_path = trim( parse_url( home_url(), PHP_URL_PATH ), ‘/’ ); // this line

    And this happens for your rewrite engine. The condition is :
    if ( ! empty($rewrite) ) {
    // If we match a rewrite rule, this will be cleared.
    $error = ‘404’;
    $this->did_permalink = true;

    Could you please put the below code on httaccess file and before that delete all existing code from that?

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thread Starter kevin1723

    (@kevin1723)

    hi wsaiful
    thanks for your help
    i check my htaccess file and it just look the same as you show me
    is there anything i need to change in class-wp.php ?

    No you don’t need to anything change on class-wp.php it’s ok. Could you able to reinstall the wp without delete your DB? That can help.

    If you can’t do this by reinstall, then send your FTP username and Password to me to check further. Saiful.mlb skype id can help you.

    • This reply was modified 8 years, 7 months ago by Shiful H.
    Thread Starter kevin1723

    (@kevin1723)

    ok i can try the third hit

    Thread Starter kevin1723

    (@kevin1723)

    hi wsaiful
    i try reinstall all the things and i got something new
    right now i can use url like /index.php/postname …
    but still cannot use postname only
    do you have any idea ?

    Thread Starter kevin1723

    (@kevin1723)

    and i can find this command “LoadModule rewrite_module modules/mod_rewrite.s”in my httpd.conf file

    Hi Kevin,

    I Just checked your site is live now.
    For the postname in the url you need to set from setting > Permalink or yourdoamin.com/wp-admin/options-permalink.php and choose Permalink Settings in below common settings Post name Radio box. Save it. That’s all.

    This can help.

    Thread Starter kevin1723

    (@kevin1723)

    dude what i mean is i can use myseoway.com/index.php/postname
    but if i change it to myseoway.com/postname
    it cannot work fine ….

    ‘myseoway.com/postname’ this form should work by default wordpress settings menu and permalink option.
    There has no more code or script required.
    In your case did you checked all options after new wordpress installation?

    Without checking from dashboard, this is difficult to advise you. Please try more with permalink options.

    Thanks.

    Thread Starter kevin1723

    (@kevin1723)

    yeah i understood it’s hard …
    is there anything i can check?
    i still feel the rewrite was fail
    htaccess file checked
    httpf conf i can’t find the line look like LoadModule bababa,i think it should be there and need me to remove the “#”
    rewrite module i think is there i open info.php use ctl + f i can find the mod is there !
    chmod for the htaccess is fine

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘it’s been three days guys please help me with 404 error’ is closed to new replies.