I
I
iplaton2019-03-24 19:30:28
Network administration
iplaton, 2019-03-24 19:30:28

Why does the hoster add a slash after the domain name?

I tried another hosting and all internal redirects on the site stopped working. If you need to go to the root of the site, then specify the link '/'. If the page '/page'. With a new hoster I have 'abc.de//' - an attempt to go to the root, a redirect to the page, respectively 'abc.de//page'
And why does he do this? Of course, you can rewrite all redirects to absolute addresses, but I would like to understand if the hoster is doing the right thing in this situation?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anatoly, 2019-03-24
@Tolly

What is a web server?
Do you have a CRM? Tried creating index.html and referencing (make hyperlinks in the document) to / or creating page.html and referencing /page.html

R
Ruslan Fedoseev, 2019-03-25
@martin74ua

edit your htaccess, your redirects are incorrectly described.

I
iplaton, 2019-03-25
@iplaton

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

what's the fix here?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question