Issue after changing permalink structure [duplicate]

You can use this query to generate the RewriteRules that you will need. Once generated the would go into your .htaccess file and need to be prepended with: RewriteEngine On RewriteBase / The following SQL output should setup rewrite rules for /postname/ to /category/postname/ based on what is in your database now. The trailing forward … Read more

Restrict Content for only Contributors via .htaccess

You can create a custom page template for downloads and use something similar to the following: if (current_user_can(‘contributor’)) { echo “<h2>Download Page</h2>”; } else { echo ‘You do not have access to this page”; } You would need additional code to show the file you are offering for download. Alternatively you could set another cookie … Read more

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