## URL rewrite – Rewrite the question mark in the post template to make it look nice URL

I hope you are all doing well and staying safe during these times.

I was wondering if someone could help me figure out how to delete the question mark (?) In the url.

Please let me know what you think?

## How can I add my custom URL to URL rewrite in Magento 2?

I have my controller `https://local.mysite.com/brand/products/10` or `10` is the id brand, which works well.

How can I create a URL rewrite for the above `https://local.mysite.com/brand/products/mybrandcode.html`?

## optimization – How can I rewrite KKT so that it can be used with the Simplex method?

I have a qudratic programming problem

$$J_ {min}: frac {1} {2} x ^ TQx + c ^ Tx \ S.T \ Leq b \ x geq 0$$

But I only have one solver for linear programming using the simplex method.

$$J_ {max}: c ^ Tx \ S.T \ Ax leq b \ x geq 0$$

I have heard that if I change the simplex method it will minimize $$J_ {max}$$ instead of maximizing it. This is what we call the dual method. It is an easy change with some transpositions of the objective function.

But if I combine the Dual method with the KKT conditions. Then can I solve qudratic programming problems?

If yes: how to rewrite the KKT conditions so that they work with the Dual method?

If not: what did I miss? I know it is possible to use linear programming to solve qudratic programming.

## css – How could I rewrite this simple table without using a table? Have 2 divisions side by side and the one on the left being centered

I am trying to improve my skills. It's extremely simple to do what I want with a table like this

``````

Document

table { width: 500px; }

Thing_____
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

``````

However, I thought it would be easy to do without a table and I did not go near the broken text. It looks like a car accident. I was wondering if there was a simple way to do it without a table? or should i use a table even if it isn’t really a table?

``````

Document

.box {
width: 700px;
columns: 2;
}
.t {
display: inline-block;
}
p{
width: 500px
}

``````
Thing_____
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
``````

``````

## URL rewrite – How to replace the registered taxonomy URL of the provider plugin in the child theme

In a provider plugin, I got this:

``````        register_taxonomy( 'listing-region', 'listing', array( 'rewrite' => false, 'hierarchical' => true, 'label' => __( 'Regions', 'bt_plugin' ), 'singular_name' => __( 'Region', 'bt_plugin' ), 'show_admin_column' => true ) );
``````

To avoid locking the plugin update, I would like to overwrite the & # 39; rewrite & # 39; in the child theme to get this:

https://www.myexample.com/region/foo <=> https://www.myexample.com?listing-region=foo

How can I do this?

For now, I have tried this in functions.php:

``````function theme_child_custom_rewrite() {
//Ensure the \$wp_rewrite global is loaded
global \$wp_rewrite;
//Call flush_rules() as a method of the \$wp_rewrite object
\$wp_rewrite->flush_rules( false );
}

\$post = get_post(\$id);
if ( is_object( \$post ) ){
\$terms = wp_get_object_terms( \$post->ID, 'course' );
if( \$terms ){
return str_replace( '%listing-region%' , \$terms(0)->slug , \$post_link );
}
}
}
``````

## html – Can you put all the text in a static tag for SEO but completely rewrite the page with JavaScript?

Why is there initial text in the tags? If it is for SEO reasons, then it is hidden text and definitely a bad idea for SEO.

To answer your JS question, it is good to dynamically fill the text of your page with javascript. (Google spiders with Chrome and runs JS).

The problem is really the preexisting text and why it is there. Is it different from the text you add with JS? Is it rich in keywords?

## Nginx rewrite server name rule

If I want to do a rewrite rule on nginx:
Visit http: //*1.abc.com
* = any single character
301 will redirect http // f9.abc.com
so i created the following configuration:

``````server {
listen 80 ;
server_name ~^(.+?)1.abc.com\$;
rewrite ^/(.*) http://\$19.abc.com permanent;
}
``````

The URL will be rewritten at: http // 9.abc.com
An idea?

## Write an article optimized for SEO of 500 words on any niche for \$ 5

#### Write an article optimized for SEO of 500 words in any niche

Do you need optimized content for your blog? or do you just need some great articles that can help you better connect with your
public? I can do both! I am a creative writer who takes big
proud to develop only high quality content for a
I will write you interesting and compelling articles that will help you
your blog or website generates more traffic. These items would inspire quick engagement. My content is:

• 100% Copyscape guaranteed
• High quality
• From the conversation
• and SEO optimized

I can develop content in any niche of your choice, you just need to
clarifications or wish a personalized order, I will answer you as soon as possible. Thank you!

.

## magento2 – URL rewrite table has rights for categories and products which are not in catalog_category_entity_varchar

I encountered a problem between categories and URL rewrites after migrating a project from magento 1 to magento 2.
At the moment, I have conflicts when I work with products. I started looking for the reason and noticed that in the table database `catalog_category_entity_varchar` in the values ​​column, i don't have many categories that exist in the url rewrite table. Is there a way to display all the existing URL keys and regenerate them in the URL rewrite table, and delete all unnecessary URL rewrites?

Example:

## How to rewrite the way my sight lines are displayed

I have created a view and added three fields. A title, a link and an image.
When adding the image, I defined the formatter as the URL for the image.

How do I rewrite my in my views so that each recipe can have the thumbnail as a background image instead?

In a way, each line of sight should be structured as follows:

``````
{{ title }}
{{ content }}

``````

Is there a way to do this in my model?
Note: The only closed question to mine that I found is here