The Categories and Archives links are not woking

Hi,

The categories(desktop and mobile view) and Archives (mobile view) links are not working. I don’t know why Archives in mobile view still showing the old posts even i keep refresh, inactivate all the unnessary plugins and update it as shown in the images.

http://www.theideashark.com/wp-content/uploads/2016/12/IMG_3130.png
http://www.theideashark.com/wp-content/uploads/2016/12/IMG_3131.png
http://www.theideashark.com/wp-content/uploads/2016/12/Screen-Shot-2016-12-20-at-9.15.16-PM.png

http://www.theideashark.com

Can you advice on it? Thank you and your help is much appreciated.

Bryan Chin

Could you please share the URL that showing this result: http://www.theideashark.com/wp-content/uploads/2016/12/Screen-Shot-2016-12-20-at-9.15.16-PM.png?

Regards,
Kharis

hi,

the URLs that shown the results below:

www.theideashark.com/category/design/
www.theideashark.com/category/interior/
www.theideashark.com/category/logistic/
www.theideashark.com/category/max-ideas/
www.theideashark.com/category/rewards/
www.theideashark.com/category/uncategorized/

the URL that shown the old posts as images in the previous posts.(link broken in mobile view only) as below:

www.theideashark.com/category/2016/12/

Please take a look at my website and kindly advice me any solution to fix the issues.

Thank you and your help is much appreciated.

Bryan Chin

Hello there,

Try to flush your permalink structure. From dashboard, go to Settings > Permalinks > Save.

Let me know how it goes.

Regards,
Kharis

Hi Kharis,

I did it many times but unfortunately it is not working well. Any other solution?

Bryan Chin

Hi Kharis,

After i follow your instruction again. the blog posts links work well. But just the Categories link for Our Work/Projects (All view) and Archives links (non-stop view only) is not working well.

Can you advice on it? Thank you so much for your help.

Bryan Chin

Hello Bryan,

Are running your site on WP network/multisite?

Regards,
Kharis

Just for Additional note.

If you are running the Endurance Page Cache plugin, please try disabling it.

Let me know how it goes.

Regards,
Kharis

Hi Kharis,

Hosting by bluehost with single WP only. I have deleted all the unnecessary plugins unless the plugins requested by theme Sydney.

To confirm it again, when can I see the endurance page cache plugin? Is it “installed plugin”? If yes then I never install this plugin.

That’s why I have no clue to fix it.

Please advice. Appreciate if you could find the solution.

Thank you

Bryan Chin

Hello there,

> To confirm it again, when can I see the endurance page cache plugin? Is it “installed plugin”?

It isn’t pre-packed plugin. It is like other plugins that can be seen from Dashboard > Plugins.

Could you please share me the code in your .htaccess file on your site’s root directory where you can find wp-config.php?

Regards,
Kharis

Hi Kharis,

http://www.theideashark.com/wp-content/uploads/2016/12/Screen-Shot-2016-12-22-at-4.25.44-PM.png

These are the plugins in my website.

May i know where can i find the .htaccess files and wp-config.php?

is it Appearance-> Editor?
If yes, i don’t find it.

Please give more details instruction.

Thank you

Bryan Chin

You can access it from your cPanel’s file manager or FTP client software like FileZilla. https://codex.wordpress.org/Using_FileZilla

Regards,
Kharis

Hi Kharis,
Below are the code of the wp-config.php

Please advice.

Bryan Chin

<?php
/**

  • The base configuration for WordPress
  • The wp-config.php creation script uses this file during the
  • installation. You don’t have to use the web site, you can
  • copy this file to “wp-config.php” and fill in the values.
  • This file contains the following configurations:
    • MySQL settings
    • Secret keys
    • Database table prefix
    • ABSPATH
  • @link https://codex.wordpress.org/Editing_wp-config.php
  • @package WordPress
    */

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘theidef0_ss_dbnamee40’);

/** MySQL database username */
define(‘DB_USER’, ‘theidef0_ss_de40’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘hW6Oh3Pa6C5k’);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);

