×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "block"; document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Search
Programming, development, testing
→
.htaccess file (commands)
→
Redirect (redirect from one page to another page) in the .htaccess
Looked at
2972
times
Redirect (redirect from one page to another page) in the .htaccess
last updated: 5 February 2020
Redirect
way1
way2
Description
way1
relative path starting with a symbol
/
way2
www address beginner with
http://
Example
File
.htaccess
Redirect
/koncert/detskiy_konkurs/index.php
https:
//dir.by/koncert/konkurs_nagrazhdeniya/index.php
Explanation
Redirect
https://dir.by/koncert/detskiy_konkurs/index.php
on
https://dir.by/koncert/koncert/konkurs_nagrazhdeniya/index.php
← Previous topic
DirectoryIndex (main page for directory) in the .htaccess
Next topic →
RewriteRule (redirect from a group of pages to another page) in the .htaccess
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Объявления
Объявления
•
DirectoryIndex (main page for directory) in the .htaccess
•
Redirect (redirect from one page to another page) in the .htaccess
•
RewriteRule (redirect from a group of pages to another page) in the .htaccess
Ваши вопросы присылайте по почте:
info@dir.by