.htaccess files being ignored by Apache2 on Lubuntu 18.04.htaccess file ignored on Ubuntu serverApache2 .htaccessmy localhost/phpmyadmin is being directed to my site with .htaccessApache2 rewrite without htaccessis this malcious traffic?Enable use of .htaccess in apache2Unable to access remotely (LAMP issue)Apache2 doesn't read .htaccess on Ubuntu 16.04Apache2's role in Ubuntu 18.04 original
How to help a male-presenting person shop for women's clothes?
How to type the Euro Symbol € on US English keyboard in Windows 10 without a numpad or "alt gr" key?
Apps are not allowed by Google to read SMS messages, but why can they read OTP SMS directly?
Messed up my .bash_profile remotely, can't ssh back in
I peer reviewed a paper and found it to be sound - technically and language-wise. How should I write the review report?
Regularly applying oil to a guitar's fingerboard: how necessary is it?
What does a little square under the wifi symbol mean?
What was Jeremy Corbyn’s involvement in the Northern Ireland peace process?
Why do investors pay trillions for minority stakes in companies, when their only potential payback is modest uncertain dividends?
Sorting sequences independent of color
Is it a bad design for a programming language to allow spaces in identifiers?
How to create electric light with 1300s technology
Adding "dot com" to the end of a sentence?
Old short about robots searching for the "Great Enemy" that wiped out mankind
DS 160 Have you traveled to any countries/regions within the last five years?
Why didn't Philippine Airlines Flight 113 dump fuel prior to forced landing?
Logic inside a 3 or 4 way light switch?
What's the best way of typing the following 58 equations into LaTeX?
How can I justify this without determining the determinant?
Best fighting style for a pacifist
Are monosubstituted cyclopropanes achiral or chiral?
Can humans of House Tharashk develop the Mark of Finding?
What is 上がり refering to in this sentence?
Combinations of different letters in specific positions
.htaccess files being ignored by Apache2 on Lubuntu 18.04
.htaccess file ignored on Ubuntu serverApache2 .htaccessmy localhost/phpmyadmin is being directed to my site with .htaccessApache2 rewrite without htaccessis this malcious traffic?Enable use of .htaccess in apache2Unable to access remotely (LAMP issue)Apache2 doesn't read .htaccess on Ubuntu 16.04Apache2's role in Ubuntu 18.04 original
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
My wordpress install is ignoring my .htaccess file. I am running Lubuntu 18.04 locally with Apache2. The root directory for localhost is at /var/www/html and my wordpress project is in that folder under /wptest2
Diagnosing the problem
- The pretty urls on my local install are all broken. Ugly urls work fine though.
- I put a breaking change towards the top of the .htaccess file and it didn't cause a 500 internal server error, it just caused a
not foundor loaded the page depending on if I enabled pretty or ugly urls.
Things I have tried
Enabling mod rewrite
$ sudo a2enmod rewrite
$ systemctl restart apache2
$

rewrite module appears enabled. Problem is not fixed however.
Allowing overrides to the virtual hosts file
owner@G700:/var/www/html$ apache2ctl -S
VirtualHost configuration:
*:80 localhost (/etc/apache2/sites-enabled/000-default.conf:1)
<continues ...>
$ sudo nano /etc/apache2/sites-available/000-default.conf

