Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

regex

Home/ regex

php – regular expression to get all urls in a string except one url

Question
I have an array of urls urls = [ 'example.co.uk/nz', 'example.com/us', 'exclude.example.co.uk' ]; now I wanted to do some manipulations with the above 2 urls and want to skip the third. here is my code. function
0
Ashish rawat 2 weeks 0 Answers 0 views

sql – REGEXP_REPLACE in post_contet

Question
So, basically, I want to remove trailing slashes from specific domain urls. For example: https://www.something.com/here/postname/ into
0
Ivana Kruljac Beni 3 months 0 Answers 0 views

wp query – Block internal search queries with pre_get_posts and regex rules

Question
This relates to my previous question: Internal search spam (UPD: I no longer use Ivory Search) The closest quest
0
Terry 7 months 0 Answers 0 views

regex – Plugin’s htaccess rewrite rule not working. Should catch PDF file requests and route to script

Question
I've installed a plugin that adds this top part to the htaccess file. The problem is the rewrite regex isn't catching PDF requests like it should. The RewriteRule looks correct? But I'm not sure why it's not matching the regex. Can anyone spot anything w
0
Gavin 10 months 0 Answers 0 views

regex – Register GET REST API route with multiple parameters

Question
I'm trying to register a GET REST API route with multiple parameters with the following code: register_rest_route( 'myplugin/v1', '/posts/?number=(?P<number>[d]+)&amp;offset=(?P<offset>[d]+)&amp;total=(?P<total>[d
0
leemon 1 year 0 Answers 0 views
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • 404 error - Page not

    ...

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.