Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

htaccess

Site in subfolder – all pages work except home

August 5, 2022 by Magenaut

Our WordPress site is in a subfolder /subwp/, and all pages except the home page work. This is the root folder:

Categories Q&A, Wordpress Tags htaccess, mod-rewrite Leave a comment

blocking access to all post/tag URIs via htaccess

August 5, 2022 by Magenaut

I want to block all access to the post/tag/example-here pages on a WordPress site, but the following does not work. The .htaccess access file is being parsed. It is at the root of the site (ie the public_html) on a regular cPanel account. I’ve tried with and without the leading slash. I don’t understand why it wouldn’t be working.

Categories Q&A, Wordpress Tags htaccess, mod-rewrite Leave a comment

Need Help Correct Regular Expression Redirect Code

August 5, 2022 by Magenaut

I have custom permalinks with this code

Categories Q&A, Wordpress Tags htaccess, permalinks, plugin-wp-seo-yoast, redirect Leave a comment

Wildcard forward all posts and pages with few exceptions

August 4, 2022 by Magenaut

I want to move my domain from example.com to example.dev and also set a wildcard forward. I use WordPress for blogging, now I want all posts and pages to be moved to the new address but I want some pages to remain accessible with my previous address. For example:

Categories Q&A, Wordpress Tags htaccess, redirect, url-rewriting, urls Leave a comment

Deny access to a path (give 403 or 404 response)

August 4, 2022 by Magenaut

I know this should be easy. BBpress creates user profiles at /forums/users/.

Categories Q&A, Wordpress Tags 404-error, htaccess, redirect Leave a comment

Site searches by Python for non-existent assets

August 4, 2022 by Magenaut

I’ve recently started paying greater attention to my 404 errors in order to clean up what I can and improve my site’s SEO and ranking, and have noticed something that I don’t understand.

Categories Q&A, Wordpress Tags 404-error, htaccess, python Leave a comment

Clone WordPress for testing on localhost (with Fiddler)

August 4, 2022 by Magenaut

My local setup for WordPress is at http://127.0.0.3/blog.

Categories Q&A, Wordpress Tags clone-site, htaccess, localhost, testing, wp-config Leave a comment

Redirect http to https does not work on subdir where another instance of WordPress installed

August 4, 2022 by Magenaut

I have installed two instances of WordPress, on https://www.example.com/ and a subdirectory https://www.example.com/blogs/

Categories Q&A, Wordpress Tags htaccess, http, https Leave a comment

remove query arg from url after set query

August 4, 2022 by Magenaut

i make migration plugin from specific script to wordpress, but i have a problem on redirect old urls to new one

Categories Q&A, Wordpress Tags htaccess, query, rewrite-rules, url-rewriting, wp-query Leave a comment

How to forward all requests starting with a specific folder name to the same folder

August 5, 2022August 4, 2022 by Magenaut

In my WordPress website main directory, I created a folder servers, which contains two files .htaccess & index.php.

Categories Q&A, Wordpress Tags htaccess, redirect Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page6 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress