Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apache]

Apache is server software often used to host WordPress on. Questions about Apache itself are off topic.

1
vote
2answers
25 views

How to redirect specific URL to Subdomain

I am trying to write a .htaccess rule to redirect the URL to a subdomain. Example: example.com/pagecategory/page-single → pagecategory.example.com/page-single I've added wildcard subdomain on my ...
1
vote
1answer
19 views

VB.net and WordPress

I run a WordPress website that often has posts with some JavaScript, usually for various calculators. For example, I might use JavaScript to allow a visitor to convert inches to mm. That's a basic ...
0
votes
0answers
7 views

.htaccess rewrite conditions for https:// pre tag subdomains [migrated]

I need some extra codes into my .htaccess what configures this correct http request for https too! <ifmodule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^(.*)\.mydomain\.com ...
0
votes
1answer
16 views

Huge time to first byte on live site

I have problems with loading my site. Time to first byte varies from 0,5 to even 10s. I can't find what may cause that lag in back-end processing. My site : www.mm.bartoszwasz.pl Test with GMetrix ...
0
votes
0answers
10 views

Subdirectory from different server

I will give you an example; first website: www.example.com --> it is .NET and IIS. second website: mywebsite.site.com --> it is PHP and Apache (or nginx or iis, nevermind) I want to use "second ...
0
votes
0answers
16 views

Opening WordPress on wordpress.example.com, while the webpage is at example.com

Is it possible to set up WordPress so that you log on on a subdomain while the webpage edited is the main domain? And if yes, how? I know about home and site URL, but all the examples to those were in ...
0
votes
1answer
22 views

403 Error when using save buttons

I just installed Wordpress on my home server. Everything was working fine until a hit a save button in a plugin and got a 403 error saying I didn’t have access to ap-admin/options.php. Strangely ...
0
votes
1answer
11 views

How install wordpress in another wordpress folder?

I have a wordpress site(example.com) and I want to run another wordpress on the server. example.com's files are at /var/www/html/example.com directory on the server. I created a anotherSite Folder in /...
0
votes
0answers
39 views

URL Rewrite 404

I've got the following ReWrite rule: add_rewrite_rule("details\/([a-zA-Z0-9_]+)\/.*", "detail/?id=$matches[1]", "top"); Which seems to be adding in the following to my .htaccess, which now looks ...
0
votes
2answers
59 views

How do I test to ensure that my wp-config file is protected?

Since order allow,deny is deprecated in 2.4 I wanted to rewrite the rules in my .htaccess file to use the new rules. Previously I was using: <files wp-config.php> order allow,deny deny ...
0
votes
0answers
9 views

How does uploading work in Wordpress?

I have installed Wordpress on a Fedora box with php, php-mysqlnd, mariadb-server and httpd. Copying pictures from the clipboard to the post editor worked. Uploading pictures did not. I added writing ...
0
votes
1answer
105 views

Unable leverage Browser Caching on AWS Bitnami stack (Apache) through W3TC and Cloudfront CDN

I followed many tutorial about leveraging browser caching nevertheless I couldn't configure it succesfully, in fact GTmetric (PageSpeed and YSlow) notified me many static file that don't have a cache ...
1
vote
1answer
98 views

Is XAMPP faster than running LAMP in WSL on Windows 10? [closed]

I've been using Local by Flywheel for my local dev environment but recently it started acting weird so I decided, that since I'd finally learned a decent amount of CLI, maybe I should try just using ...
0
votes
0answers
20 views

MAMP localhost access issue

I had http://localhost:8888 set up as the siteurl and home for my local wordpress install. It was working fine. Suddenly now there is some inconsistencies that have come up. wp-admin works fine: http:...
0
votes
0answers
13 views

SSL messes up rewrite for homepage, all others work fine

I installed a Let's Encrypt cert, then did a database S&R (with serializing/unserializing support) for http://mydomain to https://mydomain . The certificate works and I get a valid HTTPS ...
1
vote
0answers
35 views

Server configuration for WordPress - Do I need install PHP-SSH extensions for Wordpress on Fedora28?

Migrated from Stackoverflow & Unix & Linux: Recently I tried to setup a Wordpress server on Fedora28 based droplet on Digital Ocean. A followed some tutorials and the result was the same: ...
1
vote
2answers
841 views

Wordpress redirecting to 127.0.0.1 when accessing the site from a remote device

