.htaccess tag

27 questions


3 answers
95 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...

2 years ago

1 answers
67 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...

2 years ago

2 answers
91 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...

2 years ago

1 answers
60 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...

2 years ago

2 answers
66 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...

2 years ago

2 answers
134 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}...

2 years ago

1 answers
64 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
59 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...

2 years ago

1 answers
94 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...

2 years ago

1 answers
135 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 ...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.