Hi there, I want my site to use the language directory for all languages including the default language, only one site without the language directory I want to be the homepage, ie. I want hidden link instead of hidden link
I also want to get rid of this message: Polylang used to redirect traffic from hidden link to hidden link but WPML isn't doing this. If you have incoming links to hidden link, you should redirect this traffic to your site's root. To do this, add the following line to your .htaccess file:
RedirectMatch 301 /cs/$ hidden link
While waiting for one of my colleagues to help you, please review the following:
Unfortunately when using the feature "Use directory for default language" it will apply to all pages. There is no option to skip a specific page such as the homepage for example.
Regarding the redirect warning coming from RankMath, you should be able to either Dismiss the nottice or add the code provided by them in the notice to the .htaccess file.
The topic ‘[Closed] Hide default language directory on the homepage only’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.