Сделайте опцию, чтобы блокировало прямые переходы на сайт.А то бомбят и не знаю как заблокировать.
Hi,
My client’s website is currently down because the plugin doesn’t handle a missing .htaccess very well. You may want to fix this in a future update.
Hi, before I activate an allow from only one url directive I would like to know if I will still be able to login into my website to change/modify it in the future.
thanks
]]>I have two WP installations on one domain and two folders.
How to get rid of the WP installation folder > watercolorpainting.com/watercolor-painting-tutorials/ without moving the wordpress installation to the root domain?
The .htaccess rewrite rule is the following:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /watercolor-painting-tutorials/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /watercolor-painting-tutorials/index.php [L]
</IfModule>
I want my links without the WP folder like this:
watercolorpainting.com/for-beginners/
not like this: watercolorpainting.com/watercolor-painting-tutorials/for-beginners/
The solutions I found doesn′t fix my problem, because I have already an existing WP installation on the root with following .htaccess rewrite rules:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Can someone help me? Thanks!
]]>I have created a new website using WordPress. The original website was built using Joomla and was very messy. The Joomla install has now been deleted and the website is running fine on the wordpress install. There was not a lot of content on the original site (before creating the new site I used https://www.xml-sitemaps.com to create a site map) there is about 40.
What I would like to do is redirect some of those joomla urls to a relevant page on the new site as some of the search terms when typed into Google still list the old URL and when clicked still go to the current site but with an obvious 404.
I have done simple directs in htacess before e.g Redirect 301 /cat/bakeware/ceramic-bowls/pudding-basins/ /cat/bakeware/ceramic-bowls/ however this one has me stumped. I have tried the “online redirect generator” but no joy.
Here is an example of the current url https://www.website.com/index/?option=com_content&view=article&id=59:isis-bay-system-7&catid=23:gamma&Itemid=156
where I would like to redirect it to is https://www.website.com/products/safety-equipment/
Any help would be very much appreciated
Richard
my current htaccess looks like this
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# Browser Caching
FileETag MTime Size
<IfModule expires_module>
ExpiresActive on
ExpiresDefault “access plus 1 week”
</IfModule>
# 1 Month for most static assets
<filesMatch “.(css|jpg|jpeg|png|gif|js|ico)$”>
Header set Cache-Control “max-age=2592000, public”
</filesMatch>
# END WordPress
# Wordfence WAF
<IfModule mod_suphp.c>
suPHP_ConfigPath ‘/www/sites/310/f06/www.ndtelectronicservices.com/web’
</IfModule>
<Files “.user.ini”>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>
# END Wordfence WAF
]]>My problem started when I tried adding the MyBB forum plugin to my website. I got to the step where it told me to CHMOD 666 certain files. I didn’t know what that meant, but figured it out. Now my entire site brings up a 403 forbidden error – not just on my computer either. Because of a lack of time to work on the problem, a month or more has passed and I have no idea what files I messed with or what is causing this 403 error. I go to the file listed on the error screen and the permission is at 644, along with all the other files I checked. I remembered something about an .htaccess file, but it wasn’t in my directory. I created a new one and whenever I rename it to .htaccess it disappears.
How can I get my page back to normal?
]]>Hi,
When I’ve created a .htaccess file, all url show :403 forbidden You don’t have permission to access / on this server.
What can i do?
I’m managing a site that has articles with paths / strings like:
https://www.domain.com/article.asp?aid=13843&iid=430&sud=42
I need all of those articles to go to:
https://archive.domain.com/article.asp?aid=13843&iid=430&sud=42
I need to do this otherwise articles from the old site won’t be found and a 404 page or manually setting up redirects for over a thousand articles isn’t an option.
]]>