salam,mən domen alıb qurduğum hostinqə yönləndirdim,lakin yönlənən hostinq bu şəkildədir “example.com”,mənim qurduğum sayt isə belə “example.com/vvordpress” indi necə edə bilərəm ki yönlənmə birbaşa “example.com/vvordpress şəklində olsun?
salam,mən domen alıb qurduğum hostinqə yönləndirdim,lakin yönlənən hostinq bu şəkildədir “example.com”,mənim qurduğum sayt isə belə “example.com/vvordpress” indi necə edə bilərəm ki yönlənmə birbaşa “example.com/vvordpress şəklində olsun?
Verilmiş cavablar və yazılan şərhlər (5 cavab var)
-1
salam. əsas papkada index.phpyə bunu yazın
1
<?php header('location: vvordpress'); ?>
-1
index.php bu formadadadır. indi bunu hara əlavə edim?
-1
1
<?php
2
/**
3
* Front to the WordPress application. This file doesn't do anything, but loads
4
* wp-blog-header.php which does and tells WordPress to load the theme.
5
*
6
* @package WordPress
7
*/
8
9
/**
10
* Tells WordPress to load the WordPress theme and output it.
11
*
12
* @var bool
13
*/
14
define('WP_USE_THEMES', true);
15
16
/** Loads the WordPress Environment and Template */
17
require('./wp-blog-header.php');
18
?>
1
bunu vvordpresin indeksinə atmaq lazım deyil. ayrıca bir index.php yaradın. Həmin index.php ni atın public_html qovluğuna.
-1
aha indi hərşey aydındı.Təşəkkürlər hər birinizə
Sual verin
Cavab verin