/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ‘’);

/**#@+

  • Authentication Unique Keys and Salts.
  • Change these to different unique phrases!
  • You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
  • You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
  • @since 2.6.0
    /
    define(‘AUTH_KEY’, 'F;bR
    DK|/P_-){wI?AsGB]?Z!b_!iWE>Ly-{X@+c=psq+Tkd(EfSj-LjVaDlfISR@Chzw>JIr!V@B-pGS;zUJ?fzQ[B@qY+okH/ZBr[zj?/Z=HNhXPhDcqyJ_^Mw?SSi’); define(‘SECURE_AUTH_KEY’, ‘/ZN[[K]&{TPD<sEFVF{qV_J&|oWOD;iBo?kwql)l>U><[BAw(VdF[SXbEUbUPj;{{duP]+(LiUfXTN!-eBhBcC]MEkel&@m=&Bh(csl=T+jW<-?ilXI%=Fq(HeKOi@tC’);
    define(‘LOGGED_IN_KEY’, ‘i=x$x)-[QS-|exTwLXuAIHYi|GK({QN@hK=iZotTmRBG]Gg}qR&F//$kd(A>J!mOEVJq{ztUYzYHLxevYT><g!@=^&hKjPO%=vi{@->zpxcv@%OBcPT/(|^(Nn}|o’);
    define(‘NONCE_KEY’, ‘i)lN{B=xAzE]OmUKjmM/QS^WiM^L[YVK(;MALC!S^)swCplXc-+HuyosjcSdqRVtIzU](A@uRLYlySjd_aw?uSVcS;jdr!Dx>^]jNzBmb(]@gxa?Ao@rR]JT%=Bo{IlM’);
    define(‘AUTH_SALT’, 'Q$zuE|HwSA-$)IgZiX(MhIDUQRh^!uIQCS}BXE?iN@i%d}ogC@tApj@Y(WFM!DHh?l+bedyv|/Xl
    &dj<O=a$vvgUZRoL}<VaKR;CMD-;xzPHfWqmMNn=R+Nk!ixpTO’);
    define(‘SECURE_AUTH_SALT’, 'qdr^s!kcOIr-^QQRA+YXnK([Q-!TJ${bkTdaisFWw<!kY@fCX%ayXR>Ip[z
    E-@a/vyX(KfOiWVJ%c=sJnMaVc/LJHi[>iA)xEtKdu!mPA[JR->?WIZNqT_jpZN_KId’);
    define(‘LOGGED_IN_SALT’, 'MR}GIwytz]n_JY-btQQOu_
    ^dBc|qZp]FSwRr@Cm>pTdjeM^X{{|WZY^TYVi]ZeRA?LE=$QHgPp%gqso$K)X}}TtO^x%MIO%sz+TLYkfgM+x;?M-Pbg}Ak<ZMgZ>=l_’);
    define(‘NONCE_SALT’, 'h_yeSOB
    ^xVPLL@Xs(U(duQFkycrVKGZ(dA&XV&qlm!NZ;S&}SDJu/FNFOgdZo;ghlK_S[+Sd|dn!os!!u<GmwuRwhDIEqD|pgWNHW/nxtM)L<lWp**nvsFyczHMRC’);

/**#@-*/

/**

  • WordPress Database Table prefix.
  • You can have multiple installations in one database if you give each
  • a unique prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_qizz_’;

/**

  • For developers: WordPress debugging mode.
  • Change this to true to enable the display of notices during development.
  • It is strongly recommended that plugin and theme developers use WP_DEBUG
  • in their development environments.
  • For information on other constants that can be used for debugging,
  • visit the Codex.
  • @link https://codex.wordpress.org/Debugging_in_WordPress
    */
    define(‘WP_DEBUG’, false);

