The Nginx reverse proxy routes to the upstream backend keyword for inner pages

I use Nginx to get requests from the client and then forward them to Lack and then to the Apache server.
I have two problems: First, my resources, e.g. B. CSS, etc., not loaded.
Second, my inner page application goes in the wrong URL.
Example: should load resources, but this is not the case.
Second, you should go from to when you click the login request, but it goes to http: // backend / admin / login

Any body, please help me? I am new to Nginx.

Disable the Adsense ad code in 404 deleted posts and pages

I recently deleted some older posts. Now the AdSense crawler shows an ongoing error, so I used code to block AdSense on 404 pages.

I found an online solution

The PHP code snippet that hides / blocks Adsense ads on 404 is:

Add your ADSENSE code here

Note: The logic of the code is to run Adsense on all pages except the 404s!

And paste the following code into the functions.php file.

add_filter ("widget_text", "execute_php", 100);
Function execute_php ($ html) {
if (strpos ($ html, ”)<“.”?php”)!==false){ ob_start(); eval(“?”.”>”. $ Html);
$ html = ob_get_contents ();
ob_end_clean ();
return $ html;

(This code triggers an error —- Your PHP code changes were reset due to an error in line 123 of the file wp-content / theme / generatepress / functions.php. Please correct and try again to save.

Syntax error, unexpected & # 39;) & # 39;

magento2 – problems sorting pages index google

I currently have the multilayer navigation extension mageplaza on my website in Magento 2.2.9 and have a problem:

Google indexes all filter pages. I blocked some of them via robots.txt, but I definitely stay indexed, but I don't know how they blocked because they have a different scheme:
https: //mysite/lang/category/104-251-82.html

I don't know how to block them in robots.txt

Can you help me? Because these pages are indexed but are of no use to users.

Thanks in advance!


Officially – – $ 25 CPM | 30% Refferal | Weekly payments LOW PAGES (NEW) | 10 clicks / IP | Proxies-free

(Please read the article carefully.).

Average CUTEARN.NET CPM (we count 10 clicks per IP).

  • We pay for all legitimate visitors who are not allowed to fake & bot traffic due to your shortened URL. (All other Traffic is allowed like faucet, +18, etc.).
  • You will receive a recommendation for each invited user 30% of their income for life.
  • Minimum withdrawal is $ 5. We pay every weekend through PayPal, Skrill & BTC.
  • CPM rate up to $ 25 per 1000 views

What does it mean that we count? 10th Clicks per IP?.

This means that if a user in this shortener goes through a URL three, five or ten times within 24 hours, the three, five or even ten clicks are counted so that your income can be multiplied by 10 On the website, you can earn up to $ 250 per 1000 visitors.
If a user submits a URL more than once within a 24-hour period, only one click is counted for other curters.

Therefore you have to use CUTEARN.NET.

Payment methods:: Paypal, Payeer and Bitcoin.
Payout frequency:: We pay every weekend (Remember to retire before the weekend to recharge this weekend).

Other features:
• • Modern & minimalist design
• • 24/7 support via Livechat, Mail & Twitter
• • Support in English, France and Spanish
• • Our customers always come first 🙂
• • Clear and modern dashboard
• • Detailed statistics
• • API

Check our payout rates!
(This is the best link you can find shorter, and there are no annoying ads (like +18 banners or massive popups).


Package description / country Result per 1000 views
Desktop Mobile phone / tablet
Andorra $ 25,000 $ 25,000
Great Britain $ 12,000 $ 12,000
Australia $ 12,000 $ 12,000
Netherlands $ 9,000 $ 9,000
Canada $ 8,000 $ 8,000
India $ 6,000 $ 6,000
United States $ 5,000 $ 5,000
France $ 5,000 $ 5,000
Iceland $ 5,000 $ 5,000
Spain $ 5,000 $ 5,000
Belgium $ 5,000 $ 5,000
Norway $ 4,000 $ 4,000
Indonesia $ 4,000 $ 4,000
Italy $ 3,000 $ 3,000
Brazil $ 3,000 $ 3,000
Germany $ 3,000 $ 3,000
Algeria $ 3,000 $ 3,000
Sweden $ 3,000 $ 3,000
Morocco $ 3,000 $ 3,000
Philippines $ 3,000 $ 3,000
Worldwide deal (all countries) $ 2,500 $ 2,500

Note: Our payout rates are dynamic and depend on the advertising revenue we receive. Therefore, prices can sometimes rise / fall in some countries.

7 – How do I separate the upload of user profile pictures from the basic form in Pages?

I activated that user_edit Form in the page manager and added my account fields, but the settings for username, password, time zone, language and image always remain in the basic form. How can I separate those so that I have control over where they go in the final form that the user sees?

Filters – How can certain pages be excluded from WordPress search results?

I just want to see today's events and upcoming events in worpdress search results for each post in the "Events" category. This is my code and it doesn't work. The events that have ended will still appear in the search results.

function du_filter_search($query){
   if ( ! is_admin() && is_category( 'events' ) && $query->is_main_query() && is_search() ) {
        $query->set( 'meta_key', 'endDate' );
        $query->set( 'meta_query', array(
                'key'     => 'endDate',
                'value'   => date('Y-m-d H:i:s'),
                'compare' => '>=',                
                'type'    => 'DATETIME',
        ) );
add_action( 'pre_get_posts', 'du_filter_search' );

Please help. Thanks a lot.

Add a custom admin menu item for pages using a specific template

I want to add a new custom menu item to the WordPress admin sidebar that displays pages that use a specific template. For example, a group of pages that uses the Retailer Sendout template (page-Retailer-sendout.php) is displayed under the top-level Standard Pages menu item.

I've tried the following URL combinations, but none of them have worked so far.

I've also tested some plugins to customize the admin menu, but they don't offer a way to create links to pages with a specific template name.

I'm happy with adding a custom function to the theme's functions.php file, but I don't know where to start.

Any help is greatly appreciated.

git – Upload files to github pages

I have the following problem:
I upload my files to Github pages using the console. Almost the entire page works, except for a link that is in the folder shown in the screenshot.FOLDER LOGO CAPTURE

Someone who can tell me how to solve it so that I can display the content in this folder on github pages please.

Thank you very much

theming – image is not displayed on some pages with the same src

I have a custom block where I displayed an image. It works well on all pages except the login and registration page. If I inspect the element on the login page and add "/" in scr before the image path, the image becomes visible.

On the other pages, the picture has no problem with the following code.

However, it does not appear on the login page with the src above. and need one / before the path.

Why it works on some pages and why not on the login page with a / in the path.

Should the browser page contain both modalities and pages?

I'm looking for best practice advice.

If you are currently using the "Back" button of the browser, not only pages but also all the modalities used will be displayed on our website. If the modalities were part of a "series" (e.g. three consecutive modalities for collecting information), the first modal in the series is displayed.

Personally, I think it's confusing because the context for the modal can get lost – because the context is developed through a forward journey. However, I have no idea what would be considered best practice.

Does anyone have any advice?

Thank you very much