• Hi
    I recently moved my servers, and my links stopped working. After changing to default permalinks, the website is working fine, but no other permalink options seem to be working.
    Do you think I might have missed a few files during transfer?
    My website is – https://www.ONergy.in
    Thanks in advance for your help.
    Regards
    Ekta

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Try:

    – flushing any caching plugins you might be running, as well as server and/or browser caches.

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems.

    – renaming or deleting (after a backup) the .htaccess file by using FTP or whatever file management application your host provides.

    – re-uploading all files & folders – except the wp-content folder from a fresh download of WordPress. by using FTP or whatever file management application your host provides.

    Thread Starter ekothari

    (@ekothari)

    Thanks keesiemeijer
    I have tried deactivating plugins, but doesn’t help. Have also tried the default theme, but having the same problem.
    I think the problem is with .htaccess file. My webhosting company – yahoo doesn’t support .htaccess file and has apache.

    I tried to find –
    ” $is_apache = strstr($_SERVER[‘SERVER_SOFTWARE’], ‘Apache’) ? 1 : 0; “

    to replace it as per instructions on -https://codex.www.ads-software.com/Using_Permalinks#Where.27s_my_.htaccess_file.3F , but could find the exact same line. What I have similar to this is

    “$is_apache = (strpos($_SERVER[‘SERVER_SOFTWARE’], ‘Apache’) !== false || strpos($_SERVER[‘SERVER_SOFTWARE’], ‘LiteSpeed’) !== false); “

    Please let me know if I should replace this entire line with

    ” // $is_apache = strstr($_SERVER[‘SERVER_SOFTWARE’], ‘Apache’) ? 1 : 0;
    $is_apache = 1; “

    Thanks

    Ekta

    All hosting plans of Yahoo do not fully support WP. Which hosting plan are you using?

    Thread Starter ekothari

    (@ekothari)

    Hi Krishna
    I am currently using – Linux based server, unlimited plan. The support person says that yahoo supports wordpress, just doesn’t support files starting with “.”, like .htaccess.
    My website seems to be working fine, apart from the permalinks:-(
    You can have a look – https://www.ONergy.in.
    Regards
    Ekta

    Are you using the Basic Plan? If so, it does not support WordPress hosting. Check it now.

    Thread Starter ekothari

    (@ekothari)

    My plan seems to support wordpress. In fact it also has the option of loading wordpress through yahoo, but don’t want to do that, as I will have to start from the scratch, and will take much time.
    My site is working fine as of now (www.onergy.in), apart from the permalink and .htaccess issues. Do let me know if someone has cracked the problem.
    Thanks again
    Ekta

    Pretty permalinks on Apache need mod_rewrite and the .htaccess file to work.

    You might want to consider changing hosts again.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘After shifting server, only default permalink working’ is closed to new replies.