Jump to content

Changing 'models' urls and text to 'experts'?


Recommended Posts

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.

  • Like 1
Link to comment
Share on other sites

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 by Helmuts DNMUM.com
Link to comment
Share on other sites

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]

 

  • Thanks 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...