Yogesh Thakkar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: /wp-admin: Sorry, you are not allowed to access this page.SOLVED!!!
Hi,
Here is the issue which is 99% are cause this problem. Please make sure you do follow following points.
1) DO NOT put capital letters in table prefix, in case you are working on local computer and planning to migrate.
2) If you do so, make sure after migration change table prefix in “wp-config.php” file to small caps.
3) because when you import database to phpmyadmin in convert table prefix to small.
4) FINAL SOLUTION, take backup of your database by exporting from phpmyadmin and keep a copy for safety. after that open database backup in any text editor(I use notepad++) and find and replace all CAPS on table prefix with small Caps by section of match case.
5) Now select your database from phpmyadmin and check all and drop them. After that import database which you have find-and-replaced in step 4 above.
Voila!!!
It’s work like a charm.
Hope it helps other.
Thanks,
YogiForum: Fixing WordPress
In reply to: remove portfolio url@sunny017 The theme you are using it has inbuilt modified plugin to change slug you can find solution here worked for me.
You just need to change this code
function prefix_change_portfolio_labels( array $args ) { $labels = array( 'name' => __( 'Projects', 'portfolioposttype' ), 'singular_name' => __( 'Project', 'portfolioposttype' ), 'add_new' => __( 'Add New Item', 'portfolioposttype' ), 'add_new_item' => __( 'Add New Project', 'portfolioposttype' ), 'edit_item' => __( 'Edit Project', 'portfolioposttype' ), 'new_item' => __( 'Add New Project', 'portfolioposttype' ), 'view_item' => __( 'View Item', 'portfolioposttype' ), 'search_items' => __( 'Search Projects', 'portfolioposttype' ), 'not_found' => __( 'No projects found', 'portfolioposttype' ), 'not_found_in_trash' => __( 'No projects found in trash', 'portfolioposttype' ), ); $args['labels'] = $labels; // Update project single permalink format, and archive slug as well. $args['rewrite'] = array( 'slug' => 'project' ); $args['has_archive'] = 'projects'; // Don't forget to visit Settings->Permalinks after changing these to flush the rewrite rules. return $args; }
“You do not have sufficient permissions to access this page.”
Same error here too.Forum: Fixing WordPress
In reply to: Getting "Cheating Huh?" error since 3.4 upgradethanks @cravecreative it works for me