seo – Can the same URL be used for multiple languages and still rank in search engines?

A web rule is that the same URL shouldn’t provide different contents, even the same thing in different languages. To do so, the locale should be in the URL. However, some websites ignore that rule, Youtube for instance.
So I’d like to understand a few things about that:

  • Are there consequences if we ignore that rule for translation? (like SEO wise)
  • What does Youtube do to avoid these consequences?

To give a context, I don’t really want to use different URLs, I’d rather use the header Accept-language header, or a user setting if it exists. I’m using Symfony.

Adding Author URL to Nav Menu via Shortcode

I’m looking to add the Author URL to the Nav Menu via a shortcode.

Here’s the shortcode I registered:

add_shortcode( 'author_url', function() {
    return get_author_posts_url( get_current_user_id() );
} );

After registering the shortcode, I tried using this plugin to add it to the nav menu: https://wordpress.org/plugins/shortcode-in-menus/

However, the shortcode output is https//mysite.local on my localhost

Notice how it’s lacking the ‘:’ after the https.

What’s going on, and how can I fix this?

Thanks!

uri – Add to Cal: Parsing content to URL in Outlook add to calendar keeps the + signs used to replace spaces

Parsing content to URL in Outlook add to calendar keeps the + signs used to replace spaces in the Calendar still when Calendar is opened.

Steps to reproduce
From the front-end:
Click Add to Calendar
Pick “Outlook.com”
It takes you to the tab to add the event to your calendar.
You will see the + signs in place of spaces in the title, description, location fields

I have tried using:
$title = str_replace(‘+’, ‘%20’, $title);

But the above solution didn’t work.

Any help or point to the right direction will be great. Thanks!

rewrite rules – How to fix URL segment conflict from page and post type URL?

I have two different pages like,

1 :- http://example.com/notebook/note-name-x/ // Real Page
2 :- http://example.com/resource/note-description-x/ // Created by post type

Then i have changed second link URL to,

http://example.com/notebook/note-name-x/note-description-x/

by using,

function nb_add_rewrite_rules( $rules ) {
  $new = array();
  $new('notebook/((^/)+)/(.+)/?$') = 'index.php?nb_post_type=$matches(2)';
  $new('notebook/(.+)/?$') = 'index.php?nb_post_taxo=$matches(1)';

  return array_merge( $new, $rules );
}
add_filter( 'rewrite_rules_array', 'nb_add_rewrite_rules' );

But due to this change my first page content is not displaying properly due to second segment notebook conflict.

How can this be solved?

Forward domain to a specific port and IP while using the forwarded domain in the URL

I have 2 domains. One is hosted with google domains and the other with Namecheap. I don’t really care which one I use as the primary or if I even end up using 2 for my purposes.

I would like to be able to do sub.domain.example and have it hit a IP using a certain port. Google domains will let me do this from 1 domain to another but it shows the hand off. So I go to sub.domain.example and it shows my redirect in the address bar as domain2.example:1234.

I want it to just stay in the address bar as sub.domain.example but hit my IP using the specific port and do a different port for a different sub.

I have an SSL cert rolling on 1 domain and google will make one on the other one easily.

I think I need a SRV record but I cant seem to get it to work.

Repeating keyword twice in a URL effects SEO or not? [duplicate]

What will be the correct format for my URL (Here, I am trying to target the keyword ‘abcxyz’):

www.abcxyz.com/abc-xyz.php/……………….

www.abcxyz.com/custom-abc-xyz.php/…………

Please suggest if any one is correct or not for my website?

Create unique URL for google form when redirected from a survey platform

I am trying to host a survey. In thank you page I require interested participants to click on a link that redirects them to a google form where they have to provide their contact information. However, I want the URL generated on clicking the link on survey thank you page to be unique. This would ensure that participants who have not taken the survey cannot access the google form. How can we achieve this?

seo – Will it hurt if I redirect the desktop version of URL to AMP pages for mobile

I run a website called https://vimarsana.com

For desktop version we have https://vimarsana.com/listing/india and corresponding amp pages is https://vimarsana.com/amplist/india.

When a request comes from mobile, we automatically redirect the desktop version of the page to amppage. Below are the thoughts.

  1. Do we need to redirect the page and it is showing as 302 in google webmasters.
  2. Else show the amp page in the same url ?

Please share your SEO thoughts.

url – Domain forwarding – Webmasters Stack Exchange

I’m trying to get back into this as I’ve found a personal use.

I have 2 domains. One is hosted with google domains and the other with namecheap.

I dont really care which one I use as the primary or if I even end up using 2 for my purposes.

I would like to be able to do sub.domain.com and have it hit a IP using a certain port. Google domains will let me do this from 1 domain to another but it shows the hand off. So I go to sub.domain.com and it shows my redirect in the address bar as domain2.com:1234.

I want it to just stay in the address bar as sub.domain.com but hit my IP using the specific port and do a different port for a different sub.

I have an ssl cert rolling on 1 domain and google will make one on the other one easily.

I think I need a SRV record but I cant seem to get it to work.

Any help is appreciated.

seo – Hit by DMCA removal from Google Search for a URL that is not indexed

The site in question has been removed from Google index for over 10 months because of a penalty. Therefore, the site does not appear in the search results. But I got a DMCA notice from Google anyway.

This particular page where the allegedly illegal content is hosted is new, and has never been indexed by Google before the site de-index. Google has no idea that the page exists. The allegedly copyright owner has found the page by visiting the site and automatically assumed it is on Google.

I imagine I have 3 options:

  • Send a counter-notice to Google to reinstate (?) a page that is not even on its index (I have the legal base to send a counter-notice);
  • Send a notice to Google explaining that the page is not on its index. I don’t know if this should be a counter-notice, and I don’t know if Google is even going to do anything;
  • Ignore everything;

Any suggestion on this situation? We are trying to recover from the penalty, and we don’t want to do anything wrong regarding to Google.