/* That’s all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(FILE) . ‘/’);

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);

Hi Kharis,
Below are the text of the wp-config.php

Please advice.

Bryan Chin

<?php
/**

  • The base configuration for WordPress
  • The wp-config.php creation script uses this file during the
  • installation. You don’t have to use the web site, you can
  • copy this file to “wp-config.php” and fill in the values.
  • This file contains the following configurations:
    • MySQL settings
    • Secret keys
    • Database table prefix
    • ABSPATH
  • @link https://codex.wordpress.org/Editing_wp-config.php
  • @package WordPress
    */

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘theidef0_ss_dbnamee40’);

/** MySQL database username */
define(‘DB_USER’, ‘theidef0_ss_de40’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘hW6Oh3Pa6C5k’);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);

/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ‘’);

/**#@+

  • Authentication Unique Keys and Salts.
  • Change these to different unique phrases!
  • You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
  • You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
  • @since 2.6.0
    /
    define(‘AUTH_KEY’, 'F;bR
    DK|/P_-){wI?AsGB]?Z!b_!iWE>Ly-{X@+c=psq+Tkd(EfSj-LjVaDlfISR@Chzw>JIr!V@B-pGS;zUJ?fzQ[B@qY+okH/ZBr[zj?/Z=HNhXPhDcqyJ_^Mw?SSi’); define(‘SECURE_AUTH_KEY’, ‘/ZN[[K]&{TPD<sEFVF{qV_J&|oWOD;iBo?kwql)l>U><[BAw(VdF[SXbEUbUPj;{{duP]+(LiUfXTN!-eBhBcC]MEkel&@m=&Bh(csl=T+jW<-?ilXI%=Fq(HeKOi@tC’);
    define(‘LOGGED_IN_KEY’, ‘i=x$x)-[QS-|exTwLXuAIHYi|GK({QN@hK=iZotTmRBG]Gg}qR&F//$kd(A>J!mOEVJq{ztUYzYHLxevYT><g!@=^&hKjPO%=vi{@->zpxcv@%OBcPT/(|^(Nn}|o’);
    define(‘NONCE_KEY’, ‘i)lN{B=xAzE]OmUKjmM/QS^WiM^L[YVK(;MALC!S^)swCplXc-+HuyosjcSdqRVtIzU](A@uRLYlySjd_aw?uSVcS;jdr!Dx>^]jNzBmb(]@gxa?Ao@rR]JT%=Bo{IlM’);
    define(‘AUTH_SALT’, 'Q$zuE|HwSA-$)IgZiX(MhIDUQRh^!uIQCS}BXE?iN@i%d}ogC@tApj@Y(WFM!DHh?l+bedyv|/Xl
    &dj<O=a$vvgUZRoL}<VaKR;CMD-;xzPHfWqmMNn=R+Nk!ixpTO’);
    define(‘SECURE_AUTH_SALT’, 'qdr^s!kcOIr-^QQRA+YXnK([Q-!TJ${bkTdaisFWw<!kY@fCX%ayXR>Ip[z
    E-@a/vyX(KfOiWVJ%c=sJnMaVc/LJHi[>iA)xEtKdu!mPA[JR->?WIZNqT_jpZN_KId’);
    define(‘LOGGED_IN_SALT’, 'MR}GIwytz]n_JY-btQQOu_
    ^dBc|qZp]FSwRr@Cm>pTdjeM^X{{|WZY^TYVi]ZeRA?LE=$QHgPp%gqso$K)X}}TtO^x%MIO%sz+TLYkfgM+x;?M-Pbg}Ak<ZMgZ>=l_’);
    define(‘NONCE_SALT’, 'h_yeSOB
    ^xVPLL@Xs(U(duQFkycrVKGZ(dA&XV&qlm!NZ;S&}SDJu/FNFOgdZo;ghlK_S[+Sd|dn!os!!u<GmwuRwhDIEqD|pgWNHW/nxtM)L<lWp**nvsFyczHMRC’);

/**#@-*/

