## Dynamic URL with rewrite rule not working

Question
I'm trying to update my link from this: https://dev.brunchwork.com/next-event/?eb_event_id=106098978902 To this: https://dev.brunchwork.com/next-event/[guest_name_here]/[event_id_here] Following this discussion, I was able to come up with this code: In my functions.php: /*rewrite rule*/ function custom_rewrite_rule() { add_rewrite_rule('^next-event/([^/]*)/([^/]*)/?','index.php?page_id=69&guest_name=$matches[1]&event_id=$matches[2]','top'); } add_action('init', 'custom_rewrite_rule', 10, ...
0
5 hours 0 Answers 4 views

## google search console excluded urls [closed]

Question
I submitted sitemap in google search console. Now in coverage it shows 190 excluded urls. Why google excludes url and how to reduce or minimize excluded urls? why google doesn't want to indexed that pages?
0
12 hours 0 Answers 2 views

## Current WordPress Page Title as Search Parameter into A Tag

Question
i would like to include an affiliate link as a widget which inserts the title of the respective page as search parameter. <a href="www.amazon.com/s?=titleofthepage">Link</a> I have already created a shortcode in the functions.php with get_the_title function post_title_shortcode(){ \$variable = get_the_title(); } add_shortcode('post_title','post_title_shortcode'); and it is called ...
0
3 days 0 Answers 10 views

## wp-admin remove part of the url

Question
This looks like wp-admin remove the subfolder URL but it's not the same problem, because the subfolder part is not a subfolder. I'm working on a clean VM as a host for Docker containers. I have a dockerized Wordpress listening ...
0
3 days 0 Answers 11 views

## How to force non English url slug share to be decoded when pasted?

Question
Is there any solution to copy and paste a non English letters URL and to see the actual decoded link instead the encoded one? Right now when you copy a link mysite.com/non-english-letters from the browser and paste it to facebook ...
0
4 days 0 Answers 11 views

## How to filter post content and force every link () made in blocks to return urldecode() with readable value?

Question
Will really appreciate your help with something. I'm using non English letters in my URL slugs. So every time I add an internal or external link with non English letters to my post (via blocks editor in WP) it becomes mysite.com/%d7%#t^%.... ...
0
4 days 0 Answers 10 views

## Why WordPress plugin url ajax doesn’t work?

Question
I need to send information to the plugin folder via ajax. Wordpress has a function for the link "plugin_dir_url (__ FILE__)" which works properly but if I put it in ajax it doesn't work. Function: plugin_dir_url (__ FILE__) = ...
0
4 days 0 Answers 15 views

## apply styling only to a specific url

Question
I want to apply styling only to a page with a specific URL(not id) in Wordpress. for example to .../something/events kindly suggest only PHP solutions, via funtion.php (not CSS id or class) I've tried different things but nothing has worked. thanks.
0
6 days 0 Answers 12 views

## URL re-direct (without changing the structure)

Question
On my site, when I go to www.example.com/aaa/bbbbbb/ and click on "ccccccccc", I get: www.example.com/aaa/bbbbbb/ccccccccc Instead, I need the URL to look like this: www.example.com/ccccccccc Without changing the structure in WP (I need it for breadcrumbs)
0
7 days 0 Answers 15 views

## WordPress get parameter ‘unapproved’ and ‘moderation-hash’

Question
I have a blog site. And I found a suspicious access to my blog post from log. The url format is like this. https://example.com/my-post/?unapproved=420&moderation-hash=847492149d817bf7e08d81457bf9952f And they access from several ips. What is their purpose?
0
1 week 0 Answers 15 views