dewinbrush
Forum Replies Created
-
your comment is pretty amateur. you don’t have any idea what I shared with you.
Anyway, I solved the problem.
I’m using variables to change default CPT in WP with OPTON ADMIN page for redefine titles and slugs. I guess you didn’t check screenshots.
1- please Check first
you will see software-sitemap.xml (eventhough i redefined slug, default slug(s) are brought by yoast in main sitemap_index.xml page instead of redefined slugs)
2- and please check this screenshot.
at second images, please check PERMALINK on Browser and see the Sitemap permalinks with yellow circles.
this result is when i click software-sitemap.xml (has to be ‘oyun’ because i redifened it and all permalinks xyz.com/oyun/abc not xyz.com/sotware/abc)
and let me know what is wrong between two screenshots
I guess code is clean, tell me is there any wrong logic? her the just one taxonomy variable.
/* — Add custom slug for taxonomy ‘software’ — */
if ( get_option( ‘cpt_software_slug’) ) {
function change_cpt_game_software_slug( $taxonomy, $object_type, $args ) {
if ( get_option( ‘cpt_software_slug’) ) {
$cpt_software_slug = get_option( ‘cpt_software_slug’, ‘software’ );
} else {$cpt_software_slug = ‘software’;
}if( ‘software’ == $taxonomy ) {
remove_action( current_action(), __FUNCTION__ );
$args[‘rewrite’] = array( ‘slug’ => $cpt_software_slug );
register_taxonomy( $taxonomy, $object_type, $args );
}}
add_action( ‘registered_taxonomy’, ‘change_cpt_game_software_slug’, 10, 3 );}
Already permalinks and internal pages works correctly. Just problem is Yoast not detect defined taxonomy names or slugs, but yoast brings defined permalinks şb sitemap_index.xml under the CPT types
I guess Yoast logic on registered taxonomy with ‘register_taxonomy’
register_taxonomy(‘software’, ‘games’, $args);
- This reply was modified 5 years, 6 months ago by dewinbrush.
- This reply was modified 5 years, 6 months ago by dewinbrush.
- This reply was modified 5 years, 6 months ago by dewinbrush.
I just want to understand its logic. Am I wrong? Or is this a seo plugin and am I wrong in the section that should support seo? After all, I’ve been using yoast on every site for over 3 years. Moreover, there are about 30 sites where we use the pro version and the sites that I have made are used by people. I am currently seeing the same problem with each of them I never faced this issue before
- This reply was modified 5 years, 6 months ago by dewinbrush.
1- [img]https://i.imgur.com/AFtxtNR.jpg[/img]
as you can see changed Slugs for native languages that we are changing2- [img]https://i.imgur.com/Vd1J1cY.jpg[/img]
that sitemap_index shows still native slugs3-[img]https://i.imgur.com/x5TtZfy.jpg[/img]
when you click native sitemap type.xml it shows correct slugs of defined CPT slugsecond steps base sitemap_index.xml in my view not correct
[deleted_post] = ? what is meaning?
Forum: Plugins
In reply to: [LiteSpeed Cache] Error after update to v3: Failed to create table cssjs!Same error, I just update Cpanel and I update litespeed. And I don’t have CSS/jss minify settings page in Litespeed
Forum: Plugins
In reply to: [LiteSpeed Cache] GEO CACHEHello Again, some tuning and configuration at server-side part, Think now system seems working
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|RU|TR|MT|DE|AT|AU|US|FR|IR|NL)$
RewriteRule .* – [E=Cache-Control:vary=%{ENV:GEOIP_COUNTRY_CODE}]Just US not working because US has Subdivision STATE geolocation detection at background. I’m trying to configure subdivision part with country code at the same time.
Forum: Plugins
In reply to: [LiteSpeed Cache] GEO CACHEHonestly nor Cookie Neither Server-Side module i guess we can call it.
Just I’m using GeoIP plugin to detect IP of customer with GeoLocation.MDB and I’m using different content for each geo loction countries with this variable
<?php if (function_exists(‘geoip_detect2_get_info_from_current_ip’)) { ?>
<?php $userInfo = geoip_detect2_get_info_from_current_ip(); ?>
<?php if ($userInfo->country->isoCode == ‘AT’) { ?>
<?php if( have_rows(‘austria_geo_target_deal’, $bonus->ID) ): ?>
<?php while ( have_rows(‘austria_geo_target_deal’, $bonus->ID) ) : the_row(); ?>
<?php if( get_row_layout() == ‘austria_geo_deal’ ): ?>
<?php include( plugin_dir_path( __FILE__ ) . ‘frontpage_advert_list_compile.php’); ?>
<?php else : ?>
<?php include( plugin_dir_path( __FILE__ ) . ‘frontpage_advert_list_default.php’); ?>
<?php endif; ?>
<?php endwhile; ?>
<?php else : ?>
<?php include( plugin_dir_path( __FILE__ ) . ‘frontpage_advert_list_default.php’); ?>This reason Cache is just asking this request at php side and store it. After then when people comes from another countries, it is not working. last shown cached page bringing to other worldwide people. I tried to use htacces code which you send me at server-side part. its not working.
Also I’m using Cloudflare. Also i disable it but didn’t change. I’M trying to understand and to find solution for it.
Simply I’m using ACF and each country has different POST ORDER list at custom post types and each posts has different content or variables.
Its like for example
JAPAN has Different post order list / XYZ Brand comes as first at page, at INDIA, XYZ Brand comes as third one at list. Also COMMISION of item is for example %12 for JAPAN user and %10 for AUSTRIA user. This reason This PHP ACF IF/ELSE statements are working at background to bring specific fields for each post and each taxonomy part
Forum: Plugins
In reply to: [Auto Post Scheduler] Recycle Pending Status need!🙂 you right
Let me explain detailed.
1- I’m using Wp Auto to fetch data from RSS.
2- I’m using convert custom post types permalink with Permalink Pro to remove REGISTERED POST or SLUG.For example:
// CPT=news_post
// cpt_taxonomy=news_categorynormally WP logic working
// domain.com/news_post(or if defined slug)/postname
however I’m changing rewrites and converting like
// domain.com/%news_category%/%post_name%-%post_id%
and it is seems
// domain.com/sports-news/best-football-teams
instead of
// domain.com/news/best-football-teamsat this time only problem was removing post_registered name from permalinks.
Permalink Pro working perfectly. however When i fetching RSS data via WP Auto into system, Permalink is not hooking and posts fetching without %category_name% and it seems
// domain.com/best-football-teams
I tried to use Cron to update however Cron is not like wp_insert_post.After than i found this plugin. I’m fetching data as a Draft via wp-auto. Posts comes as DRAFT. Then I activated Auto Publish to change status from DRAFT to PUBLISH. I was thinking to Write post however just status is changing. But if i Update posts manually, permalink pro detecting action and it is changing permalinks.
Weird thing is When i activated RECYCLE methods at AUTO publish. All posts are updating correctly however i just want to recycle just DRAFT status instead of PUBLISHED post. Because of NEWS are can not recycled. This action is not good for 2018 news to move it now.
Honestly I’m checking your codes to understand and to solve problem to make different idea but i didn’t do anything else.
- This reply was modified 6 years, 11 months ago by dewinbrush.
- This reply was modified 6 years, 11 months ago by dewinbrush.
Forum: Plugins
In reply to: [AJAX Login and Registration modal popup + inline form] Before LoginIf you are using Bootstrap with Overflow-x:hidden to hackish to force side column bar materials to use Sticky with Full width Background in Content with Column(not Full-Width or conten-fluid)
Problem is solving with this line clean up…
At “lrm-core-compiled.css”
html.html-has-lrm{
overflow:auto!important
}Remove This Line