I've installed a Wordpress site on my local Apache Ubuntu 18.04 server with a fixed IP 192.168.100.150. The website is working fine locally (localhost/wordpress), but when I try to open the site from ...
1
vote
1answer
62 views

how to combine wordpress htaccess on my root domain + php on subfolder

I apologise for a seemingly duplicate question, but none of the dozens I've looked at actually had the same problem. I have the following directory structure: /.htaccess /index.php /subfolder/....
0
votes
0answers
47 views

The requested URL was not found after new DB import

I had a WP site running smoothly on apache. I decided to replace the Db with an updated one (same version of WordPress), and now I get the error The requested URL ... cannot be found on all pages ...
0
votes
0answers
10 views

Folder/File Permissions set to apache:apache, user can not longer has RWX permission in SFTP

i am sure this has been talked about a lot and i have googled this extensively find only half solutions to my problem. I am currently running apache(2) on Ubuntu 18.xx, with a number of different ...
1
vote
1answer
155 views

301-redirect directives for blogger to wordpress migration

Hi I am trying to move my blog from Blogger to WordPress and I want to keep a simple and clean URL structure like http://www.example.com/post-name/ In blogger, I have the following URL structure: ...
0
votes
1answer
31 views

Why my multisite is this slow? (stats inside)

I'm building a network for my business and I faced interesting issues during testing the network. FYI, I'm using very light self-made theme on my network sites and only one plugin. For testing ...
0
votes
0answers
943 views

WAMP SERVER Command Prompt SET PATH=%PATH%

My WAMP SERVER will not connect to website in wamp server after I went to command prompt and typed in PATH=%PATH% is there any way to revert this??? I'm an idiot I admit it.
0
votes
1answer
358 views

Permalinks not working Apache + CentOS 7

I have a running CentOS 7 with Apache 2 mariadb stack with vhosts and Let's Encrypt. I've installed WordPress 4.9.6 on a virtual host using debian style (sites-available -> sites-enabled). My problem ...
1
vote
1answer
680 views

Rewrite /?rest_route=/ link to /wp-json/ without changing default permalink structure in apache

How to rewrite url of wordpress rest api from http://example.com/?rest_route=/wp/v2/ to http://example.com/wp-json/wp/v2/ without changing (default) permalink structure? Need this for apache (htaccess)...
0
votes
1answer
1k views

authentication issue with rest api - rest_cannot_create

I am using the rest api in Wordpress. For authentication I use the Basic authentication plugin (JSON Basic Authentication) I use this request (from both postman and nodejs): POST /wp-json/wp/v2/...
0
votes
1answer
47 views

WordPress refuses to read the .htaccess file and gives a 404 for sub-pages

I have a DigitalOcean server with Apache2 installed, which runs virtual hosts. I have set up the site in a sub-folder var/www/html/[site-name]. The URL being something like 192.168.1.8/[site-name]/. ...
0
votes
1answer
201 views

Move site root directory on debian

I installed WordPress on Debian using this article from the Debian Wiki. My wp.conf looks like Alias /wp/wp-content /var/lib/wordpress/wp-content Alias /wp /usr/share/wordpress <Directory /usr/...
0
votes
1answer
32 views

post permalinks with dot in url don't resolve to correct page template

I have custom post type posts with the . character in the post_name field (thus the permalink) and it does not resolve to the correct page template. In this case instead of going to single-cptslug.php ...
0
votes
0answers
13 views

Where I should point my Database host?

I have Apache24 server with PHP, MYsql, and PHPmyadmin. This server inside my local network, any device from inside can access it without any problem from inside. My problem is the website not ...
2
votes
1answer
488 views

REST API URL parameters not working with apache server

The title pretty much says it all, if I try eg. /wp-json/wp/v2/posts?id=1, I get all the posts as response. URL parameters are not working as they should. According to the REST API Handbook, the ...
0
votes
1answer
19 views

WordPress on VirtualBox - no pretty permalinks

Right, this has me stumped. I cannot get the pretty permalinks to work. They go to 404. The permalinks are updating, I can see the URL change to each setting as I save them by going to a post, but ...
0
votes
0answers
13 views

Changing AllowOverride to All in the default-server.conf provoke 403

