Could you let me to know the links?
May I can check for you.
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
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.
ok i can try the third hit
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 ?
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.
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.
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