.htaccess tag

27 questions


3 answers
75 views
0
I want to set up a setting that does not transfer only certain directories.

Thank you for your help.I would like to set up a setting that does not transfer only certain directories, but the following description of htaccess does not work.I don't transfer only the word press m...

1 years ago

1 answers
52 views
0
301 Redirect Code Writing Instructions

301 I am trying to find out how to write the redirect code, but I have some questions.The sample is to redirect http://example.com to http://www.example.comRewriteEngine onRewriteCond%{HTTP_HOST}^exam...

1 years ago

2 answers
71 views
0
I want PHP to dynamically control the IP address of .htaccess

Current State·Debug.php is set to be accessible only from the IP address of the administrator(Provider contract with irregular IP address changes)·If the IP address is changed, you will not be able to...

1 years ago

1 answers
44 views
0
Redirect destination is different depending on the presence or absence of a trailing slash.

I am trying to redirect it by writing it in .htaccess.The directory configuration is as follows, and the URL is accessible by /site/aaa or /site/bbb.site └-- aaaa directory └-- bbbb directoryWhat do y...

1 years ago

2 answers
49 views
0
I have a question about creating a .htaccess file.

I'd like to redirect the mirror site to a legitimate site with .htaccess.When I created it in the htaccess editor, I was told that the answer in the Search Console forum would not work.<Files~^\.(h...

1 years ago

2 answers
100 views
0
To detect https in htaccess on Sakura server

It may not be something to ask here.Sakura Server introduces its own ssl and wants to be unified with https and www, so I write redirects in htaccess.Redirect from http to httpsRewriteCond%{ENV:HTTPS}...

1 years ago

1 answers
47 views
0
[mod_rewrite] I don't want to open anything other than the specified file even if I access it with ".php".

Thank you for your help.The site you are currently managing is For example http://example.com/files/contentIn response to the request, you can use .htaccess.RewriteRule^files/([0-9A-Za-z_)]+)$1.php[QS...


1 answers
44 views
0
Redirect Loop Occurs in Wordpress

I would like to redirect the site with ?amp at the end of url when I access it with my smartphone, but when I access it with my smartphone, there is a loop.Could you tell me where the problem is?The c...

1 years ago

1 answers
70 views
0
How to omit the password for Basic authentication (how to log in only user name)

After setting it up in Apache's .htaccess as shown below, AuthType BasicAuthName OnlyAuthUserFile/dirname/.htpasswdRequire valid-userAs shown below, the .htpasswd file omitted the password only for th...

1 years ago

1 answers
101 views
0
How do I configure redirect?

What is the description of the redirect using .htaccess?I would like to redirect to 4) if there is access to 1) through 3). I would also like to include the path following /sp/ in the redirect target ...

1 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.