AJ Mallory
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Login & Logout RedirectHey John,
So for logins there is a filter you can apply called login_redirect it’s documented here: https://codex.www.ads-software.com/Plugin_API/Filter_Reference/login_redirect
and for logout: https://codex.www.ads-software.com/Plugin_API/Filter_Reference/logout_url
So you would need to write some code in your functions.php file (in your theme or create a plugin that adds the filters).
Hope that helps.
–AJForum: Hacks
In reply to: Is there a hook for user passwords during registration?Hi simbaclaws,
I would recommend taking a dive into the code to see if there are any hooks available that you could use. Looks like the place to start is wp-login.php in the root of the WordPress install. That code will probably lead you to wp-includes/user.php and also wp-includes/pluggable.php. I did find a filter in the wp_generate_password function called ‘random_password’ but this won’t help you if the user changes their password after the account is created.
It might be possible to write a new set of user create functions but I didn’t look to see if that is doable…
Hope this helps.
–AJForum: Fixing WordPress
In reply to: Login & Logout RedirectHey RONO2,
You pretty much need a plugin or to write some code. Can you be more specific on what you are trying to do? Where are you trying to redirect logins/out to?
–AJ
Forum: Fixing WordPress
In reply to: WordPress White Screen of Death Uncommon Cause?Hey fist9x,
I’m also seeing the blank page. I can load the readme.html file from the domain https://arturorodriguez.mx/readme.html so looks like the hosting is all working OK.
What is the current status of the theme and plugin renames?
I would rename the theme that you are using. Do you have any other theme’s installed?
At the same time I would rename the plugin directory. Is there a mu-plugins folder? If so I would rename that one as well.I’m assuming this is a single install and not multi site. You can enable error logging in your wp-config.php file and then check the logfile in wp-content/debug.log to see if there are any errors in there.
Add these lines to your wp-config.php file
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true );
Let us know what you get from this.
–AJ
Forum: Fixing WordPress
In reply to: Unable to upload or see images in Media Gallery and on the websiteHey rachparm,
Here is a link to one of you images:
src="https://moneyview.in/blog/wp-content/uploads/2016/03/Blog-02.png"
can you verify the file exists in the folder structure via cPanel or ftp?Has anything changed with your hosting recently? Permissions or .htaccess rules possibly?
Hope this helps you get this resoolvled.
–AJForum: Fixing WordPress
In reply to: Hide Empty TaxonomyHey WebStyley,
I think your issue is a typo on the first line of your code snippet. Try
$args = array( 'hide_empty' = 1, 'hierarchical' = 1 );
Hope that resolves it for you!
–AJForum: Hacks
In reply to: query only finds first 10 postsHey Benjamin,
The WordPress default is to return 10 posts per page and that sounds like what you are running into. There is a setting under Settings->Reading but it’s a global setting a will impact all post types.
A better way may be to add this line to your code just above your post_type on line three
'posts_per_page' => 15,
this will give you 15 so you can set it to however many you want. If you want all set it to -1.See this page for more details: https://codex.www.ads-software.com/Function_Reference/query_posts
Hope this answers your question.
–AJForum: Fixing WordPress
In reply to: New WordPress theme installed: ErrorsHey creativplatforms,
Your best bet here is to rename the theme folder. So if it’s called twentytwelve for example just rename it to be twentytwelve.old or xtwentytwelve for example. You’ll need access to FTP, ssh, or cPanel in order to do this.
Hope this helps!
–AJForum: Fixing WordPress
In reply to: Hide site from webHey MDC2957,
Depends on your needs but you might just need to install a maintenance plugin and turn on maintenance mode.
Cheers!
–AJForum: Everything else WordPress
In reply to: Difficulty with email to post abilityHey halotrytry,
I see what you mean here. .com recently changed their interface but the old one is still there. Near the bottom of the list in the admin section you will see WP Admin. Click that first and then follow the instructions you found and you should be all set.
In addition there is a dedicated support group for wordpress.com it’s at https://support.wordpress.com/
Best of luck to you!
–AJForum: Fixing WordPress
In reply to: Firefox redirect to wrong pageHi Savatage1984,
Not sure here. Have you tried clearing cookies in Chrome or FireFox? Gonna need more information to really help you.
Thanks,
AJForum: Fixing WordPress
In reply to: Error establishing a database connection – a 4.4.2 phenomenonsay _hello,
Need some more information here to help you. How are you doing the upgrade? Are you running the update function in WordPress or doing something else?
–AJ
Forum: Fixing WordPress
In reply to: Database RepairHey jinsin,
I would contact your hosting provider as it looks like there is an issue with your MySQL server. If this isn’t a hosted site but local you’ll need to look into your MySQL config. InnoDB is a component of MySQL.
Hope that helps!
–AJForum: Fixing WordPress
In reply to: Trouble duplicating site to sub-domain to create new siteHey benfigueiredo,
Multisite may make sense for you. There is a lot to consider here but I don’t know of another way to sure user base between sites. There might be a sync plugin or something but I’m not aware of anything.
Let us know what you end up doing.
–AJForum: Fixing WordPress
In reply to: No possibility to log in anymore via admin wordpressThis is what that file should look like so you may have been hacked or something…
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );
Try having a look at: https://codex.www.ads-software.com/FAQ_My_site_was_hacked
It should help you get started in determining if that is the case.
Sorry to be the bearer of bad news.
–AJ