How to make some redirect

KRV

New Member
#1
I have problem: the URL-address on my website is available at two URLs: example.com/seo/ and example.com/.seo/
Please tell me how to make a redirect in Webadmin Console, that do automatic redirect from /.seo/ to /seo/
At the moment I can't understand why these doubles exist and how to find a solution.
I will be very grateful for any recommendation.
My configuration: OLS + CyberPanel + WordPress
 

KRV

New Member
#2
I see the same on other websites on OLS. Maybe its something bug??

Example double URLs (with dot and without dot) on websites used OLS

https://www.plesk.com/content-managers/
https://www.plesk.com/.content-managers/

https://админ.в-пути.рф/странный-яндекс/
https://админ.в-пути.рф/.странный-яндекс/

http://interactions.acm.org/archive/toc/january-february-2021
http://interactions.acm.org/archive/.toc/january-february-2021

Server should issue a 404 error for URL's with dot.
 
Last edited:

Pong

Administrator
#3
You can use rewrite rules in doc_root/.htaccess

Code:
RewriteRule \.seo\/(.*) /seo/$1
Make sure to restart OLS after .htaccess change.
 
Top