Helmuts DNMUM.com Posted March 20, 2022 Share Posted March 20, 2022 Good evening, What would be the most correct to change the words "model" and "models" to "expert" and "experts"? We are using KVS to set up a tube site dedicated to domain investing. Tx, Helmuts Quote Link to comment Share on other sites More sharing options...
Tech Support Posted March 21, 2022 Share Posted March 21, 2022 Please go to Website UI -> Language files -> default. In the text editor you can do mass replace of "model" to "expert". This will also change URL patterns, so you need to do the same replacement in .htaccess file (via FTP client in your server document root). Finally please got to Settings -> Website Settings and change Model page URL pattern field accordingly. 1 Quote Link to comment Share on other sites More sharing options...
Helmuts DNMUM.com Posted March 21, 2022 Author Share Posted March 21, 2022 (edited) 31 minutes ago, Tech Support said: Please go to Website UI -> Language files -> default. In the text editor you can do mass replace of "model" to "expert". This will also change URL patterns, so you need to do the same replacement in .htaccess file (via FTP client in your server document root). Finally please got to Settings -> Website Settings and change Model page URL pattern field accordingly. Thank you Just in a case, do you mind sharing a sample of line in htaccess? .. just for the 1 url? Tx Edited March 21, 2022 by Helmuts DNMUM.com Quote Link to comment Share on other sites More sharing options...
Tech Support Posted March 21, 2022 Share Posted March 21, 2022 RewriteRule ^models/([0-9]+)/$ models_videos.php?from=$1 [L,QSA] RewriteRule ^models/$ models_videos.php [L,QSA] RewriteRule ^models/([^/]+)/([0-9]+)/$ videos_list.php?model=$1&from=$2 [L,QSA] RewriteRule ^models/([^/]+)/$ videos_list.php?model=$1 [L,QSA] Unfortunately it is not simply mass replace text in .htaccess, as you only need to change the first part - URL pattern. While the 2nd part should be left unchanged. Here is the result of what should be: RewriteRule ^experts/([0-9]+)/$ models_videos.php?from=$1 [L,QSA] RewriteRule ^experts/$ models_videos.php [L,QSA] RewriteRule ^experts/([^/]+)/([0-9]+)/$ videos_list.php?model=$1&from=$2 [L,QSA] RewriteRule ^experts/([^/]+)/$ videos_list.php?model=$1 [L,QSA] 1 Quote Link to comment Share on other sites More sharing options...
Helmuts DNMUM.com Posted March 22, 2022 Author Share Posted March 22, 2022 Thank you. This is exactly what I needed. Best wishes! Helmuts Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.