I was having a problem with the Wordpress custom permalinks and I read all I had to do to solve it was to edit, in the default-server.conf, the AllowOverride directive from /srv/www/htdocs (where mi ...
0
votes
1answer
57 views

Access sub-domain when root public_html is protected with .htaccess password

I have a problem with access to my webstore. So I have a domain example.com and I have a script installed on the public_html folder and it is protected with password since I am accessing the script ...
0
votes
3answers
468 views

Wordpress page not accessible through WAN [closed]

I've set up a webserver (Apache2) on my Raspberry Pi 3. The latest versions of PHP, MariaDB and Wordpress are running on it. I can access the site on my LAN on different devices, however, I do not ...
1
vote
1answer
733 views

How to run multiple Async HTTP requests in Wordpress?

In my plugin, I want to call 10 or more HTTP requests asynchronously in WordPress so that I need not wait for the response of anyone. Is there any way in Wordpress that supports this and also ...
0
votes
1answer
45 views

Broken 302 redirection for product subcategory (Woocommerce, Apache)

I have problem with 302 redirections for subcategory pages. The site combine new URL with old. For example old url was: domain.pl/product-category/she/leggins/ and I want to redirec it to domain.pl/...
0
votes
0answers
1k views

NGINX reverse proxy configuration for WordPress running on apache http

I have tried with the above configuration in my environment with plain http connection for apache/wordpress, it is not working for me. My configuration details are as below. nginx: proxy_pass http://...
1
vote
2answers
60 views

login wp impossible

well i can access the sites: www.foo.com and www.bar.com but i cannot access the login - the sites are blank. foo.com/wp-login.php bar.com/wp-login.php i have the following logs. [Mon Jan 01 16:...
1
vote
0answers
650 views

How to disable server signature on wordpress? [closed]

i am trying to turn off server signature on wordpress. in htaccess file add following line: ServerSignature Off But when i check http://security.firewallmonitor.org it says it is not turned off. I ...
1
vote
0answers
160 views

Posting and image insertion problems after EasyApache4 and PHP 7 upgrade

I have around 40 Wordpress sites on a Centos 6.9 Apache2.4 dedicated server and I recently upgraded it to EasyApache 4 and then in WHM multiphp_manager/config I changed all the sites to PHP7. I ran ...
0
votes
1answer
356 views

Having an HTTP error 500 after migrating a website

Guys I'm having an HTTP error 500 after trying to migrate another site to an Ubuntu 16.04LTs virtual server. My other websites are working in these server but this one gives and error when I'm trying ...
0
votes
0answers
35 views

404 Errors on Every Page (Including Homepage) After Migrating From IIS to Apache

I recently migrated a client site from an IIS environment to a LAMP stack. The back end of the site works fine. I can log in and make any changes I like. The front end, however only displays 404 ...
-1
votes
1answer
846 views

session_start(): Cannot find save handler 'mm' - session startup failed in /sites

got issues with the following PHP Warning: session_start(): Cannot find save handler 'mm' - session startup failed in /sites Cannot find save handler 'mm': save handler: see : well i do not know ...
0
votes
0answers
123 views

Front-end pages messed up due to HTTPS

I have a WP blog at https://example.com/blog. I'm able to access the wp-admin pages but the front-end pages are messed up (https://example.com/blog/page/2/). I have /blog set as an alias in my Apache ...
0
votes
0answers
75 views

iframe SSL redirect issue with separate daemon

I have a strange problem I am trying to solve. I'm using an iframe plugin to pull in stuff from a separate web daemon (but same server). It works perfectly fine without TLS/SSL, but SSL always forces ...
0
votes
1answer
63 views

How to move wordpress website from hosting account to localhost

I'm getting 404 error while accessing relative paths on Wordpress website copied from hosting and deployed locally as Apache vhost. Local website is basically git clone of the existing remote ...
0
votes
1answer
41 views

How does WP work in conjunction with a web server?

I have background in programming (I am an electrical engineer and have become familiar with numerous languages over the years); however, I only starting working with wordpress and backend web ...
2
votes
1answer
80 views

.htaccess 301 vs. 302 Enforcing HTTPS

For WordPress, I have seen two different techniques to edit the .htaccess file for routing to HTTPS. What are the pros and cons of these: Option #1 RewriteEngine On RewriteCond %{SERVER_PORT} 80 ...
0
votes
1answer
29 views

Custom Permlinks work, regular page permalinks don't

I have some custom permalinks for my custom post types, that look like so: /products/category/subcategory/product-name I wrote a generate_rewrite_rules function for the permalinks related to that ...