/**

  • WordPress Database Table prefix.
  • You can have multiple installations in one database if you give each
  • a unique prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_qizz_’;

/**

  • For developers: WordPress debugging mode.
  • Change this to true to enable the display of notices during development.
  • It is strongly recommended that plugin and theme developers use WP_DEBUG
  • in their development environments.
  • For information on other constants that can be used for debugging,
  • visit the Codex.
  • @link https://codex.wordpress.org/Debugging_in_WordPress
    */
    define(‘WP_DEBUG’, false);

/* That’s all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(FILE) . ‘/’);

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);

Hello there,

I believe wp-config.php is fine. Did you get the .htaccess file?

Regards,
Kharis

Hi Kharis,

I don’t find any .htaccess file as shown in attached image.

http://www.theideashark.com/wp-content/uploads/2016/12/Screen-Shot-2016-12-23-at-1.02.15-PM.png

Any other solution to fix it?

Thank you for your help.

Bryan Chin

Hi Kharis,

I don’t find any .htaccess file in File manager as shown in attached image.

http://www.theideashark.com/wp-content/uploads/2016/12/Screen-Shot-2016-12-23-at-1.02.15-PM.png

Any other solution to fix it?

Thank you for your help.

Bryan Chin

Hi Kharis,

Please advice.

Thank you

Bryan Chin

Hi,

These are the CSS code input in the CSS code -> Appearance -> Additional CSS.
1)Can you help me to check any code that cause the link broken?

.header-image {
z-index: -1;
}

.widget_categories li.cat-item-36,
.widget_categories li.cat-item-28 {
display: none;
}

h2.maintitle {
font-size:60px !important;
line-height:60px !important;
}

.subtitle {
font-size: 30px !important;
line-height: 50px !important;
}

/No header images slider/
.header-slider .slides-container .slide-item {
background-image: none !important;
opacity: 1 !important;
}

.header-slider .slides-container .slide-item {
background-image: url("http://www.theideashark.com/wp-content/uploads/2016/12/colorful-rocks-1674179-1.jpg ") !important;
}

  1. These are the CSS code input in the CSS code -> Appearance -> custom CSS. Can you help me to check any code that cause the link broken?

.header-image {
z-index: -1;
}
@media only screen and (max-width: 767px) {
header#masthead div.col-md-4.col-sm-8.col-xs-12,
header#masthead div.col-md-8.col-sm-4.col-xs-12 {
width: auto;
}

header#masthead div.col-md-8.col-sm-4.col-xs-12 {
float: right;
padding: 10px 30px;
}

header#masthead nav#mainnav-mobi {
    left: -194px;
    width: 250px;
}

}

/* menu title font size*/
.hentry .title-post{
font-size: 30px;

}

.site-header {
background-color: rgba(0,0,0,0.8);
}

@media only screen and (max-width: 480px) {
.site-logo {
max-width: 260px !important;
}
}

/* Header background colour and level of transparency */
.site-header {
background-color: rgba(0,0,0,0.8);

}

.site-header.float-header {
background-color: rgba(0,0,0,0.8);

}

/* Mobile menu background */
#mainnav-mobi {
background-color: #000000;
opacity: 0.8;
font-size: 20px;
color:#d65050

}

/Menu Ttile colour for mobile view/
#mainnav-mobi ul li a,
#mainnav-mobi ul li:before {
color: #ffffff;
}

/Menu Border line colour/
#mainnav-mobi ul li {
border-color: #000000;

}

/Menu title colour for desktop view/
#mainnav ul li a,
#mainnav ul li:before {
color: #ffffff;
}

#mainnav ul li a:hover {
color: #d65050;
}

/Menu Bar colour/
.btn-menu{
color: #ffffff;
}

/site header fixed in mobile view/
@media only screen and (max-width:991px){

.site-header,
.site-header.fixed{
position: absolute !important;
}

}

/No header background and change menu bar colour for mobile view only/
@media only screen and (max-width:991px){

.site-header,

.site-header.fixed{

position: absolute !important;

}

.site-header{

background: transparent !important;

}
.btn-menu{
color: #ffffff;
}

}

Hi Kharis,

May I know any other advice there? Your prompt reply is much appreciated.

Thank you

Bryan Chin