ten1010
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: New custom rules in .htaccess not working??I was editing and old useless .htaccess file.
for secruity reasons Bitnami has moved the configuration of .htaccess file to the main application bitnami configuration files.
Some plugins, during their installation, create a .htaccess file in either the
/opt/bitnami/apps/APPNAME/htdocs/
or in the
/opt/bitnami/apps/APPNAME/htdocs//plugins
directory that cannot be read by Apache. For that reason, we recommend moving the
content of that file to the/opt/bitnami/apps/APPNAME/conf/htaccess.conf
file.https://docs.bitnami.com/aws/apps/wordpress/administration/use-htaccess/
Forum: Fixing WordPress
In reply to: New custom rules in .htaccess not working??
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domainname2.com [NC]
RewriteRule ^(.*)$ https://mywebsite.com/domainname2-for-sale/$1 [L,R=301]RewriteEngine On
RewriteRule ^/news1/$ /news2/ [R]# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
-domainname2.com DNS A Record is pointing to mywebsite.com IP address.
-permalinks are set to /%postname%/Forum: Fixing WordPress
In reply to: New custom rules in .htaccess not working??I put a RewriteEngine On and RewriteRule before the WordPress rewrites and still nothing. I stopped and started the bitnami stack and still nothing. Thanks.
Forum: Fixing WordPress
In reply to: New custom rules in .htaccess not working??I have tried clearing browser cache and I don’t have a cache plugin activated. Or do you mean to disable the cache in the server. Thanks.
Forum: Fixing WordPress
In reply to: Permalink Settings and URL passing variables to one page.I have tried using WordPress Permalink Settings to clean up the page URL, but I believe the Permalink Settings only for cleaning up the WordPress database generated URLs.