How to configure sub-domain for images on Debian Apache VPS?
How to configure sub-domain for images on Debian Apache VPS?
How to configure sub-domain for images on Debian Apache VPS?
@w0051977 after re-reading this issue, I started thinking of something that could be the actual issue; your “domain name”. Please note: I always work on Windows, so I could be wrong in some or all areas. I’m trying to use my best guess work here. During my test environments (local), I always have a top-level … Read more
The old domain is: www.example.com/newspage.asp?m=4&y=2015 and I need that URL, as well as that URL with different query paramaters to go to: example.com/news. So, you are also changing the host with this redirect (www subdomain to bare domain)? Otherwise, it just looks like you can ignore the query string. This is relatively trivial to do … Read more
Posting and image insertion problems after EasyApache4 and PHP 7 upgrade
How to disable server signature on wordpress? [closed]
RewriteRule ^\d{4}/\d{2}/(.*).html+.* http://www.example.com/$1/ [R=301,L] This does look as if it should “work”, although there are a few things that can be tidied, and the query string (ie. m=1 or m=0) will remain on the URL. Also, make sure you have cleared your browser cache before testing as 301s are cached hard by the browser. It … Read more
You shouldn’t have to do anything particularly special to get this to work. The mod_rewrite directives in the /subfolder/.htaccess file will naturally override the directives in the parent .htaccess file (in the root). However, the “problem” would seem to be the following line (in both files): RewriteRule . /index.php [L] You are rewriting to /index.php … Read more
Server configuration for WordPress – Do I need install PHP-SSH extensions for WordPress on Fedora28?
To redirect example.com/pagecategory/page-single to pagecategory.example.com/page-single, where pagecategory is entirely variable then you can do something like the following at the top of your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com [NC] RewriteRule ^([a-z]+)/([\w-]+) https://$1.%{HTTP_HOST}/$2 [R,L] I’ve limited the “subdomain” (ie. pagecategory) to just the lowercase characters a-z – this is saved in the $1 backreference. … Read more
Apache Site Aliases & WordPress Multisite