Remove “Page” from Category archive

In the backoffice of wordpress you can choose your own permalinks. In Settings > Permalinks, you will be able to change that by your own structure. You will have severals parameters, like %year%, %postname%, %author%, etc. You will have to choose for your example : example.com/blog/category/all/%postname% . The other idea, is maybe to create an … Read more

Pagination 404 error(I have refreshed the permalinks and tried several previous options)

I found the solution. First, in functions.php: function mg_news_pagination_rewrite() { add_rewrite_rule(get_option(‘category_base’).’/page/?([0-9]{1,})/?$’, ‘index.php? pagename=”.get_option(“category_base’).’&paged=$matches[1]’, ‘top’); } add_action(‘init’, ‘mg_news_pagination_rewrite’); and then in wordpress, settings> Permalinks changes must be saved

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)