Viewing 11 replies - 1 through 11 (of 11 total)
  • HuddersfieldH

    (@huddersfield-hosting)

    This isn’t overly specific. Are you able to paste your .htaccess and wp-config, so I can check these for you?

    Thread Starter grodanBoll

    (@grodanboll)

    hi,
    thank you very much!
    all secret values hided with *

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    <?php
    /**
     * Baskonfiguration för WordPress.
     *
     * Denna fil innehåller följande konfigurationer: Inställningar för MySQL,
     * Tabellprefix, Säkerhetsnycklar, WordPress-språk, och ABSPATH.
     * Mer information på {@link http://codex.wordpress.org/Editing_wp-config.php
     * Editing wp-config.php}. MySQL-uppgifter får du från ditt webbhotell.
     *
     * Denna fil används av wp-config.php-genereringsskript under installationen.
     * Du behöver inte använda webbplatsen, du kan kopiera denna fil direkt till
     * "wp-config.php" och fylla i värdena.
     *
     * @package WordPress
     */
    
    // ** MySQL-inställningar - MySQL-uppgifter får du från ditt webbhotell ** //
    /** Namnet på databasen du vill använda för WordPress */
    define('DB_NAME', '*');
    
    /** MySQL-databasens användarnamn */
    define('DB_USER', '*');
    
    /** MySQL-databasens lösenord */
    define('DB_PASSWORD', '*');
    
    /** MySQL-server */
    define('DB_HOST', '*');
    
    /** Teckenkodning för tabellerna i databasen. */
    define('DB_CHARSET', 'utf8');
    
    /** Kollationeringstyp för databasen. Ändra inte om du är osäker. */
    define('DB_COLLATE', '');
    
    /**#@+
     * Unika autentiseringsnycklar och salter.
     *
     * Ändra dessa till unika fraser!
     * Du kan generera nycklar med {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
     * Du kan när som helst ändra dessa nycklar för att göra aktiva cookies obrukbara, vilket tvingar alla användare att logga in på nytt.
     *
     * @since 2.6.0
     */
    define('AUTH_KEY',         'Ange en unik fras här');
    define('SECURE_AUTH_KEY',  'Ange en unik fras här');
    define('LOGGED_IN_KEY',    'Ange en unik fras här');
    define('NONCE_KEY',        'Ange en unik fras här');
    define('AUTH_SALT',        'Ange en unik fras här');
    define('SECURE_AUTH_SALT', 'Ange en unik fras här');
    define('LOGGED_IN_SALT',   'Ange en unik fras här');
    define('NONCE_SALT',       'Ange en unik fras här');
    
    /**#@-*/
    
    /**
     * Tabellprefix för WordPress Databasen.
     *
     * Du kan ha flera installationer i samma databas om du ger varje installation ett unikt
     * prefix. Endast siffror, bokstäver och understreck!
     */
    $table_prefix  = '*';
    
    /**
     * WordPress-språk, förinställt för svenska.
     *
     * Du kan ändra detta för att ändra språk för WordPress.  En motsvarande .mo-fil
     * för det valda språket måste finnas i wp-content/languages. Exempel, lägg till
     * sv_SE.mo i wp-content/languages och ange WPLANG till 'sv_SE' för att få sidan
     * på svenska.
     */
    define('WPLANG', 'sv_SE');
    
    /**
     * För utvecklare: WordPress felsökningsläge.
     *
     * Ändra detta till true för att aktivera meddelanden under utveckling.
     * Det är rekommderat att man som tilläggsskapare och temaskapare använder WP_DEBUG
     * i sin utvecklingsmiljö.
     */
    define('WP_DEBUG', false);
    
    /* Multisite */
    /*define( 'WP_ALLOW_MULTISITE', true );*/
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', '*.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    /* Det var allt, sluta redigera här! Blogga på. */
    
    /** Absoluta sökväg till WordPress-katalogen. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Anger WordPress-värden och inkluderade filer. */
    require_once(ABSPATH . 'wp-settings.php');
    HuddersfieldH

    (@huddersfield-hosting)

    If you can provide a domain name I can investigate this further.

    Your files seem to be correct, so it could be the WordPress files themselves. I’d recommend you take a look at this article and do a manual reinstall: http://codex.wordpress.org/Updating_WordPress

    Also can you list what plugins you are using?

    If you would like me to take a look or this doesn’t work, please post a job on jobs.wordpress.net and Huddersfield Hosting Support will take a look for you.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Why did you disable WP_ALLOW_MULTISITE? Is that it get in since it’s not working?

    What is the home and siteurls set to in the database?

    Thread Starter grodanBoll

    (@grodanboll)

    First I enable the network with
    define( 'WP_ALLOW_MULTISITE', true );

    to get access to the network admin things. then I got the instructions to put some more rows into wp-config.php.

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', '*.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    When this codesnippet was inserted the network didnt work.
    there was something fundamental that didnt work. (can’t remember right now) when I commented out the WP_ALLOW_MULTISITE-row it started to work.

    but I will try to uncomment the line. may be it was sometinh with the wildcard settings..
    thanks for the hint!

    Thread Starter grodanBoll

    (@grodanboll)

    the site is a demo site. the url is http://bilar.brogie.se, http://fartyg.brogie.se
    it will be removed after the demo in the end of june.

    I just find out that /wp-admin seem to work randomly.. sometimes it works sometimes it doesnt work.

    it it a hosting problem?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Huh… it redirects me to an IP.

    Search the DB for that IP and see if it’s hiding in there somewhere.

    Also did you MOVE from localhost to the domain?

    Thread Starter grodanBoll

    (@grodanboll)

    ok. hum
    no it has not been on localhost. it seems to work randomly :/

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Have you tested with all plugins disabled?

    That actually looks like some all in one security plugin that blocks the wp-login page.

    Thread Starter grodanBoll

    (@grodanboll)

    ok thanks I will test that but I havent any security plugin.
    here is the list of plugins..
    Advanced Custom Fields

    Advanced Responsive Video Embedder

    Akismet

    CMS Tree Page View

    Display Widgets

    Hello Dolly

    iframe

    Image Widget

    Meta Slider

    NextGEN Gallery by Photocrati

    Ninja Forms

    User Switching

    WordPress-importör

    WordPress SEO

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I’d also suggest testing with a different theme (like Twenty Fourteen). The idea here is to trim your site to basics and start ruling things out.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘/wp-admin not working’ is closed to new replies.