$ systemctl restart apache2
$
Pretty urls are still broken and the intentional breaking line in .htaccess seems to be ignored.
What else could be the issue? These are the contents of my .htaccess file at: /var/www/html/wptest2
this line should cause a 500 internal server error
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . /index.php [L]
# END WordPress
Update
Inside folder /var/log/apache2, error.log doesn't show anything related. I see this in access.log:
::1 - - [20/Sep/2019:00:45:58 +0700] "GET /icons/text.gif HTTP/1.1" 200 512 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gec$
::1 - - [20/Sep/2019:00:45:58 +0700] "GET /icons/unknown.gif HTTP/1.1" 200 528 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like $
::1 - - [20/Sep/2019:00:46:05 +0700] "GET /info.php HTTP/1.1" 200 26906 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809$
::1 - - [20/Sep/2019:01:04:48 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 488 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:50 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:51 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:52 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:54 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
That is the url I was testing on. In the browser it is broken, showing this:
Not Found
The requested URL was not found on this server.
I have tested a request using curl and it still shows not found:
owner@G700:/var/www/html$ curl -I http://localhost/wptest2/category/uncategorized
HTTP/1.1 404 Not Found
Date: Thu, 19 Sep 2019 19:52:33 GMT
Server: Apache/2.4.29 (Ubuntu)
Content-Type: text/html; charset=iso-8859-1
server apache2 webserver virtualhost mod-rewrite
add a comment
|
My wordpress install is ignoring my .htaccess file. I am running Lubuntu 18.04 locally with Apache2. The root directory for localhost is at /var/www/html and my wordpress project is in that folder under /wptest2
Diagnosing the problem
- The pretty urls on my local install are all broken. Ugly urls work fine though.
- I put a breaking change towards the top of the .htaccess file and it didn't cause a 500 internal server error, it just caused a
not foundor loaded the page depending on if I enabled pretty or ugly urls.
Things I have tried
Enabling mod rewrite
$ sudo a2enmod rewrite
$ systemctl restart apache2
$

rewrite module appears enabled. Problem is not fixed however.
Allowing overrides to the virtual hosts file
owner@G700:/var/www/html$ apache2ctl -S
VirtualHost configuration:
*:80 localhost (/etc/apache2/sites-enabled/000-default.conf:1)
<continues ...>
$ sudo nano /etc/apache2/sites-available/000-default.conf

$ systemctl restart apache2
$
Pretty urls are still broken and the intentional breaking line in .htaccess seems to be ignored.
What else could be the issue? These are the contents of my .htaccess file at: /var/www/html/wptest2
this line should cause a 500 internal server error
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . /index.php [L]
# END WordPress
Update
Inside folder /var/log/apache2, error.log doesn't show anything related. I see this in access.log:
::1 - - [20/Sep/2019:00:45:58 +0700] "GET /icons/text.gif HTTP/1.1" 200 512 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gec$
::1 - - [20/Sep/2019:00:45:58 +0700] "GET /icons/unknown.gif HTTP/1.1" 200 528 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like $
::1 - - [20/Sep/2019:00:46:05 +0700] "GET /info.php HTTP/1.1" 200 26906 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809$
::1 - - [20/Sep/2019:01:04:48 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 488 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:50 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:51 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:52 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:54 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
That is the url I was testing on. In the browser it is broken, showing this:
Not Found
The requested URL was not found on this server.
I have tested a request using curl and it still shows not found:
owner@G700:/var/www/html$ curl -I http://localhost/wptest2/category/uncategorized
HTTP/1.1 404 Not Found
Date: Thu, 19 Sep 2019 19:52:33 GMT
Server: Apache/2.4.29 (Ubuntu)
Content-Type: text/html; charset=iso-8859-1
server apache2 webserver virtualhost mod-rewrite
1
Browsers tend to cache things. Have you tried doingcurl -I http://website/wptest2/category/uncategorizedto see if it does actually error out? Because Browsers are notorious for not working properly with testing things
– Thomas Ward♦
Sep 19 at 19:13
I have just tried it but it also shows404 not found
– Sean Dezoysa
Sep 19 at 19:54
is there any other.htaccessin the root/var/www/html? If so try to move/rename it
– cmak.fr
Sep 20 at 5:23
Ok, I have renamed the one in that folder toold .htaccess. the curl command still shows 404 not found though
– Sean Dezoysa
Sep 20 at 8:23
add a comment
|
My wordpress install is ignoring my .htaccess file. I am running Lubuntu 18.04 locally with Apache2. The root directory for localhost is at /var/www/html and my wordpress project is in that folder under /wptest2
Diagnosing the problem
- The pretty urls on my local install are all broken. Ugly urls work fine though.
- I put a breaking change towards the top of the .htaccess file and it didn't cause a 500 internal server error, it just caused a
not foundor loaded the page depending on if I enabled pretty or ugly urls.
Things I have tried
Enabling mod rewrite
$ sudo a2enmod rewrite
$ systemctl restart apache2
$

rewrite module appears enabled. Problem is not fixed however.
Allowing overrides to the virtual hosts file
owner@G700:/var/www/html$ apache2ctl -S
VirtualHost configuration:
*:80 localhost (/etc/apache2/sites-enabled/000-default.conf:1)
<continues ...>
$ sudo nano /etc/apache2/sites-available/000-default.conf

$ systemctl restart apache2
$
Pretty urls are still broken and the intentional breaking line in .htaccess seems to be ignored.
What else could be the issue? These are the contents of my .htaccess file at: /var/www/html/wptest2
this line should cause a 500 internal server error
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . /index.php [L]
# END WordPress
Update
Inside folder /var/log/apache2, error.log doesn't show anything related. I see this in access.log:
::1 - - [20/Sep/2019:00:45:58 +0700] "GET /icons/text.gif HTTP/1.1" 200 512 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gec$
::1 - - [20/Sep/2019:00:45:58 +0700] "GET /icons/unknown.gif HTTP/1.1" 200 528 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like $
::1 - - [20/Sep/2019:00:46:05 +0700] "GET /info.php HTTP/1.1" 200 26906 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809$
::1 - - [20/Sep/2019:01:04:48 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 488 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:50 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:51 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:52 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:54 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
That is the url I was testing on. In the browser it is broken, showing this:
Not Found
The requested URL was not found on this server.
I have tested a request using curl and it still shows not found:
owner@G700:/var/www/html$ curl -I http://localhost/wptest2/category/uncategorized
HTTP/1.1 404 Not Found
Date: Thu, 19 Sep 2019 19:52:33 GMT
Server: Apache/2.4.29 (Ubuntu)
Content-Type: text/html; charset=iso-8859-1
server apache2 webserver virtualhost mod-rewrite
My wordpress install is ignoring my .htaccess file. I am running Lubuntu 18.04 locally with Apache2. The root directory for localhost is at /var/www/html and my wordpress project is in that folder under /wptest2
Diagnosing the problem
- The pretty urls on my local install are all broken. Ugly urls work fine though.
- I put a breaking change towards the top of the .htaccess file and it didn't cause a 500 internal server error, it just caused a
not foundor loaded the page depending on if I enabled pretty or ugly urls.
Things I have tried
Enabling mod rewrite
$ sudo a2enmod rewrite
$ systemctl restart apache2
$

rewrite module appears enabled. Problem is not fixed however.
Allowing overrides to the virtual hosts file
owner@G700:/var/www/html$ apache2ctl -S
VirtualHost configuration:
*:80 localhost (/etc/apache2/sites-enabled/000-default.conf:1)
<continues ...>
$ sudo nano /etc/apache2/sites-available/000-default.conf

$ systemctl restart apache2
$
Pretty urls are still broken and the intentional breaking line in .htaccess seems to be ignored.
What else could be the issue? These are the contents of my .htaccess file at: /var/www/html/wptest2
this line should cause a 500 internal server error
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . /index.php [L]
# END WordPress
Update
Inside folder /var/log/apache2, error.log doesn't show anything related. I see this in access.log:
::1 - - [20/Sep/2019:00:45:58 +0700] "GET /icons/text.gif HTTP/1.1" 200 512 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gec$
::1 - - [20/Sep/2019:00:45:58 +0700] "GET /icons/unknown.gif HTTP/1.1" 200 528 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like $
::1 - - [20/Sep/2019:00:46:05 +0700] "GET /info.php HTTP/1.1" 200 26906 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809$
::1 - - [20/Sep/2019:01:04:48 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 488 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:50 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:51 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:52 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
::1 - - [20/Sep/2019:01:04:54 +0700] "GET /wptest2/category/uncategorized/ HTTP/1.1" 404 487 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge$
That is the url I was testing on. In the browser it is broken, showing this:
Not Found
The requested URL was not found on this server.
I have tested a request using curl and it still shows not found:
owner@G700:/var/www/html$ curl -I http://localhost/wptest2/category/uncategorized
HTTP/1.1 404 Not Found
Date: Thu, 19 Sep 2019 19:52:33 GMT
Server: Apache/2.4.29 (Ubuntu)
Content-Type: text/html; charset=iso-8859-1
server apache2 webserver virtualhost mod-rewrite
server apache2 webserver virtualhost mod-rewrite
edited Sep 19 at 19:53
Sean Dezoysa
asked Sep 19 at 18:09
Sean DezoysaSean Dezoysa
1556 bronze badges
1556 bronze badges
1
Browsers tend to cache things. Have you tried doingcurl -I http://website/wptest2/category/uncategorizedto see if it does actually error out? Because Browsers are notorious for not working properly with testing things
– Thomas Ward♦
Sep 19 at 19:13
I have just tried it but it also shows404 not found
– Sean Dezoysa
Sep 19 at 19:54
is there any other.htaccessin the root/var/www/html? If so try to move/rename it
– cmak.fr
Sep 20 at 5:23
Ok, I have renamed the one in that folder toold .htaccess. the curl command still shows 404 not found though
– Sean Dezoysa
Sep 20 at 8:23
add a comment
|
1
Browsers tend to cache things. Have you tried doingcurl -I http://website/wptest2/category/uncategorizedto see if it does actually error out? Because Browsers are notorious for not working properly with testing things
– Thomas Ward♦
Sep 19 at 19:13
I have just tried it but it also shows404 not found
– Sean Dezoysa
Sep 19 at 19:54
is there any other.htaccessin the root/var/www/html? If so try to move/rename it
– cmak.fr
Sep 20 at 5:23
Ok, I have renamed the one in that folder toold .htaccess. the curl command still shows 404 not found though
– Sean Dezoysa
Sep 20 at 8:23
1
1
Browsers tend to cache things. Have you tried doing
curl -I http://website/wptest2/category/uncategorized to see if it does actually error out? Because Browsers are notorious for not working properly with testing things– Thomas Ward♦
Sep 19 at 19:13
Browsers tend to cache things. Have you tried doing
curl -I http://website/wptest2/category/uncategorized to see if it does actually error out? Because Browsers are notorious for not working properly with testing things– Thomas Ward♦
Sep 19 at 19:13
I have just tried it but it also shows
404 not found– Sean Dezoysa
Sep 19 at 19:54
I have just tried it but it also shows
404 not found– Sean Dezoysa
Sep 19 at 19:54
is there any other
.htaccess in the root /var/www/html? If so try to move/rename it– cmak.fr
Sep 20 at 5:23
is there any other
.htaccess in the root /var/www/html? If so try to move/rename it– cmak.fr
Sep 20 at 5:23
Ok, I have renamed the one in that folder to
old .htaccess. the curl command still shows 404 not found though– Sean Dezoysa
Sep 20 at 8:23
Ok, I have renamed the one in that folder to
old .htaccess. the curl command still shows 404 not found though– Sean Dezoysa
Sep 20 at 8:23
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175320%2fhtaccess-files-being-ignored-by-apache2-on-lubuntu-18-04%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175320%2fhtaccess-files-being-ignored-by-apache2-on-lubuntu-18-04%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Browsers tend to cache things. Have you tried doing
curl -I http://website/wptest2/category/uncategorizedto see if it does actually error out? Because Browsers are notorious for not working properly with testing things– Thomas Ward♦
Sep 19 at 19:13
I have just tried it but it also shows
404 not found– Sean Dezoysa
Sep 19 at 19:54
is there any other
.htaccessin the root/var/www/html? If so try to move/rename it– cmak.fr
Sep 20 at 5:23
Ok, I have renamed the one in that folder to
old .htaccess. the curl command still shows 404 not found though– Sean Dezoysa
Sep 20 at 8:23